Campaigm UTM URL paramaters being removed from product pages

Thanks again, @Niki_K

> Maybe the problem might be also in the analytics you’re using? Are you using analytics.js or ga.js? Because by default, analytics.js will search for UTM parameters in both the query string and anchor of the current page’s URL, but ga.js won’t. If I’m not mistaken, you have to allow it in the analytics, see the screenshot and here is also the link.

Create info! I did not know this. However, unfortunately the param rewriting issue happens with any and all params (other than the variant param).

For example, this URL uses foo=bar and that will be removed too.

https://shop.heddels.com/products/bouldering-pants-caramel-fw20?variant=39575475978307&foo=bar

It’s strange that this rewriting only occurs when directly linking to a product that has variants. All other Shopify URLs seem to work fine. Do you think it’s a theme issue?

EDIT

I also noticed this happens to other sites, for example — https://www.rogueterritory.com/collections/skinny-leg/products/sk-copper-selvedge-canvas?variant=33078317416553&foo=bar — so it doesn’t seem specific to our site.

Thanks!