I’m the piwik.js library on my site and I’m trying to call setCampaignNameKey("myCampaign") on my tracker object. How is that campaign supposed to sent back to the server, because when I call trackEvent(...) on the tracker object, I don’t see that campaign name key being sent back in the params of that request.
I must be doing something wrong, but I’m not sure what. Any help understanding this would be very helpful.
As far as I know (I have never used this feature) you can rename the pk_campaign parameter, but you still have to add it to the URL as explained in the Campaign tracking: