Analytics
I have absolutely failed to run the plug-in
Analytics Friday, February 1, 2008
Nice Messages To Write
The solution? I stupidly used SkinGraft to edit the template of the site, and paste the GA just before the closing body tag.
And it works ...
Obviously, I have a template. With 200 different templates, it's less funny.
GA: return
So I was helped by a programmer of my knowledge. Here's how it proceeded:
- it creates a chunk called google-analytics code in which the contents of the Google code, type
\u0026lt;scri & # 112; t type = "text ; / javascript "& # 62; var
gaJsHost = (("https:" 
== document.location.protocol) ? 
"https://ssl." : "http://www."); 
document.write(unescape("%3Cscript src='" + 
gaJsHost + "google-analytics.com/ga.js' 
type='text/javascript'%3E%3C/script%3E"));  </script>  <script 
type="text/javascript"> var pageTracker = 
_gat._getTracker("UA-xxxxxxxxxx-x");  pageTracker._initData();  pageTracker._trackPageview(); 
\u0026lt;/ script>
- In template, it inserts a call:
\u0026lt;/ div> {{& # 103; oogle-analyte ics}} \u0026lt;/ body & # 62; \u0026lt;/ html>
And that's all. Voila. Easy!
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment