Skip to main content
Question

How to Capture UTM Parameters with Google Login and Google One Tap Login

  • 13 July 2024
  • 1 reply
  • 49 views

Hi Fellow Segmenters, 

 

We use segment to route the events from backend to all internal tools. I have a marketing data attribution issue with utm paramters values are not passed from root domain to a sub domain that loads after users signups up for a trial (with Google Account / OneTapgmail signin method). 

 

Examples:

Root domain: example.com

Subdomain after signing up: app.example.com

There is an option for users to use google sign or google on tap sign with gmail to signup for the account. Whenever the users chooses to use google account signin or google onetap sign-in, we are loosing the utm paramters and all the data is attributed as direct. 

The question: how can I pass utm paramters and their values from example.com?utm_source=google  to app.example.com?utm_source=google after the google account login method is used  via Segment?

 

Any help or solution on this is much appreciated. 

 

Best regards

Mahender

1 reply

Userlevel 4
Badge

Hi @Mahender Chintalapally! We’d love to hear a bit more about your end goal in capturing utm parameters in the subdomain / why capturing utms at the root domain isn’t helpful for your use case.

Reply