Hello, I have a question about the piwik tracking code that is given to me. It appears that I can only track my main computer and not anyone else. Here is my code below. My intranet site is called Harold.local
Hello, I have a question about the piwik tracking code that is given to me. It appears that I can only track my main computer and not anyone else. Here is my code below. My intranet site is called Harold.local
The problem is localhost. On your machine there is a web server running on port 8080, correct? When this page is loaded on your machine it finds /piwik/piwik.php. When the page is loaded on a different machine there is no web site running so piwik.php does not exist.
You could try using the ip address of your machine rather than localhost. What do other users use to get to the web site?
Why do you need to setDomains in the code? I use a different SiteId for local development, qa, production, etc as needed. Keep your stats separated. Use Piwik admin to list your domain URLs that should be tracked (if you even care)…