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. Online Marketing Tools
    4. Moving domain - Google Analytics tracking code

    Moving domain - Google Analytics tracking code

    Online Marketing Tools
    3 2 306
    • 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.
    • Richard555
      Richard555 last edited by

      Hello

      My company's website is moving domain, all pages are staying the same.

      So www.abc.com/winter will become www.xyz.com/winter

      Should I:

      A) Use the same Google analytics tracking code to the new website?

      For example UA-1234567-1

      OR

      B) Set up new tracking code so it would look something like this: UA-1234567-2

      If I did A) then in Analytics reports I'll see both the before and after domain move.

      Many thanks in advance!

      Nigel

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

        Too keep the most consistency in your traffic data it might be favourable to keep the same code and just update the domain to the new one in the Google Analytic settings. You could still separate the data by using date ranges.

        1 Reply Last reply Reply Quote 1
        • Richard555
          Richard555 last edited by

          Hi Artaviaseo, many thanks for the quick reply. That is great!

          Have a good weekend

          Nigel

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Tracking AMP / Organic search in Google Analytics
            Joe_Stoffel
            Joe_Stoffel
            1
            2
            1.5k

          • URL changes in Google Analytics and Google Search Tools
            whitewallmarketing
            whitewallmarketing
            0
            4
            109

          • Google Analytics - adding tracking codes
            edward-may
            edward-may
            0
            6
            107

          • Is this Google Analytics tracking code the same?
            Hutch42
            Hutch42
            0
            4
            100

          • Google analytics tracking code is wrong?
            Aleyda
            Aleyda
            1
            4
            776

          • What's the difference between Google Conversion Tracking Code vs Floodlight Tags
            JasmineA
            JasmineA
            0
            2
            5.3k

          • Google Analytics Goal - Track Click Through to Any Page on Site
            JaredMumford
            JaredMumford
            0
            6
            1.4k

          • In Page Analytics Not Showing For My ASP ImageButtons (Google Analytics)
            Resultify
            Resultify
            0
            2
            1.2k

          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