Forum
Welcome, Guest
Please Login to access forum.
Same web property ID is tracked twice. (1 viewing) 
Go to bottom
TOPIC: Same web property ID is tracked twice.
#4242
Atlanta Internet Design
Junior Boarder
Posts: 25
User Offline
Same web property ID is tracked twice. Karma: 1  
Hi,

After setting up Jsitemap Google Tag Assistant is showing Same web property ID is tracked twice. How should I deal with this. My site is: http://www.atlantainternetdesign.com/

Thanks
 
Logged Logged  
  The administrator has disabled public write access.
#4243
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:Same web property ID is tracked twice. Karma: 79  
Hi again Bob,

what's 'Jsitemap Google Tag Assistant' ? This is something i don't know... also what does mean ' Same web property ID is tracked twice'? I'm not aware that this is part of Jsitemap.

Thanks,
John
 
Logged Logged  
  The administrator has disabled public write access.
#4245
Atlanta Internet Design
Junior Boarder
Posts: 25
User Offline
Re:Same web property ID is tracked twice. Karma: 1  
Hi John,

Actually Google Tag Assistant is not part of Jsitemap. It's a Chrome add-on. I think the issue is that one is one is classic syntax and the other is universal.

<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,&#039;script&#039;,&#039;//www.google-analytics.com/analytics.js&#039;,&#039;ga&#039;

ga(&#039;create&#039;, &#039;UA-32247885-1&#039;, &#039;auto&#039;
ga(&#039;send&#039;, &#039;pageview&#039;

&lt;/script&gt;

I am assuming these are the 2 tracking codes. Should I delete one?

T.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','//www.google-analytics.com/analytics.js','ga';

ga('create', 'UA-32247885-1', 'auto';
ga('send', 'pageview';

</script>

I am assuming these are the 2 tracking codes. Should I delete one?

Thank
 
Logged Logged  
  The administrator has disabled public write access.
#4246
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:Same web property ID is tracked twice. Karma: 79  
Oh i understand what you refer to now.

Yes of course you have to include only 1 tracking code.
The one added by JSitemap is the new official code provided by Google that can be found here: https://developers.google.com/analytics/devguides/collection/analyticsjs/

John
 
Logged Logged  
  The administrator has disabled public write access.
Go to top