AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
4.8K members online now
4.8K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Google Analytics during Staging

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We currently have a client whose website is in staging.  Therefore the domain isn't the final URL the client will have.  Should I wait to install Google Analytics and GTM until the final URL is live?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Antoinette M
March 2016

Re: Google Analytics during Staging

Follower ✭ ✭ ☆
# 2
Follower ✭ ✭ ☆
It is always nice to have some data in GA to confirm all of the data is being collected correctly before the production URL is published.

It is easier to test a configuration than create everything from scratch in GTM, so you will likely get up and running faster.

I have a suggestion:
Install GTM, then use GTM to create all of the GA tags for pageviews and events but use a constant variable to push all of the content to a staging property UA number. When the production site launches all you will have to do is swap the UA number in the constant variable and you are good to go (pending a positive QA session).

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Antoinette M
March 2016

Re: Google Analytics during Staging

Follower ✭ ✭ ☆
# 2
Follower ✭ ✭ ☆
It is always nice to have some data in GA to confirm all of the data is being collected correctly before the production URL is published.

It is easier to test a configuration than create everything from scratch in GTM, so you will likely get up and running faster.

I have a suggestion:
Install GTM, then use GTM to create all of the GA tags for pageviews and events but use a constant variable to push all of the content to a staging property UA number. When the production site launches all you will have to do is swap the UA number in the constant variable and you are good to go (pending a positive QA session).

Re: Google Analytics during Staging

[ Edited ]
Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Thank you Jason!! It will definitely create GTM! I will look into creating the constant variable and swaping the UA number once its ready to go live! Thank you again.