简体   繁体   中英

Google Analytics for Wordpress not working

I have the Google Analytics for wordpress plugin produce by http://yoast.com

I have it installed on two blogs. On one it works perfectly... the other it does not work.

Both designs are custom designed. As such the only thing i can think is that the designs are coded in different ways such that the plugin inst inserting the code into one of my sites.

Does anyone have any ideas of how to fix this?

Thanks

Look in the page source of each site to see if GA is loading. Use Firebug as well, to see what's loading in terms of the javascripts involved with GA.

Is <?php wp_head(); ?> <?php wp_head(); ?> in header.php of your theme? That's required for plugins to load. See Function Reference/wp head « WordPress Codex

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM