I want to integrate manually defined URL Parameters for tracking purposes. Therefore, I added a liquid code in the email settings as a URL parameter value that checks if the static tracking variable exists and if so to use it as URL parameter. I then added some liquid in the email to capture the values:
Workspace settings > URL parameters
KEY: utm_content
VALUE: {% if email_content %}{{email_content}}{% endif %}
Turns out, this does not work. utm_content is always empty. Is there any chance I can make this work?
Notes: I don’t want to use {{message.name}} or {{campaign.name}} and I tried it with “assign” instead of “capture”.
Thank for your help 😉
Best answer by Byron
Hey Felix,
Byron here from the Customer.io technical support team.
From what I can determine, it won’t be possible to include email content in global UTM parameters. Our docs provide a list of the liquid tags that are available to use for UTM params at this time: https://customer.io/docs/url-parameters/#can-i-use-liquid-here.
There is a workaround you can try to see if it works for you.
The class only disables global parameters and will allow you to manually set your own URL parameters that do not have the same limitations as global parameters in workspace settings.
Byron here from the Customer.io technical support team.
From what I can determine, it won’t be possible to include email content in global UTM parameters. Our docs provide a list of the liquid tags that are available to use for UTM params at this time: https://customer.io/docs/url-parameters/#can-i-use-liquid-here.
There is a workaround you can try to see if it works for you.
The class only disables global parameters and will allow you to manually set your own URL parameters that do not have the same limitations as global parameters in workspace settings.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.