Skip to main content

How to add analytics tracking code to blogger

If you use classic template, go to "edit html", and add the code before body tag.

But if you use new template, and use this procedure, you will be not successful.

One problem is that blogger keeps changing my double quotes to "

And you may see error message, your template isn’t getting saved. The following error 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 content of elements must consist of well-formed character data or markup."

If you encounter those error massages, What you have to do is add the code in the html/Js page element. Go to Template, Add a Page Element, HTML/JS Script.

Comments

Realm said…
thanks. your post helped me to add Google analytics to my blog.

rameshnatesan.blogspot.com
Saurav Bhowmik said…
Nice post.
jeff said…
thnx a lot for your help!!!
Useful info for me.
Thank you...

Popular posts from this blog

How to Input Phonetic Symbols (IPA) in Google Docs

You can insert special characters by clicking "Insert" on the menu, then click the "Ω Special Characters", the choose "Latin" category from the drop-down menu, and then Phonetics (IPA) sub-category. Insert Special Characters in Google Docs There is a short-cut for inputting some IPA symbols which you use them frequently. Automatic Substitution in Google Docs similar to Auto Correct in MS Word. You can replace common acronyms, misspellings and other symbols. So you can set auto-replace for your IPA symbols, for example, "e<" for "ɛ", "o/" for "ø", "o>" for "ɔ" etc. Automatic Substitutions in Google Docs

Virgin Media Netgear Wireless Router Username and Password

As Virgin Media customer, if you find your wireless router is Netgear, then you may type the router's setup URL into a web browser address bar. http://192.168.0.1 is the default Netgear router IP address. http://192.168.1.1 will work for some Netgear models. Mine setup URL is http://192.168.1.1 . Then you are required to enter a username and password. If you haven't change the default setting, it is "virgin" and "password", you may find that on a label stuck on the router. This default username and password of Virgin Wireless router is different from that of the normal Netgear router. The default username of Netgear is admin and the password is either password or 1234. Then you open the configure interface, change the settings, such as change your DNS server to OpenDNS . For a normal Netgear router, if you forget the username and password, you can reset and restore the NETGEAR device to factory default settings. But I couldn't find any button on

Problems of Automatically Update Wordpress 2.7 to 2.71

I use byet freehost  for my Simple Machine forum , and Wordpress blog . I feel quite happy that I can automatically update SMF forum, but had problems of automatically update my W ordpress blog, the error message is: Unable to locate WordPress directory. Installation Failed There is some discuss in byet forum , but without satisfied answers. Any help, please?