Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Google Analytics, why does it require a plugin?

edited February 2011 in Vanilla 2.0 - 2.8
I was wondering why Google Analytics requires to be implemented by a plugin. Why can't I just cut/paste code into my template?

I noticed when I did that, I get a bonk page! Putting the block just before the header is what I do with almost every other site/template system I use.

Comments

  • Would Smarty {literal} tags work to embed the Google Analytics javascript directly in the template within the header?
Sign In or Register to comment.