View Single Post
Old 06-24-2013, 06:25 PM  
perfect101
Confirmed User
 
Join Date: Dec 2008
Posts: 302
NATS and Google Analyics Goal Tracking

Has anyone ever set up google analytics goal tracking with NATS? It works for us but only tracks some of the joins to our site, misses most.

Cant figure out why.

Here is the GA code we use on the NATS approved page and sitewide tour.

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-31758046-2']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setDomainName', 'hdvpass.com']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

Any help would be very much appreciated!

Thanks
perfect101 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote