1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can I add google analytic code in my wordpress blog?

Discussion in 'Blogging' started by anumandava, Oct 30, 2012.

  1. anumandava

    anumandava Newbie

    Joined:
    Oct 30, 2012
    Messages:
    2
    Likes Received:
    0
    Home Page:
    Hi, I want to add google analytic code in my wordpress blog. So, how can & where can i edit my wordpress blog code?
     
  2. stockbob55

    stockbob55 Registered Member

    Joined:
    Nov 5, 2011
    Messages:
    84
    Likes Received:
    49
    With a wordpress blog the easiest way is to use a plugin, search inside your dashboard for simple Google analytic etc.
    Activate and then add your analytics ID number.
    The other way is by adding the whole code to the header file in the editor, paste the code in before the closing body tag.
     
  3. bk071

    bk071 Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Nov 24, 2010
    Messages:
    3,104
    Likes Received:
    7,915
    Occupation:
    I don't have a job
    Location:
    .............
  4. briptech

    briptech Power Member

    Joined:
    Apr 4, 2011
    Messages:
    534
    Likes Received:
    205
    Gender:
    Male
    Occupation:
    SEO Specialist
    Location:
    BHW
    Home Page:
  5. thehighmind

    thehighmind Regular Member

    Joined:
    Oct 24, 2010
    Messages:
    342
    Likes Received:
    56
    Occupation:
    Web Marketer
    Location:
    Location Location Location
    You can add it anywhere. Go to apereance, editor, footer.php and add it there. Or just simple add a text widget in your sidebar, add the code there and save
     
  6. mickyfu

    mickyfu Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 14, 2011
    Messages:
    5,273
    Likes Received:
    15,429
    Location:
    Jennifers Office.
    I really would not use anything associated with Google on any of my sites, you are just giving them extra info that they need not know.
     
  7. 0scan0

    0scan0 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 9, 2010
    Messages:
    166
    Likes Received:
    42
    Location:
    1.1.3
    Yeah a wordpress plugin is the easiest way to go. Just go to "Plugins" and then "add new" and search for Google Analytics etc.

    Hope it helps.
     
  8. lapete

    lapete Newbie

    Joined:
    Nov 4, 2012
    Messages:
    17
    Likes Received:
    0
    Search for Google analytics for wordpress in the plug ins. install, activate and punch in your code. The plug in is customizable and gives some great info