WordPress.org

Ready to get started?Download WordPress

Forums

where do I put my google analytics?? (8 posts)

  1. iselaespana
    Member
    Posted 2 years ago #

    Hi quick question.. I know it says to add (code) to each of the pages I want it to track... i have not had a problem with that before since I had created separate pages before. However this time I have all my pages as categories.. How would I set this up and where exactly would I paste my code for maximum results. In a php file?

    Little confused.

    Thanks

    http://www.amexicaninthekitchen.com/

  2. justingreerbbi
    Member
    Posted 2 years ago #

    You can put the code in the footer.php of your theme.. Or install a plugin that will allow you to do this in the admin area

  3. justingreerbbi
    Member
    Posted 2 years ago #

    Try to avoid putting this code in your header file as sometime the page will not load before the GA code is triggered and you will get blank results in your statistics from Google

  4. iselaespana
    Member
    Posted 2 years ago #

    thank you... any particular plugin you prefer?

  5. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Add the code from Google (no need to use a plugin) just before the closing body tag. </body> (normally found in footer.php) each of your template files should call for footer.php (or other file with this code)...don't confuse the googlebot with this...keep it simple...

  6. BigGazza
    Member
    Posted 2 years ago #

    I have google analytics on my site and it is fantastic.There is so information about your site it is mind boggling!

  7. timDesain
    Member
    Posted 2 years ago #

    login as administrator.
    open

    http://DOMAIN/wp-admin/theme-editor.php

    klik Footer in the right side.
    put the code before </body> tag

  8. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    OR do same with an FTP client which is more reliable.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.