Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Having trouble adding Google analytics to my forum
Topic Started: Oct 16 2013, 01:37 PM (435 Views)
Spartins1988
Member
 *  
So i tried adding google analytics to my site but it seems to not be working. I added the code to the header and body and it said tracking not installed. So i tried adding it to the java script,the meta tags,the footer and before all the codes in the header and body and after all the codes in there and still got the same thing. it wont work anywhere i put it. here is my code
Code:
 
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37822706-4']);
_gaq.push(['_setDomainName', 'invisionfree.com']);
_gaq.push(['_setAllowLinker', true]);
_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>


Can someone help me figure this out?
Edited by Spartins1988, Oct 16 2013, 01:38 PM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards - Skinning & Code Support · Next Topic »
Add Reply