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

Same web property ID is tracked twice

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

I'm tracking three sites and one of them is not being tracked well for somereason

 

http://nesaa-tadawul.weebly.com/

 

In Tag assistant i'm getting that the site are being tracked twice & No HTTP response detected

 
NOTE: I'm sure that the code posted only once
 
Please help me solve this issue
 
Regards
Tawfik
1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author יוסרה ס
March 2017

Same web property ID is tracked twice

Top Contributor
# 8
Top Contributor

The problem is that you are pasting the code into an area on the site where it is not firing properly. You need to add it to the <head> section at the top of the source code by editing your template. The other codes are added like that also. Let me know if you need more help.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

View solution in original post

Same web property ID is tracked twice

Top Contributor
# 2
Top Contributor

Hi,

 

You have multiple tracking codes on your site, UA-76627772-1 appears twice and you also have a broken closing script tag (&lt;/script&gtSmiley Wink in the first tracking code. You need to remove one of the two instances and for the other properties you need to use named trackers:

https://developers.google.com/analytics/devguides/collection/analyticsjs/creating-trackers#working_w...

Let me know if you have questions.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Same web property ID is tracked twice

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Thanks for replaying

 

The matter is that my UA is "UA-93332500-5" and not = UA-76627772-1 What makes the issue more problimatic

 

Same web property ID is tracked twice

Top Contributor
# 4
Top Contributor

You need to move the tracking code up to the head tag of the page. If you don't want to use the other properties then remove those tracking codes. Let me know when you made the changes and I'll check it again for you.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Same web property ID is tracked twice

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

I've removed the tracking codes, What now?

Same web property ID is tracked twice

Top Contributor
# 6
Top Contributor

UA-76627772-1 is still there twice and there is also UA-7870337-1.

 

You need to add the tracking code from the GA Admin -> Property -> Tracking Info -> Tracking Code to the <head> section of your pages.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Same web property ID is tracked twice

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭

This is my tracking code and I've paste it in the page I want to track

 

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-93332500-5', 'auto');
ga('send', 'pageview');

</script>

 

Could you please tell me where these (UA-76627772-1 ... UA-7870337-1) come from ?

 

And what is the right one for my account ??

tawfikyusra@gmail.com

 

Regards

Marked as Best Answer.
Solution
Accepted by topic author יוסרה ס
March 2017

Same web property ID is tracked twice

Top Contributor
# 8
Top Contributor

The problem is that you are pasting the code into an area on the site where it is not firing properly. You need to add it to the <head> section at the top of the source code by editing your template. The other codes are added like that also. Let me know if you need more help.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Same web property ID is tracked twice

Visitor ✭ ✭ ✭
# 9
Visitor ✭ ✭ ✭

I didn't make any special changes that I didn't do in the past

And now for some reason it's working Smiley Happy

 

Thanks Arnold