Views not being tracked on deployed site

Hi there,

I’ve had this issue for a while, and would appreciate your help.

I am having issues with pages not being tracked on my deployed site. I have created a test page that only contains the tracking code. When running the page on my local pc and opening it, it tracks perfectly. However, when I open the same page on the deployed site, it seems to not be tracking it.

I am using the external url for Piwik, and I’ve also added the ‘*’ CORS to allow access from any domain. I’ve enabled file logging (debug mode), and nothing is created in the logs when the side is not tracked.

I’m using Piwik 2.17 on an Ubuntu machine running Nginx server.

Any further recommendations will be much appreciated.