I installed Piwik on my QNAP NAS.
Next, adding the tracking code in the head-section of my WordPress website (without plugin!) https://ticketassist.be
This is the code:
If i not at home then i can access my NAS via the myqnapcloud.com platform. This works very good.
For access Piwik over the internet then i can type: http://81.165.214.204/Piwik/
But Piwik doens’t tracking the website.
Is there a solution for this?
(PS: i try test the url: http://81.165.214.204/Piwik/piwik.php?idsite=1
And this works, but it doesnt tracking the website!)
In the tracking code it sets _paq as an array that holds your data as well as methods that are run asynchronously. You can see in the tracking code that it sets the siteID to 1:
_paq.push([‘SetSiteId’, ‘1’]);
Using the examples at the client and guide you can do things like:
This is useful if your web site uses routing code (ie. #tags). In this case the routing “page” will always be tracked by Piwik instead of the actual “page”.
The website that i want tracking is SSL enabled (https), but Piwik is installed on my Qnap NAS without SSL and the https website blocked the not-secure connection with the my NAS.
I installed now on the secure hosting itself and ther it works perfect!