View Full Version : Google Analytics Tracking Code
wowhot
Feb-21-2010, 05:12 PM
hi
I'm trying to install a Google Analytics Tracking Code:
they instruct me to : Copy the code, then paste it onto every page you want to track immediately before the </body> tag.
As i can not see a straight forward place to add this code in every page:
how do i do it,,, and can i be dangerous to allow some body to get into my site and take my images ...
:scratchthanks
jfriend
Feb-21-2010, 05:18 PM
Put it in your custom footer in the site-wide-customization page in the control panel.
wowhot
Feb-21-2010, 06:08 PM
So does that mean i only have to enter it once into my css and not into every page like Google have instructed me?
also is there any danger with using this
Allen
Feb-21-2010, 06:25 PM
So does that mean i only have to enter it once into my css and not into every page like Google have instructed me?
also is there any danger with using this
The advanced site-wide customization boxes apply to every page on your
site. So only need it there. Don't enter in your CSS, it's html and goes in
your footer like John said.
No danger that I've read about or seen.
wowhot
Feb-22-2010, 05:46 AM
The advanced site-wide customization boxes apply to every page on your
site. So only need it there. Don't enter in your CSS, it's html and goes in
your footer like John said.
No danger that I've read about or seen.
ok now i have made the correct changes but unfortunately the text can be seen at the bottom of every page what is the problem with this.
how do i get ride of this and still allow Google anlitics to functional correctly
Allen
Feb-22-2010, 05:55 AM
ok now i have made the correct changes but unfortunately the text can be seen at the bottom of every page what is the problem with this.
how do i get ride of this and still allow Google anlitics to functional correctly
Looks like you need to paste the code in again. I see a bunch of ******* in you footer.
wowhot
Feb-22-2010, 06:22 AM
Looks like you need to paste the code in again. I see a bunch of ******* in you footer.
******** type="text/javascript">
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"));
</********
******** type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-11478242-2");
pageTracker._trackPageview();
} catch(err) {}</********
this is what the code looks like i was given from google. am i suppose to remove all the ****...
whats going on????????
Allen
Feb-22-2010, 06:25 AM
******** type="text/javascript">
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"));
</********
******** type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-11478242-2");
pageTracker._trackPageview();
} catch(err) {}</********
this is what the code looks like i was given from google. am i suppose to remove all the ****...
whats going on???????? See if this works, replaced the ********'s
<script type="text/javascript">
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">
try {
var pageTracker = _gat._getTracker("UA-11478242-2");
pageTracker._trackPageview();
} catch(err) {}</script>
wowhot
Feb-22-2010, 06:32 AM
See if this works, replaced the ********'s
<script type="text/javascript">
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">
try {
var pageTracker = _gat._getTracker("UA-11478242-2");
pageTracker._trackPageview();
} catch(err) {}</script>
thanks
hay thats cool its vanished... i hope it works...!!!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.