Tuesday, February 23, 2010

Google Analytics and Blogger

I been playing around with Google Analytics and thought it would be fun and a good learning experience to track these posts. So i created a profile for this blog. It tells me that:

"The Google Analytics tracking code has not been detected on your website's home page."

Ok, no problem. It allows me to copy the needed code. So i open a recent post, goto the HTML editor and paste in the code.

When i go to save the post i get an error message - "Cannot connect to web site". Odd - i remove the javascript i just pasted it and it saves ok with no error.

- i just added the sentence below and tried to save and it complained about a broken blank line tag error so i removed the code and it saved ok.

I did it again, this time i placed it at the end of the text and it saved ok - maybe just a server problem...of course i now have to place the code on all posts...

No comments: