Async tracking code with Overly report

Recently i have upgrade piwik 1.9 to 1.10.1 and my Overlay report doesn’t working.

I am getting error I get the error


“The Page Overlay session couldn’t be launched yet”

I have checked on website for troubleshooting, and i tried everything. my piwik running on SSL and domains websites also running on SSL.

Currenly i am using following async tracking code. where and what code do i put to support Overlay report?


<!-- Piwik --> <script type="text/javascript">
var _paq = _paq || [];
(function(){ var u=(("https:" == document.location.protocol) ? "https://piwik.example.com/" : "http://piwik.example.com/");
_paq.push(['setSiteId', 4]);
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setDocumentTitle', (document.domain + "/" + document.title)]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.defer=true; g.async=true; g.src=u+'piwik.js';
s.parentNode.insertBefore(g,s); })();
</script>
<!-- End Piwik Code -->

have you checked your website URL matched in the websites settings?