Google Analytics tracking code for completely new website
-
Hello!
I use Google Analytics to monitor our company's websites. In the coming weeks we will roll out a brand new website for one of our brands to replace its current site. The domain name will remain the same.
My question is, should I use the same tracking code that's been used on the existing site for the new site, or is there a benefit to creating a new tracking code?
Thanks in advance!
Erik -
GWT is based on domains so you shouldn't have to do anything to it. Just do a quick audit to see if your sitemaps URL changed.
-
This also brings Google Webmaster Tools to mind. Is there a best practice for that? Is it adding an entirely new site, or just updating the existing site on Webmaster Tools?
Thanks again!
Erik -
Thank you, gentlemen!
-
To add to what Irving said, use the same GA account, but grab the latest code for that account. You'll want all the data in one account. Don't forget to create a new annotation so you can quickly remember when you launched the new site, and see what happens easily from that point forward (and backwards).
-
I would use the latest version of the code. Google has updated the code so it loads quicker and runs asynchronous.
I quote Google:
The latest version of the Analytics tracking code offers an improved way to track website visitors with Google Analytics. It takes advantage of browser support for asynchronous JavaScript to enhance the speed in which the tracking code is loaded. With the latest version of the tracking code, you can also place the Analytics snippet higher in the page without delaying subsequent content from rendering.
Although asynchronous tracking uses a different Analytics snippet and a different syntax for tracking calls than the traditional snippet, it supports the exact same tracking customizations as the traditional snippet. In fact, the asynchronous tracking syntax is also more flexible than the traditional snippet. For more details, see the Usage Guide.
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
-
Strange 404 Pages Appearing in Google Analytics
Hi, My client has some strange urls appearing in GA which lead to error pages. Please see the following image: https://imgur.com/a/6TPO8yL e.g URLs like /h/6445738.html I've used screaming frog to see if these pages exist on the website and I can't find them, anywhere. Therefore how are they coming up in GA? If anyone could please help I'd really appreciate it.
Reporting & Analytics | | SolveWebMedia0 -
How to set and understand behavior flow in google analytic?
Hello Experts, How to set and understand behavior flow in google analytic? I have attached screenshot of my behavior flow it is showing not set. So how to set? Thanks! MAQnG SQ7QM
Reporting & Analytics | | micey1230 -
How to do Google Multivariate Testing via Google Tag Manager with Universal Analytic?
Hello All, How to do Google Multivariate Testing via Google Tag Manager with Universal Analytic? Thanks!
Reporting & Analytics | | dsouzac0 -
Tracking Product Codes
Hey Mozzers, We are improving our B2B site by adding product codes to headings & meta information etc to gain some traction ranking for our own products and those supplied by others when searched for by product code. Almost immediately we are hitting the top half of the first page for most of these and seeing some nice results. We would like to track our placement for these product codes in google but feel this would be a waste of our Moz Keyword limit and we really dont need to check them once a week, just one a month or so. Has anybody got any methods of tracking our ranking for a a big list of keywords say once a month which isn't too labour intensive? Many Thanks
Reporting & Analytics | | ATP0 -
Analytics Tracking in China
I am setting up a Chinese domain and I was wondering if anyone has experience with using Google Analytics for tracking in the country and if it really works or if Baidu is the better solution for the website. The website will be hosted in the US so I don't know if that makes any difference with getting around "The Great Firewall". I would prefer to us GA if possible because I am extremely familiar with the platform but I am more concerned with getting accurate tracking data for the site. Thank you in advance and any help would be greatly appreciated. Brooke
Reporting & Analytics | | Ryan_Henry0 -
Google analytics is not tracking well
Hey, There is something not working in our GA account, its shows too many visits per day, when look where this traffic comes from, the majority comes from (not set). Please find attached. Really appreciate help! Thank you! BvmAKtO
Reporting & Analytics | | Comunicare0 -
Image Search Keyword Tracking With Google Analytics
Does anyone know how to track keywords for your images in Google, Yahoo, Bing (/imgres)?
Reporting & Analytics | | Melia0 -
Setting up Google Analytic Goals to a 3rd Party Site
I recently received help on a question I asked on SEOmoz but need additional clarification. I am trying to set up goals in Google Analytics for people who click on a “purchase botton” which sends them to PayPal. I created a Thank You page and tried to get PayPal to redirect to it, however, our customers only get to our site’s 404 page. Here is what I’ve done so far: Went into my PayPal account and turned the “Auto Return” to ‘on’ Under website payment preferences, I added the following URL http://www.teecycle.org/thank-youutm_nooverride1. (I formatted the URL this way because the person who provided me with help recommended using the format ?UTM_nooverride=1. However, our CMS system won’t allow “?” or “=”)
Reporting & Analytics | | EricVallee340