• Resolved wpgal

    (@wpgal)


    How do I insert the Google Analytics tracking code into my Word Press blog? Through a text widget?

    Thanks,
    A Newbie

Viewing 6 replies - 1 through 6 (of 6 total)
  • Did you not read the documentation from Google?

    “It should be immediately before the </body> tag of your page.”

    Thread Starter wpgal

    (@wpgal)

    Yes, I did read the documentation and I have successfully installed the tracking code on my site’s html pages.

    But where is the html page in my Word Press blog?

    WordPress doesn’t have any HTML pages – it’s dynamic. Look in footer.php for the closing </body> tag.

    wpgal,
    This might be helpful for you, too.

    Thread Starter wpgal

    (@wpgal)

    Thanks LenK. I put the code in the theme’s footer.php and now I’m waiting for data.

    OMFG… I suck at PHP… and there is no closing body tag in my footer.php


    …heres whats in my footer.php…
    {{{{{{</div>
    <!– main END –>

    <?php get_sidebar(); ?>
    <div class=”fixed”></div>
    </div>
    <!– content END –>

    <?php include(‘templates/end.php’); ?>}}}}}}}}
    How confusing is that… I have to learn this chicken scratch? It seems more complex than c++…lol help, please

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Google Analytics’ is closed to new replies.