Google Analytics (2 posts)

  1. admin-tss
    Posted 5 years ago #

    I have two issues that I can't seem to figure out. First and most importantly I can't seem to get my google analytics code working. I switched templates recently and now can't get it to work. There is a place in the template to paste the code in which I have done and when I view source the code is being displayed as a single line. Is that the problem? Tried putting it into the footer and header but I still can't get it too work. Please help!
    Here's the site: http://www.tshapesolutions.com

    here's the code:
    <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-16586743-4']);

    (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);


Topic Closed

This topic has been closed to new replies.

About this Topic