Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

Re: Getting visitors for a specific URL

$
0
0
Can you tell me how to do this? I have been trying for a few hours to get a page counter and I don't know how to fix it.
I have tried:

$url = 'index.php?video=1234';
$resulting = file_get_contents("http://www.website.com/piwik/?module=API&method=Actions.getPageUrl&pageUrl=$url&idSite=1&period=range&date=2013-04-05,today&format=php&token_auth=$token_auth");
But that doesn't work... :(

Viewing all articles
Browse latest Browse all 13117

Trending Articles