jonathan_973
Forum Replies Created
-
Thanks
So the configuration on the first page is only for the widget to show graphs and not for tracking?
I get it now. But this is a problem. Will you implement piwik’s api, so that the tracking happens without the client seeing it?
My mistake, I showed you the wrong configuration
If I put the correct url in “Piwik URL (REST API):” it will not track.
If I put the correct dir in “Piwik path (PHP API, beta):” it will not track.It will track only if I insert the “piwik tracking code” in the third tab. And I don’t want tracking code on the web page (I don’t want the user to see the tracking code, because a bot may choose not to execute it).
I want the tracking to be done somehow by a php code on my site calling php function on the piwik site. Is this possible?
I’m not getting any warnings, in the config page, I have Piwik is installed at: –>Valid Piwik Hostname: my.correct.url. So I don’t think this is the problem.
Test script returns this:
*** Test 1/2: SitesManager.getSitesWithAtLeastViewAccess *** Using: cURL SSL peer verification: enabled User Agent: Call: /home/user/piwik_location/?module=API&method=SitesManager.getSitesWithAtLeastViewAccess&format=XML&token_auth= + TOKEN Result: Time: 0s *** Test 2/2: SitesManager.getSitesIdFromSiteUrl *** Using: cURL SSL peer verification: enabled User Agent: Call: /home/user/piwik_location/?module=API&method=SitesManager.getSitesIdFromSiteUrl&url=http%3A%2F%2Fsite.com&format=XML&token_auth= + TOKEN Result: Time: 0sQuestion also asked on stackoverflow: link