How do I customize the Piwik PRO Campaign parameters pk_campaign and pk_kwd?

By default, Piwik PRO recognizes its own pk_* parameters as well as Google utm_* parameters. However, it is possible to any additional query parameter to serve as the campaign referrer.

Just add following lines to your tracking code, right above the trackPageView() call:

_paq.push(['setCampaignNameKey', '']);
_paq.push(['setCampaignKeywordKey', '']);

Was this article helpful?

Be the first to rate this article.

Technical Support

If you have any questions, drop us a line at

We’re happy to help!