How do i put google analytics in my wordpress blog.

Discussion in 'Google Analytics' started by rome9t9, Apr 7, 2008.

  1. sarahwalter

    sarahwalter Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #21
    I am using yoast SEO plugin so that already have an option in that so I dont need any other plugin for doing that
     
    sarahwalter, Nov 29, 2011 IP
  2. stevetalk

    stevetalk Peon

    Messages:
    77
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #22
    lots of plugin avalibale for wordpress blog analytics.
     
    stevetalk, Nov 30, 2011 IP
  3. m1ndless

    m1ndless Peon

    Messages:
    1,112
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #23
    No need for a plugin, just add the code into your header.php file at the end before the </header> tag
     
    m1ndless, Nov 30, 2011 IP
  4. CoRare

    CoRare Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #24
    He's right, you don't need plugins, everything is much easier. just add a tag, and everything will work.
     
    CoRare, Nov 30, 2011 IP
  5. Mark12

    Mark12 Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #25
    There is no need to put any analytic code to a wordpress blog because there is a inbuilt tracking features is available in the wordpress blog where you can easily see you traffic sources or any other website status.
     
    Mark12, Dec 1, 2011 IP
  6. KristenKr

    KristenKr Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #26
    WordPress Theme Editor - select file header or footer click on edit,
    after just paste Google analytic code in bottom of page .......... and its done and work properly ....
     
    KristenKr, Dec 1, 2011 IP
  7. ansh1593

    ansh1593 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #27
    copy and paste your code anywhere, in the header, footer, sidebars :)
     
    ansh1593, Dec 3, 2011 IP
  8. sussah

    sussah Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #28
    Does it matter in which .php file it's in, is template.php good?
     
    sussah, Dec 3, 2011 IP
  9. drkunalup

    drkunalup Peon

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #29
    add the code in the head part.
    between <head></head>
     
    drkunalup, Dec 3, 2011 IP
  10. cashconnect

    cashconnect Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #30
    All you need to do is insert your Google adsense code and it will take care of analytics for you.
     
    cashconnect, Dec 10, 2011 IP
  11. ansh1593

    ansh1593 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #31
    people i want to verify how many adsense codes can we put on a webpage?
     
    ansh1593, Dec 10, 2011 IP
  12. Page1

    Page1 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #32
    I think it's better to add Google analytics to header tag rather than to footer tag.
    Try to limit the number of plugins as they will slow down your site
     
    Page1, Jan 25, 2012 IP
  13. justdesi

    justdesi Greenhorn

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #33
    justdesi, Jan 26, 2012 IP
  14. coreseo

    coreseo Member

    Messages:
    97
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #34
    once u create your analytics account, you will provided with a code.

    This code should be inserted in header.php file in WP blog.

    Insert it in just above the </head>

    you can also add it to all pages as well..
     
    coreseo, Jan 27, 2012 IP
  15. silverbbi

    silverbbi Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #35
    1.Get a Google Analytics account.
    2. Add your website address in the account and get the analytics code.
    3. Login to your WordPress blog admin or Dashboard.
    4. Go to Design->Theme Editor
    5. On the right hand side look for a file which says Footer.
    6. Look for the tag which says < /body >
    7. Paste the analytics code, just above that tag.
    8. Save the file & that’s it.
     
    silverbbi, Jan 30, 2012 IP
  16. Tiberius14

    Tiberius14 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #36
    Hi
    simplest way imho is install Google analytics for Wordpress. It's a free plugin and it contains also a button to real time authentication.
     
    Tiberius14, Feb 6, 2012 IP
  17. grim111

    grim111 Banned

    Messages:
    98
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    35
    #37
    There is bunch of plugins, me personally tried one that didn't work, so I just insert code in to html.
     
    grim111, Feb 6, 2012 IP
  18. bhamlett

    bhamlett Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #38
    You can use a plugin if you want, however, I find that if I'm already using 10 or so plugins and all I want to do is add Google Analytics code, then it's better just to edit the template file FOOTER.PHP underneath the "Appearance->Editor" tab (in WordPress version 3+) so I don't have the extra plugin that has to be processed each time a page is displayed.

    Just open that file and put your Google Analytics code before the closing body tag (</body>) and you should be good to go.

    WARNING: Just note, if you've used a free theme and there is a theme upgrade, it might overwrite the footer.php file... thus erasing your GA code.
     
    bhamlett, Feb 7, 2012 IP
  19. kinggod

    kinggod Greenhorn

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #39
    sign up in google analytics. some keyword generated ;then Once you have installed Google Analytics keyword in your site, . Then you will be taken to the overview of your site’s analytics.
     
    kinggod, Feb 9, 2012 IP
  20. Rauny

    Rauny Peon

    Messages:
    91
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #40
    Rauny, Feb 9, 2012 IP