Dumb SEO Questions

(Entry was posted by Jay Lo on this post in the Dumb SEO Questions community on Facebook, Thursday, November 1, 2018).

GA tracking code on 301 redirected page

If an URL is being 301 redirected, will browser still try to execute the GA tracking code(or GTM snippet) on the page? if so, would GA, GTM still register pageview for that URL?

Thank you, everyone, any thought will be appreciated

This question begins at 00:15:12 into the clip. Did this video clip play correctly? Watch this question on YouTube commencing at 00:15:12
Video would not load
I see YouTube error message
I see static
Video clip did not start at this question


Selected answers from the Dumb SEO Questions G+ community.

  • David Kutcher: If a url is being 301`d that happens on the server level before the page is served, hence before the tag script.
  • Jay Lo: Thank you so much :)
  • Michael Martinez: It will if you use HTTP meta refresh redirects, which many affiliate marketers use for their referral codes.

View original question in the Dumb SEO Questions community on G+, Thursday, November 1, 2018).

Reference Links