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

No tracking code for one property; tracking code for others

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

Could anyone help? We no longer have a GA specialist in our business so are trying to fire fight and I have very limited knowledge. I've had the error message below and from reading around can see that I need to update the tracking code. The first tracking code below is the one from the property settings and the second isn't known to me. Do we need to change the property settings to the second code or replace the first code with the second code to the property settings?

 

Really appreciate any help or pointing in the right direction for reading etc. 

-----------------------------------------------------------------------------------------------------------------

 

The default URL http://xxx for property UA-47311042-1 has no tracking code for this property, although it does have tracking codes for other properties:

  • UA-52187902-1

If your Tracking ID and your Default URL setting are out of sync, you don't get valid data in your Analytics account for the Default URL.

Either update the tracking code to use the Tracking ID for property xxx, or open the Property Settings to update the Default URL for property xxx to be http:/.....

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Clare W
April 2016

Re: No tracking code for one property; tracking code for others

Explorer ✭ ✭ ☆
# 4
Explorer ✭ ✭ ☆
Hi Clare,

You need to add the GA code for UA-47311042-1 GA property to the homepage. You can get the GA code for this property by going to the property setting > tracking info. Copy the code and then paste it just after the opening </head> tag in the page source of the homepage.

View solution in original post

Re: No tracking code for one property; tracking code for others

Explorer ✭ ✭ ☆
# 2
Explorer ✭ ✭ ☆
You can't change the property setting to the second code, so you need add the tracking code for the first one (that you've access to) to the default URL (I'm assuming the homepage) page as well as any other page that you would like to track in the first property (UA-47311042-1).

Re: No tracking code for one property; tracking code for others

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Thank you- sorry if it's a very basic question but it looks as though this
code only applies for the homepage. Do we put the second code in to each
page we want to track or is it a case of generating new ones?
Marked as Best Answer.
Solution
Accepted by topic author Clare W
April 2016

Re: No tracking code for one property; tracking code for others

Explorer ✭ ✭ ☆
# 4
Explorer ✭ ✭ ☆
Hi Clare,

You need to add the GA code for UA-47311042-1 GA property to the homepage. You can get the GA code for this property by going to the property setting > tracking info. Copy the code and then paste it just after the opening </head> tag in the page source of the homepage.

Re: No tracking code for one property; tracking code for others

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Thanks Syed, that's so helpful. Will give it a try! Have a great day.

Re: No tracking code for one property; tracking code for others

Explorer ✭ ✭ ☆
# 6
Explorer ✭ ✭ ☆
Thanks. Glad it was helpful