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
2.7K members online now
2.7K 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

4 Properties - 4 Tracking Codes?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I very recently added a SSL certificate to my server, making my site https. Google suggests creating properties for all versions of my site - http://mysite.com, http://www.mysite.com, https://mysite.com and https://www.mysite.com.

 

Do I need to add Google Tracking Code for all 4 versions of my site (4 tracking codes on each page) in order to "monitor traffic on each version", as Google suggests?

 

I still just have the one original tracking code, pointing to - www.mysite.com. As of now, none of my properties are actually showing the traffic on my site.

4 Properties - 4 Tracking Codes?

Participant ✭ ✭ ✭
# 2
Participant ✭ ✭ ✭

Hi Tim,

 

Could you share the URL of your website?

We'll take a look at your tracking implementation and will give you actionable advice (you can modify or remove this post later on if you don't want to show your URL to everyone).

 

If you move you site from HTTP to HTTPS, you don't need to add extra tracking code on your website. Here you can read more about that: https://www.en.advertisercommunity.com/t5/Google-Analytics-Account-Access/Site-changed-from-HTTP-to-...

 

Hope this helps. Looking forward to hearing from you.

Taavi

4 Properties - 4 Tracking Codes?

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Taavi,

 

Thanks for your response. My URL is https://www.usafleetsupply.com.

4 Properties - 4 Tracking Codes?

[ Edited ]
Participant ✭ ✭ ✭
# 4
Participant ✭ ✭ ✭

Tim,

 

Seems like your Google Analytics tracking code works properly. Your data is sent to this property: UA-5239727-1 (this is your tracking ID)

 

If you're analyzing reports under the right property (UA-5239727-1), you should see your website's traffic.

I recommend you opening your Google Analytics account and then your Real-Time -> Overview report. After that, open a new tab in your browser and go to your website. Do you see yourself in the Real-Time reports navigating from one page to another? (it will take 10-15 seconds then you might see yourself)

 

One more tip for you Tim. You have installed your Google Analytics code in the footer section of your page right now. This is highly discouraged. I always recommend putting Google Analytics in the head section. Your Google Analytics code should load as soon as possible on your page. This helps to ensure that you capture all data that you need. 

 

Google Analytics code is asynchronous code, meaning that the browser doesn't need to wait for the code to finish loading to continue rendering elements that come after it on the page. It means that you can safely put the code at or near the top of your page (you should send it to your developer if you're not a developer).

 

Hope this helps. Let us know how it goes.

Taavi

4 Properties - 4 Tracking Codes?

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

Taavi,

 

Thank you very much for the information, and the tip. I will move my code to my header.

 

Thanks again...

4 Properties - 4 Tracking Codes?

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭

Reading more about this, it seems that I do need to add 4 tracking codes to my pages (3 more than I have now). Google suggests that I monitor traffic to all versions of my site, but in order to do this I need all 4 property tracking codes on my pages. 

 

Checking the search results for my keywords, it appears that most (if not all) versions of my site show up in search results. So, I suppose it would be logical to track all versions. This just seems like alot of code.

 

Is there a way to add just the additional property ID's to the tracking code that is already on my pages?

Re: 4 Properties - 4 Tracking Codes?

[ Edited ]
Participant ✭ ✭ ✭
# 7
Participant ✭ ✭ ✭

Hi Tim,

 

Where did you get this kind of advice? Smiley Happy

 

Here you'll find a great article about that.

 

If you really would like to test it out, here's how you can add an additional tracker to your website:

 

ga('create', 'UA-XXXXX-Y', 'auto');
ga('create', 'UA-XXXXX-Z', 'auto', 'tracker2');
ga('create', 'UA-XXXXX-C', 'auto', 'tracker3');
ga('create', 'UA-XXXXX-W', 'auto', 'tracker4');

ga('send', 'pageview');
ga('tracker2.send', 'pageview');
ga('tracker3.send', 'pageview');
ga('tracker4.send', 'pageview');

That's it. If you find any difference after implementing those IDs and you're having exactly the same configuration in your settings, let us know. It would be really interesting for me. To be honest, it doesn't seem practical to send data to 4 different properties if there will not be a difference in results.

 

Let us know you see the difference.

Taavi