API: How to get the list of users which have clicked on a given outlink?


I have a Custom Variable named “UserId” (scope: session), and some of my pages have outlinks (“link” parameter of the tracking API, and “Outlinks” in the Transitions view from of a given page). So the Transition view enables me to see how many clicks on each outlink have been made from each page. But how could I know which user accounts it corresponds to? (using my UserId custom variable)

I have found this thread[/url] and [url=http://forum.piwik.org/read.php?2,88215,88301]this thread, but my problem is a bit different.

Until now, to know which users have seen which page, I used the API method “CustomVariables.getCustomVariablesValuesFromNameId”, with a “pageUrl” segment, but it seems to work only for pages which are “inside” the tracked website, not for outlinks.

I have also played a bit with the “exitPageUrl” segment without much success.

Thanks in advance

I would set up a page-scope variable with the user name when he is redirected (assuming your outlinks pass through a redirect script).