Why does Google Analytics 4 keep redirecting on my ecommerce site?

Topic summary

Issue: Google Analytics 4 (GA4) setup on Shopify triggers a “redirected too many times” error during installation.

Context: Multiple users report the same problem when connecting GA4 via Shopify’s Google channel. A screenshot shows the redirect error, but no technical logs or code are provided.

Most recent update/solution: One user resolved it by removing the Google channel app that was added during the initial store setup flow, then reinstalling the Google channel from the Shopify App Store. After reinstall, GA4 connected without redirect errors.

Notes:

  • GA4 = Google’s current analytics platform; Shopify’s “Google channel” app handles integration.
  • No root cause identified for the redirect loop; appears related to the initial setup path.

Status: Partially resolved via workaround. Others with the issue can try the remove-and-reinstall approach. No official guidance or confirmed fix from Shopify/Google in this thread.

Summarized with AI on January 23. AI used: gpt-5.

Hi,

I’m trying to connect Google Analytics 4 to my Shopify and every time I try to install it, it comes up that it has redirected too many times. I’ve gone up and down the questions as this seems to be a common problem.

I believe I understand the problem but I can’t figure it out (been trying for the past 7 hours). Could someone please help me with a detailed walk through or a link where I can see how this is done, it’s killing me. :disappointed_face:

Really appreciate any help.

Thank you

Ryan

1 Like

I have the exact same issue. Can someone helps ?

Same issue here, hoping shopify support sees this!

Got this working finally. When I setup my store I added the Google channel during the setup flow. It never worked, giving me the redirect errors. I just deleted the app, then re-installed from the shopify app store and it worked.