• I have installed the plug in for google analytics from https://yoast.com/wordpress/google-analytics/ and added code correctly my uA tracking ID
    The help page states in faqs
    I’m logged out and I still don’t see the tag code on my posts or pages?
    Check whether your theme calls wp_footer(); in footer.php, if it doesn’t, add it

    Have looked at footer.php and wp_footer is not called
    Cam sks please give me the exact line of code I should add to footer.php

    Mnay thanks in advance

Viewing 6 replies - 16 through 21 (of 21 total)
  • Hi again,

    I am also relatively new to Word Press and my theme is flexi-blue.

    I will appreciate any help.

    Kind Regards,

    Yilmaz Cesur,
    Melbourne – Australia.

    I put lines suggested by jonathanstegall in between the last two </div> and it seems to be fixed now.

    Thanks everyone.

    Yilmaz Cesur.

    Ok – if we can put <?php wp_footer(); ?> into footer.php can’t we just put our analytics code right there and it shows up?

    If so, what’s the point of this plugin – especially if you still have to edit footer.php?

    I just edited footer.php and put my analytics code in there right before the </body> tag and the analytics load on every page.

    Am I missing something? Why is there a plugin for this??

    I made the change as zhihong did since I am using the same theme (inove). It worked for me also. GA is now tracking.

    I have to say, I’m in agreement with traynor, if you insert the GA code into the footer.php file making it work, then why would you need the plugin? I believe I’m going to try it and see if it works for me.

    what is the google analytics code suppose to lookk like on the footer php? is it the same as the tracking code from google ?

    please advice which code to put where thanks: ) ??

    I have looked at my footer.php file and it has the correct codes. But, my footer is not displaying at all and Google analytics is not tracking.

    I use the NeoClassical 2 column theme. The footer.php file contains:

    <!– APPRECIATIONS IF YOU LEAVE ALL LINKS INTACT. THANKS! –><div id=”footer”> <p>Copyright © <script type=”text/javascript” language=”JavaScript”><!–var today = new Date();document.write(today.getFullYear());//–></script> /”> ~ <?php bloginfo(‘url’);?>
    2 Column Neoclassical Theme <?php wp_footer(); ?></div></div></div><!–[if lte IE 7]><div id=”ie_clear”></div><![endif]–></body></html>

    When I load my page & look at source code I can see the GA codes there. Not sure why it’s not working.

    Can anyone help?

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘[Plugin: Google Analytics for WordPress] wp_footer not called’ is closed to new replies.