Go Back

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

May 24, 2018

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', '']);