Google analytics not working

Discussion in 'Infoway WordPress Theme' started by fullcircleyoga, Nov 15, 2014.

  1. fullcircleyoga

    fullcircleyoga New Member

    Joined:
    Nov 12, 2014
    Messages:
    1
    Likes Received:
    0
    I am using Infoway Pro template. Google analytics will not work. Analytics account says:

    Status: Tracking Not Installed
    Last checked: Nov 14, 2014 10:14:57 PM PST
    The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.

    I have read previous threads on this issue and followed the instructions of manually pasting the analytics code into the header.php file as well as pasting the code into the Google Tracking Code box in the Appearance - Theme Options - General Settings section through the wordpress dashboard and neither has worked.

    Compatibility with analytics is one of the reason I purchased this theme, so this needs to be fixed ASAP.

    Website: www.fullcircleut.com
    Analytics Code:

    <script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-56755267-1', 'auto');
    ga('send', 'pageview');

    </script>
     
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    You are using your analytic code in wrong place.
    You have to put it in between <head>..............<your analytic script>...................</head>
    But in your site it is present before <head> section or we can say just after </title>.
    Please follow below image.
    15-nov-infoway-analytic.png

    Thanks & regards
    Pramod
     

Share This Page