Hi everybody,
Inspired by Khromows howto (https://khromov.wordpress.com/2011/11/10/collect-visitor-stats-using-any-image-with-the-piwik-tracking-api/) I tried to follow the instructions but ended up with always getting my own servers IP.
Here's the steps I made:
I took a fresh installation of the newest piwik.
I created a new site. (ID 2)
I created a new user.
I gave him admin rights for the new site (ID 2).
I noted the new users token.
I downloaded the three files stats_t.php / stats.png and PiwikTracker.php (I pulled this one out of my installation, example.com/analytics/etcetcetc.)
I entered the site ID and the token and the link to my piwik installation into my stats_t.php
I copied those files into the folder on my website /images.
I modified the .htaccess file as mentioned on your site.
But all I get is my servers IP. :-(
I’ve read through the comments here and tinkered around for almost two days.
I’m adding a justpaste-link to the files I've been using.
http://justpaste.it/dpcd
Any help would be appreciated! I've come across other peoples' posts who were facing the same problems but haven't found a solution yet.
I don’t know what I’m doing wrong, but I know that I’m moving in circles. ;-)
Thank you for your help and best wishes
Tom
Inspired by Khromows howto (https://khromov.wordpress.com/2011/11/10/collect-visitor-stats-using-any-image-with-the-piwik-tracking-api/) I tried to follow the instructions but ended up with always getting my own servers IP.
Here's the steps I made:
I took a fresh installation of the newest piwik.
I created a new site. (ID 2)
I created a new user.
I gave him admin rights for the new site (ID 2).
I noted the new users token.
I downloaded the three files stats_t.php / stats.png and PiwikTracker.php (I pulled this one out of my installation, example.com/analytics/etcetcetc.)
I entered the site ID and the token and the link to my piwik installation into my stats_t.php
I copied those files into the folder on my website /images.
I modified the .htaccess file as mentioned on your site.
But all I get is my servers IP. :-(
I’ve read through the comments here and tinkered around for almost two days.
I’m adding a justpaste-link to the files I've been using.
http://justpaste.it/dpcd
Any help would be appreciated! I've come across other peoples' posts who were facing the same problems but haven't found a solution yet.
I don’t know what I’m doing wrong, but I know that I’m moving in circles. ;-)
Thank you for your help and best wishes
Tom