Piwik tracking code not tracking my website analytics, Help!

The Piwik tracking code is no longer tracking traffic on my website. I have an up to date SSL and when I added that SSL to my website, Piwik is no longer tracking my website’s traffic. I put the tag as described before the .

Piwik tracking was working fine before this. I even created a new tracking code and it still does not work!

Please help! I don’t like google analytics and I don’t like being in the dark when it comes to seeing who visits my website and from where they come from.

Chris

Hello there, did you already read the Troubleshooting page? :slightly_smiling_face:

Yes I did read the troubleshooting and my Piwik server is correctly configured to be accessed over SSL and HTTPS. However, how do I find the settings on my Piwik to configure that? Should the Piwik on my domain also need to have an SSL as well?

Only one of my websites is HTTPS, while the others are not and that one is not tracking data. I did an SSL test and there are no chain issues.

Chris

Hi,

Can you check the developer tools of your browser when you load your website?

There should be a request to piwik.js and one to piwik.php. Are those requests failing? Are there any errors in the js console? Can you [check] if SSL is also working for your visitors?
How does the var u = "//piwik.example.com/"; line in your tracking code look like? Are you using https:// there?

The website is a wordpress site. The SSL is working fine for visitors to the site.

The tracking code Piwik gave me for the site is the following:

var _paq = _paq || []; _paq.push(["trackPageView"]); _paq.push(["enableLinkTracking"]); (function() { var u=(("https:" == document.location.protocol) ? "https" : "http") + "://www.ultrasoundtechnician.org/piwik/"; _paq.push(["setTrackerUrl", u+"piwik.php"]); _paq.push(["setSiteId", "480"]); 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 -- I have several websites I use Piwik analytics. The script is on that site, which has all the websites with Piwik tracking analytics. How would I make this script able to track on those if the site has SSL?