CMS Development

Maxencegodard
Participant

Does anyone know how we could modify this to keep the UTM parameters when redirecting visitors?

Goal: Use a Javascript language switcher that keeps the UTM parameters when reloading the page automatically pulls the language from the user's browser.

 

Roadblock: When the script automatically pulls the language from the user's browser and reloads the page for a user, we lose their UTM parameters.

 

Question: Does anyone know how we could modify this to keep the UTM parameters when redirecting visitors?

0 Upvotes
2 Replies 2
lscanlan
HubSpot Alumni
HubSpot Alumni

Does anyone know how we could modify this to keep the UTM parameters when redirecting visitors?

Hi Maxencegodard,

 

We should be able to come up with a solution to this I think. Could you spin up an example though and link us here? I'll be happy to take a look.

Leland Scanlan

HubSpot Developer Support
0 Upvotes
Maxencegodard
Participant

Does anyone know how we could modify this to keep the UTM parameters when redirecting visitors?

0 Upvotes