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.
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!
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’ : ‘http://www’) + ‘.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.”