Set a URL parameter
Adds or replaces a parameter on a link, for example utm_source=google to see the channel’s visits in your analytics.
Group: Text
When to use it
Section titled “When to use it”Tracking parameters on the product links of one channel: utm_source, utm_medium, utm_campaign. Put the rule in that channel’s export, so each channel gets its own values.
Settings
Section titled “Settings”- Parameter name: for example
utm_source. Letters, digits and_ . ~ - [ ]. - Element type to add: Static text (the same value for every product) or Dynamic column (the value of another column of the same product, for example a campaign column).
- Keep the value already in the link: off by default, so an existing parameter of that name is replaced. On, a link that already has it is left as it is.
Example
Section titled “Example”| Before | After |
|---|---|
https://shop.fr/p?id=1#top (utm_source, google) |
https://shop.fr/p?id=1&utm_source=google#top |
https://shop.fr/p (utm_source, google) |
https://shop.fr/p?utm_source=google |
https://shop.fr/p?utm_source=old (utm_source, google) |
https://shop.fr/p?utm_source=google |
Good to know
Section titled “Good to know”- The rest of the link is kept exactly as it is: the part after
#stays last, and?or&is chosen for you. - Spaces, accents and
&in the value are encoded, so the link stays valid. - A value that is not a link starting with
http://orhttps://is left as it is, and so is the link when the value to add is empty. - One rule per parameter: add three rules for
utm_source,utm_mediumandutm_campaign.