The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Setting Up Google Analytics for domains with 301

    Setting Up Google Analytics for domains with 301

    Intermediate & Advanced SEO
    5 3 299
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JohnW-UK
      JohnW-UK last edited by

      I have a client with a google analytics account that is a mess.

      domaina.com

      domainb.com 302's to domaina.com

      domainc.com 302's to domaina.com

      domaind.com 302's to domaina.com

      I thought the client was doing 301s on all these domains to the primary domain. I have logged into there analytics account and found data is being tracked on the other domains i.e domainb,c,d.com etc. How is it possible that google analytics is tracking data on these domains when no analytics code has been created and the urls are redirecting to domaina.com? Also there are not sites on these domains so for webmaster tools should I enable domain verification through a cname on the dns?

      Also I can I best setup a way to track traffic coming from say domainb.com? Whats the best step by step guide to use to set this up.

      1 Reply Last reply Reply Quote 0
      • KalpeshBPatel75
        KalpeshBPatel75 last edited by

        You just need to setup analytics for domaina.com.

        All traffic coming fron b,c,e will shown as referring traffic in domaina.com's analytics report.

        Or read full solution here: http://www.lanevance.com/web/web-development/tracking-301-redirects-with-google-analytics/

        Step By Step: http://avlmarketing.com/623/tracking-traffic-redirected-domain/

        JohnW-UK 1 Reply Last reply Reply Quote 1
        • JohnW-UK
          JohnW-UK @KalpeshBPatel75 last edited by

          Yeah I assumed that .... so why is domainb,c,d showing traffic on analytics when there are not sites/code for those domains as they just 302 to domaina.com

          1 Reply Last reply Reply Quote 0
          • JohnW-UK
            JohnW-UK last edited by

            Any ideas why/how the domainb.com/domainc.com/domaind.com is showing data on analytics even though they are 302s (and one is 301) to domaina.com?

            Does that make sense?

            mikecp 1 Reply Last reply Reply Quote 0
            • mikecp
              mikecp @JohnW-UK last edited by

              When you say data is showing up - what kind of data? Referring data? Or actual pageviews?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Have You 301 Redirected Domain A to Domain B ?
                Nayotanguyen
                Nayotanguyen
                0
                13
                491

              • 301 redirecting staff Domain to Company Domain
                khi5
                khi5
                0
                5
                102

              • Weird Google SERPs after New Domain Transfer 301
                alecfwilson
                alecfwilson
                0
                14
                363

              • 301 Pandalized Domain to Authority Domain?
                TomRayner
                TomRayner
                0
                2
                109

              • 301 many smaller domains to a new, large domain
                EGOL
                EGOL
                0
                5
                145

              • Google + under Google business domain email account
                Francisco_Meza
                Francisco_Meza
                0
                4
                218

              • Help With Preferred Domain Settings, 301 and Duplicate Content
                RyanKent
                RyanKent
                1
                7
                1.2k

              • Google Places / Google Analytics
                Aaronetics
                Aaronetics
                0
                3
                868

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy