Support » Theme: Pinboard » Google analytics

  • 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


    Hi mygfdfliving,

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

    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’]);

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


    before the </body> tag.



    Try to put it somewhere in the <head>.



    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,
    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.