Close

Account

Documentation

Forum

Menu

Google Analytics Problem

  • Post count: 1
    robinhaus
    March 10, 2015 at 1:51 am #9869

    Hello

    I am using the Jkreativ theme in three webs and google analytics donĀ“t register any visit in none of them.

    I have set my analytic code in Jkreativ_Dashboard/Aditional_Javascript in the following way:

    <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-XXXXXXXX-1’, ‘auto’);
    ga(‘send’, ‘pageview’);

    </script>

    But it seems to be something wrong. Please could you help me? it is the first time it happens this to me.

    Please can you check http://robinhausdesign.com?

    Thank you

    Post count: 10705
    Adek
    March 11, 2015 at 2:23 pm #9884

    Hi robinhaus,

    Please try to remove the script tag that wrapped the code above.

    Thank you

You must be logged in to reply to this topic.