HELP With Stat-Counter Code

Discussion in 'Blogging' started by ozim400, Jan 19, 2007.

  1. #1
    Hi,

    I've tried several times to instal the statcounter code on my blog (I'm using blogger) but I kept receiving 'rejection' notification.

    Here is the message:
    ----------------
    We were unable to save your template

    Please correct the error below, and submit your template again.

    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: The element type "img" must be terminated by the matching end-tag "".

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

    NOTE: I followed the instruction to post the code after the [body] and before the [/body] tags.

    Can you please let me know what I am doing wrong?

    Thanks
     
    ozim400, Jan 19, 2007 IP
  2. YIAM

    YIAM Notable Member

    Messages:
    2,480
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Which version of Blogger you are using? New or Old
     
    YIAM, Jan 19, 2007 IP
  3. choward93

    choward93 Active Member

    Messages:
    151
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    65
    #3
    try putting it right before the [/body] tag. It usually works there for me.
     
    choward93, Jan 19, 2007 IP
  4. CountryBoy

    CountryBoy Prominent Member

    Messages:
    8,970
    Likes Received:
    754
    Best Answers:
    0
    Trophy Points:
    360
    #4
    I'm not meaning to sound patronising here, but are you sure you're using the entire code (eg. use CTRL + A to select it)? I recommend upgrading to the new version of Blogger because it's way simpler to use - just go to the layout screen, create a new 'HTML/Java' element and paste your code in it.
     
    CountryBoy, Jan 19, 2007 IP
  5. nikg

    nikg Well-Known Member

    Messages:
    642
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    120
    #5
    Looks like you miss a "

    Copy the code, look for [/body] tag and paste the code just before that
     
    nikg, Jan 19, 2007 IP
  6. john_nyc

    john_nyc Active Member

    Messages:
    982
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #6
    usually most stat sites want to be right before the /body tag and this is usually found in your footer
     
    john_nyc, Jan 19, 2007 IP
  7. ozim400

    ozim400 Active Member

    Messages:
    340
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #7
    Yes, CountryBoy,

    I executed your idea and it worked very well. :)

    I am using the newer version of blogger

     
    ozim400, Jan 20, 2007 IP