GA4 parameters ("_gl" and "_ga") added to my URLs

Topic summary

Main issue: After linking Google Analytics 4 (GA4) and Google Tag Manager (GTM) to a Shopify store, query parameters “_gl” and “_ga” start appearing on some page URLs. An example URL with these parameters was provided.

Current configuration: No cross-domain or subdomain settings are configured in GA4, and “Enhanced Measurement” is turned off. Despite this, the parameters still appear.

Impact: Store owners consider the appended parameters undesirable and want to remove them from visible URLs.

Community reports: Multiple users confirm the same behavior on other Shopify stores. They are asking whether anyone has found a fix.

Troubleshooting status: No solution has been shared. A user reports the issue persists and requests updates if a fix is found.

Artifacts: A screenshot was attached to illustrate the issue, but no additional technical details were provided.

Outcome: No resolution or actionable steps have emerged. The discussion is open, with the key unanswered question being how to prevent or strip “_gl” and “_ga” from URLs after integrating GA4/GTM.

Summarized with AI on December 30. AI used: gpt-5.

Hi,

Since I have linked Google analytics 4 and Google Tag Manager to my shopify, weird parameters “_gl” and “_ga” have been added to the url of some of my pages.

For instance:

https://dormeuil.com/pages/contact-us?_gl=1h0na73_upMQ.._gaMTE3OTAzMTczMS4xNzAyNjUyNDk4_ga_KSJVQCXH1X*MTcwMjY1MjQ5Ny4xLjAuMTcwMjY1MjQ5Ny4wLjAuMA..

I do not have any cross domain or subdomain on my GA4 and the “Enable Enhanced Measurement” option is turned off.

Does anyone know what to do to remove the parameters from my URLs ?

Thank you !

Victor

1 Like

The same problem is occurring in a customer’s store, have you managed to fix it?

Solution?

Nothing, at the moment we still have the error.
Please update with an answer if you can fix it. Thank you!