Custom UTM parameter with WordPress plugin

We want to manually create a custom UTM: utm_creative

Reviewing the documentation, it states we can target the trackPageView() call in the tracking code. Is this possible when using the WordPress plugin?

Hi @jasonatetr!

Once you define the custom parameter (utm_creative) in the administration settings it should be picked up from the URL automatically - there’s no need to call setCampaignNameKey and setCampaignKeywordKey as these are for the older version of our product.

Thank you @anthonybartczak!

I had suggested the “manual setup” from the documentation because I was trying to avoid mapping the new UTM to any existing fields. We will be using almost all of them (utm_content, utm_medium, etc) as part of the campaign as well. If I were to use the Campaign ID field, for example, wouldn’t the new utm_creative parameter be mapped to Campaign ID in the Piwik Reports?

If I were to use the Campaign ID field, for example, wouldn’t the new utm_creative parameter be mapped to Campaign ID in the Piwik Reports?

Yes, that is correct. If you were to define utm_creative under the Campaign ID section then the data will be pushed to the campaign ID dimension.

Perhaps if you don’t want to include this parameter under an existing campaign parameter then you could simply use a custom dimension?

That’s a great idea, thank you @anthonybartczak! I will set up a custom dimension and attempt to track that alongside the standard UTMs for the campaign.