Two different types of tracking code

aixporter

New member
Joined
Dec 12, 2012
Messages
115
Points
0
Hi, is anyone here familiar with the two different types of analytics tracking? Apparently Google offers two different versions - each having its own advantages.
 

rahulsuza

New member
Joined
Jan 23, 2013
Messages
6
Points
0
There are two types of field events: jumps, and throws. ... the same group of athletes contesting a number of different track and field events...
 

aksel

New member
Joined
Aug 17, 2013
Messages
84
Points
0
I first time heard about the term tracking code. Is this any special kind of code which tracks something hidden.
 

boysingh

New member
Joined
Jan 15, 2014
Messages
61
Points
0
There are two types of field events: jumps, and throws. ... the same group of athletes contesting a number of different track and field events...
Haha, hilarious, are you really in the topic??haha, this is about Analytics, not Sports Events.. :) No offense :D

-Back to the Topic: There is now these two types: The Classic and The Universal

Classic Analytics Tracking Code is the usual tracking code that every website owners are using, The tracking code looks like this:

<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxxxxx-x']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
While Universal Analytics Tracking Code is the new form of script by Google Analytics that is used to track the Data.

And it looks like this:
</script>

<script type="text/javascript">
(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','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-xxxxxxxx-x', 'example.com');
ga('send', 'pageview');
</script>
The Advantage of the Universal Tracking code is that you can now see more Data from Google Analytics, like Demographics (Age, Gender..etc)

For more Ideas, you can read more about Google Analytics:
https://developers.google.com/analytics/devguides/platform/
 

JoeHamilton

New member
Joined
Aug 29, 2013
Messages
207
Points
0
The Google Analytics tracking code is used only to examine site possession. No Google Analytics data is likely to be utilized.
 

diliberti

New member
Joined
Dec 4, 2013
Messages
48
Points
0
I know about four types of tracking codes and they are Clicky, Statcounter, Sitemeter and histats.
 

kathleenortan

New member
Joined
Jan 28, 2013
Messages
47
Points
0
When it comes to Google Analytics, it is universal tracking code and classical analytic code.
 
Older threads
Newer threads
Replies
3
Views
3,746
Replies
19
Views
9,662
Replies
5
Views
4,791
Latest threads
Replies
0
Views
29
Replies
0
Views
31
Replies
1
Views
41
Replies
3
Views
105
Recommended threads
Replies
4
Views
3,357
Replies
0
Views
1,892
Top