Google Analytics [AGAIN]
<ed>
Registered Users Posts: 31 Big grins
Sorry, I know this gets old !
I have added the " UA # But on the Google Analytic s page it says to paste this code to my site
"2. Paste this code on your site
Copy the following code, then paste it onto every page you want to track immediately before the closing </head> tag. ?"
script type="text/javascript"
var _gaq = _gaq || [];
_gaq.push();
_gaq.push();
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
/script
Do we need this ? If so Where do I put it ? Thanks for any help ed
I have added the " UA # But on the Google Analytic s page it says to paste this code to my site
"2. Paste this code on your site
Copy the following code, then paste it onto every page you want to track immediately before the closing </head> tag. ?"
script type="text/javascript"
var _gaq = _gaq || [];
_gaq.push();
_gaq.push();
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
/script
Do we need this ? If so Where do I put it ? Thanks for any help ed
0
Comments
Portfolio • Workshops • Facebook • Twitter
http://dgrin.smugmug.com/gallery/1092684
My Website index | My Blog
Beware though that adding a lot of javascript will affect your site load time on slower computers and phones.
Want faster uploading? Vote for FTP!