Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    I recommend asking at https://wordpress.org/support/plugin/google-analytics-for-wordpress#postform so the plugin’s developers and support community can help you with this.

    Funkphenomenon

    (@funkphenomenon)

    When looking at the source code of your page, it says:

    <!-- This site uses the Google Analytics by Yoast plugin v5.3.3 - https://yoast.com/wordpress/plugins/google-analytics/ -->
    <!-- @Webmaster, normally you will find the Google Analytics tracking code here, but you have enabled the Debug Mode. Change that in Analytics -> (Tab) Debug mode and disable Debug Mode to enable the tracking of your site. -->

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Nice catch, Funkphenomenon!

    Thread Starter CookingSchoolBangkok

    (@cookingschoolbangkok)

    Thanks guys for your help.

    Actually I had activated the debug mode in order to catch some info.
    The code in the page is :
    <!– This site uses the Google Analytics by Yoast plugin v5.3.3 – Universal disabled – https://yoast.com/wordpress/plugins/google-analytics/ –>
    <script type=”text/javascript”>

    var _gaq = _gaq || [];
    _gaq.push([‘_setAccount’, ‘UA-55664661-1’]);
    _gaq.push([‘_gat._forceSSL’]);
    _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>
    <!– / Google Analytics by Yoast –>

    That seems to be correct but doesnt send any data to GA.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    At http://www.cookingschoolbangkok.com/ you still have debug mode enabled.

    <!-- @Webmaster, normally you will find the Google Analytics tracking code here, but you have enabled the Debug Mode. Change that in Analytics -> (Tab) Debug mode and disable Debug Mode to enable the tracking of your site. -->

    As it says, “disable Debug Mode to enable the tracking of your site.”

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google Analytics by Yoast with GoDaddy : no data’ is closed to new replies.