I put UTM parameters on my links in an email that went out recently, but Google Analytics is showing all the clicked-through URLs with the obfuscated /?mkt_tok parameter instead of the resulting UTM parameters. Any ideas how to fix this? Thanks!
Solved! Go to Solution.
This is all happening on your webserver. It's 301 redirecting the initial URL to what appears to be your "canonical" (i.e. more authoritative) URL, but it only retains certain query params.
So the URL:
https://www.worldanimalprotection.org.au/keepthemwild?utm_source=Marketo&utm_medium=Email&utm_campaign=tax%20appeal&utm_content=Prospect%20Conversion&id=G93A0620E02&mkt_tok=anything
Gets redirected to:
https://donate.worldanimalprotection.org.au/campaigns/keep-them-wild/?id=G93A0620E02&mkt_tok=anything
Only keeping the id and mkt_tok params, as presumably they were configured to be retained (again note this config is on your server, www.worldanimalprotection.org.au, Marketo's not in the picture at that point).
If you go straight to donate.worldanimalprotection.org.au:
https://donate.worldanimalprotection.org.au/campaigns/keep-them-wild/?id=G93A0620E02&utm_source=Marketo&utm_medium=Email&utm_campaign=tax%20appeal&utm_content=Prospect%20Conversion&id=G93A0620E02&mkt_tok=anything
Then the query params are all kept. So it's very much about the www.server.