Is there a way to track affiliate income links?

Hello All,

We are developing an affiliate program for one of our client, and we are planning to use Piwik in order to track trafic stats, but we need to track trafic on different sites, with a special parameter, which is the partner id.
In fact, all sites’ links for partners are like this one :$partnerId, and our client need to have in his stats :

  • overall trafic,
  • trafic by search engines
  • trafic by partners

Do you know if it is possible to do such thing?

Thanks in advance.

Yes you can, using Campaign tracking. You will get, in the Referers section, the number of visits/pages/etc. brought by Each campaign (which in your cases, are partners). See for a quick help (still waiting for proper documentation for this one)

Thanks Matthieu for your answer, I’ll try this.

Matthieu, as every pages on sites are rewrited, even with the partnerId, i.e:, do you think that piwik will track these pages as campaigns?

Maybe, I can make the piwik tracking code dynamic, regarding partnerId ?

That is very helpful, I was struggling with affiliate links.

Tracking Campaigns (newsletter, paid ads, display ads, affiliates, etc.) is now available!