Get referrer listing with page segment

I’m trying to get a list of all the referring URLs for a website page but I seem to be having a problem with it…

I’m using the following code but no luck:


		$request = new Piwik_API_Request('
					method=Referers.getWebsites
					&segment=entryPageUrl==' . $pageUrl . '
					&idSite=1
					&date=today
					&period=day
					&format=php
					&token_auth=easdf
		');

Any ideas?

you must URL encode the page URL


&segment=entryPageUrl==' . urlencode($pageUrl) . '

hi matt… i tried that one as well but no luck. i read the piwik documentation but still a bit stumped… any other ideas?

Hi, Seems I am having a similar issue but trying to use pageTitle instead of entryPageUrl:

http://forum.piwik.org/read.php?6,94331

Did you get the chance to troubleshoot this?