MyBlogLog tracking code, which file is your's in? (Wordpress question)

Discussion in 'WordPress' started by kiplarson, Apr 18, 2007.

  1. #1
    I was thinking about putting the tracking code in my main index template in wordpress, but I realized that perhap the code won't track all the page views if it's just in the main index template. So should I add it to the single post template as well? Or am I just missing something obvious and should do it in a different location?

    Thanks in advance. I'm new to WP.
     
    kiplarson, Apr 18, 2007 IP
  2. mich_alex

    mich_alex Well-Known Member

    Messages:
    511
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    108
    #2
    as for me i put it in after the <body> tag and it works well.
    since wp system was based on template tag..just as wordpress codex mention..i don't think you have to worry if the tracking won't track in all page view.

    you can check on the mybloglog for more infos...personally i search and search couple of infos before i installed the mybloglog in my site.

    :)
     
    mich_alex, Apr 18, 2007 IP
  3. kiplarson

    kiplarson Peon

    Messages:
    449
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There is no body tag in my templates though :(
     
    kiplarson, Apr 19, 2007 IP
  4. jhmattern

    jhmattern Illustrious Member

    Messages:
    8,909
    Likes Received:
    794
    Best Answers:
    2
    Trophy Points:
    455
    #4
    Look in your header.
     
    jhmattern, Apr 19, 2007 IP
  5. kiplarson

    kiplarson Peon

    Messages:
    449
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Oh. Duh lol. Thanks, I looked in nearly every other file but that one.

    (I'm still a noob in WP)
     
    kiplarson, Apr 19, 2007 IP
    jhmattern likes this.
  6. john_nyc

    john_nyc Active Member

    Messages:
    982
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #6
    i believe i have all of my tracking code right before the </body> tag in the footer
     
    john_nyc, Apr 19, 2007 IP