If I am changing my domain for my website and want to keep using the same Google Analytics account to keep the data from the old domain. How should I proceed?
-
If I am changing my domain for my website and want to keep using the same Google Analytics account to keep the data from the old domain. How should I proceed? Do I have to start a new Google Analytics account for the new domain? If so how do I keep the old data? Or can I use the same GA account?
Thank you.
-
Yup, that's what I thought. Nope, no domain in the code. Thank you very much for the help Jared.
-
Right - analytics doesnt actually use the domain in the tracking code, unless you are doing special types of tracking, so as long as you are doing regular Analytics tracking, you can simply port over the code.
Go take a look at your code, and see if there are any setDomain parameters or anything else where your domain is listed right in the tracking code. If not, you're OK.
Also, I would go to the analytics profile and then the ADMIN > PROPERTY SETTINGS and change the default URL (though this doesn't affect tracking code, its good for continuity.)
-
Hello Jared,
Here is an example of what I'm doing. The domain I was tracking was www.originaldomain.com for my website and now I have switched to a new domain www.newdomain.com. Still the same website but a different domain. I am cancelling the old domain and just using the new domain from now on.
So if I keep the same GA account and change the domain in the settings, will the old data stay or will I lose it?
-
Hi Brian -
Simply use the same analytics account - you can usually copy paste the code, but make sure if your tracking is different (maybe you are tracking a subdomain now, or maybe you are an ecomm site where variables need to be edited for ecomm tracking).
When you add it to the new site, make an annotation in Google Analytics showing that you made the domain change on that date (its just handy when youre looking back at October a year from now).
Dont forget to 301 your old pages to your new ones!
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Whatstuffwherebot user agent messing up Google Analytics
Starting yesterday, Aug 26, 2020, I noticed a new bot crawling our site with user agent whatstuffwherebot. Google Analytics is counting these hits as human traffic, completely throwing off my numbers - yesterday, Analytics reported nearly triple my typical number of visitors. As of now, Search Console only shows data through Aug 25 so I don't know if Search Console is also affected. Is anybody else seeing something similar? Does anybody know what the whatstuffwherebot bot is? I don't get any results when I search on Google or Bing. For what it's worth, the traffic is coming from Columbus, OH, running over Amazon AWS via 278 different IP addresses so far. Also, WordFence (my WordPress security plugin) correctly identifies these hits as bot traffic.
Reporting & Analytics | | ahirai0 -
Strange landing page in Google Analytics
Hello MOZ Community, The website in question is https://x-y.com/ When i looked at the landing pages report in GA , x-y.com is appended at the end of every URL like this. https://x-y.com/x-y.com When i open the above URL in GA interface, it shows page not found. This is obvious as there is no such URL.
Reporting & Analytics | | Johnroger
The metrics like sessions, Users, Bounce rate all look good. In the property settings, The default URL is written like this http:// cell-gate.com (Please note that s is missing in property settings). But how is traffic tracked correctly How do i solve this problem. What settings should we change to make the landing pages report look ok Thanks0 -
Has anyone ever seen kazooisyee in their Analytics account before?
We noticed a huge spike in traffic this past Sunday and after some digging in our Analytics account, we saw that it was coming from kazooisyee (under the Network tab). This traffic had almost a 100% bounce rate and they spent an average of less than a second on our site. Does anyone know what this might be associated to? Is this one of those SEO site analysis sites? Any information on this will help a ton as my employer is rather concerned about this at the moment. Thanks!
Reporting & Analytics | | Justine.Hedge0 -
Best way to present Google Analytic Reports
Hi Everyone, I’m just looking to produce some quite detailed reports for our google analytic can someone suggest a format or templates for the best way to present this information. Also can someone suggest what the best variables are to capture from a reporting perspective. We don’t sell on line so im just aliitle bit curious about what to include in terms of conversions etc
Reporting & Analytics | | aplnz20170 -
Has Google Analytics Funnel Visualisation changed / stopped working?
Yesterday my funnel visualisation tab in the updated GA interface was showing data flow. However today there is nothing showing in the graphical element despite showing some goal completion figures as a headline. Have they stopped doing up to the minute visualisation in favour of delayed results? Anyone else experiencing similar? Thanks in advance Tim
Reporting & Analytics | | TimHolmes0 -
Today analytic View Changes or Bug?
Hello Friends Today I just open my analytic dashboard and found changes in analytic metrics like for example “All traffic source view” found keyword instead of source medium. Have look below graph does anyone know why analytic display keywords instead of source medium? Is it analytic update? Or bugs check with your dashboard and go to “ALL TRAFFIC SOURCE” primary dimension is keyword? yxma
Reporting & Analytics | | CommercePundit0 -
Google Analytics bug?
Hi, I'm getting hits to this page, it's screwing up my Google Analytics stats. I know it's related with Google Website Optimizer, cuz it correlates with the tests I ran at the same dates. I'm just wondering if you've seen this before and what I should do to clean my stats? And is this affecting my SEO? Because it's still registering hits to these pages but I already stopped the tests a while go. Should I disallow this in my robots.txt file? Thanks! ga_bug3.jpg
Reporting & Analytics | | rhenster990 -
Use SEOmoz API in Google Docs Spreadsheet
Hi, Has anyone made functions to get link metrics from SEOmoz API in Google docs spreadsheet? Page Authority Domain Authority Linking Root Domains Total Links _Thanks to Tom Critchlow I got the social metrics, now I just need the ones from SEOmoz api. _ Any help would be sweet.
Reporting & Analytics | | EdgySEO0