How to Set up Google Analytics in WordPress blog?

Discussion in 'WordPress' started by danielstallon, Sep 4, 2008.

  1. #1
    hi Guys

    I need to set up Google Analytic in Word press Blog.

    please advise and reply me how can i add analytic code to these blogs?

    Awaiting for reply.

    your comments would be appreciated.

    Daniel Stallon
    :cool:
     
    danielstallon, Sep 4, 2008 IP
  2. falguni1

    falguni1 Peon

    Messages:
    3,016
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    0
    #2
    there is a plugin called ultimate-google-analytics.
     
    falguni1, Sep 4, 2008 IP
  3. Spawny

    Spawny Well-Known Member

    Messages:
    252
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #3
    copy the code and paste it to your footer.php
     
    Spawny, Sep 4, 2008 IP
  4. danielstallon

    danielstallon Guest

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Guys can u listed down the steps for me please???
     
    danielstallon, Sep 4, 2008 IP
  5. danielstallon

    danielstallon Guest

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    can u tell me how to add that code with the help of plugin?
     
    danielstallon, Sep 4, 2008 IP
  6. ThoughtPunk

    ThoughtPunk Active Member

    Messages:
    1,135
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    78
    #6
    ya, give me a sec to type it out.. it will be here.
     
    ThoughtPunk, Sep 4, 2008 IP
  7. ThoughtPunk

    ThoughtPunk Active Member

    Messages:
    1,135
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    78
    #7
    Go to this page and download the plugin. Download it, upzip it, and read the readme file.

    Then upload it to your wordpress directory. /wp-content > plugins >

    Log into your wordpress and go to plugins tab and active it.

    ------------------

    in the Google Analytics end.

    go to Create New Website Profile and follow the steps.

    -----------------------------

    back in your wordpress area you'll have to enter a tracking ID - It will start with a UL xxxxxx-xx

    check it again tomorrow and make sure everything is tracking in analytics
     
    ThoughtPunk, Sep 4, 2008 IP
  8. beacon

    beacon Peon

    Messages:
    93
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I am doing so:
    1. Open wp-blog-header.php
    2. Before require_once(ABSPATH . WPINC . '/template-loader.php'); past code
      ?>  Google analitics JS<?
      Code (markup):
    3. close file
    ALL :)
     
    beacon, Sep 4, 2008 IP
  9. danielstallon

    danielstallon Guest

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    How to upload plugin to wordpress directory ??
    /wp-content > plugins
     
    danielstallon, Sep 4, 2008 IP
  10. danielstallon

    danielstallon Guest

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    where and how to open footer.php ??
     
    danielstallon, Sep 4, 2008 IP
  11. danielstallon

    danielstallon Guest

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    where is wp-blog-header.php???
     
    danielstallon, Sep 4, 2008 IP
  12. ThoughtPunk

    ThoughtPunk Active Member

    Messages:
    1,135
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    78
    #12
    You need to use FTP program and navigate to the plugins directory.
     
    ThoughtPunk, Sep 4, 2008 IP
  13. Vipertooth

    Vipertooth Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Use either CPanel's filemanager or FTP Client,
    Put the file inside /wp-content/plugins/


    Or you could just log into your administration area, click on "Design", "Theme Editor", look for "footer.php"
    Paste the analytics code before </body>
    Update
    That's all you need :)
     
    Vipertooth, Sep 4, 2008 IP
  14. ThoughtPunk

    ThoughtPunk Active Member

    Messages:
    1,135
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    78
    #14
    [​IMG]
     
    ThoughtPunk, Sep 4, 2008 IP
  15. danielstallon

    danielstallon Guest

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    can u setup acc. for my wordpress blog?? i'll give u my blog details
     
    danielstallon, Sep 4, 2008 IP
  16. ThoughtPunk

    ThoughtPunk Active Member

    Messages:
    1,135
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    78
    #16

    True, I forgot about. My mind is stuck in dreamweaver mode. :confused:
     
    ThoughtPunk, Sep 4, 2008 IP
  17. Vipertooth

    Vipertooth Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Yup, this wouldn't be hard :)
     
    Vipertooth, Sep 4, 2008 IP
  18. danielstallon

    danielstallon Guest

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    wait guys i just downloas FTP Program
     
    danielstallon, Sep 4, 2008 IP
  19. danielstallon

    danielstallon Guest

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    here i started smartFTP i just startd it . i am beginner. now what should i do??
     
    danielstallon, Sep 4, 2008 IP
  20. danielstallon

    danielstallon Guest

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    ThoughtPunk & Vipertooth can u explain me??
     
    danielstallon, Sep 4, 2008 IP