• I cannot get google analytics to work with your site. Is it not compatible? I pasted my tracking code above the body tag in the footer.php file under editor in appearances. I love your theme, but I really need google analytics in order to analyze my website. Any hints of what I am doing wrong? Any help would be greatly appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Alexander

    (@alexanderbepunkt)

    Hi mygfdfliving,

    Try to add the script to the header.php as suggested by google analytics.

    Thread Starter mygfdfliving

    (@mygfdfliving)

    I tried adding it in the header too. I am not having any luck in having google analytics track the site though. Any other hints? I am placing the code:

    <script type=”text/javascript”>

    var _gaq = _gaq || [];
    _gaq.push([‘_setAccount’, ‘UA-32419388-1’]);
    _gaq.push([‘_trackPageview’]);

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

    </script>

    before the </body> tag.

    Alexander

    (@alexanderbepunkt)

    Try to put it somewhere in the <head>.

    Alexander

    (@alexanderbepunkt)

    You can also try to add a plugin like “Ultimate Google Analytics”.

    Once you’ve installed it, you can go to Settings/Ultimate GA and put in your account ID, which should basically do it already.

    hello Alexander
    i instaled the plugin as you mentioned,
    Sporings-id
    UA-40973XXX-1
    Status: Sporing er blevet installeret
    it tells me its instaled, but when i tjeck the stats its shows none visitors 🙁 dont know what went wrong? can it takes some time before its up?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google analytics’ is closed to new replies.