Analytics [message #165957] |
Fri, 02 September 2011 12:41 |
|
Anik
Messages: 36 Registered: August 2011 Location: India
Karma: 0
|
Member |
|
|
Hello,
i was trying to add ggl analytics code on my forum..
but each time i am adding it to the header.tmpl file, th forum becoming unusable..
even i can't access the admin panel also..
i tried the footer file,
but same problem..
do you have any idea where i have to add it?
Thanks,
|
|
|
Re: Analytics [message #165958 is a reply to message #165957] |
Fri, 02 September 2011 12:48 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
I don't mess with such things but I'm pretty sure it goes in the footer, do a search I believe there was a topic on it some time back that might have more info.
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
|
|
|
Re: Analytics [message #165968 is a reply to message #165964] |
Fri, 02 September 2011 15:57 |
|
Anik
Messages: 36 Registered: August 2011 Location: India
Karma: 0
|
Member |
|
|
u mean this
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24****9-1']);
_gaq.push(['_trackPageview']);
(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>
to this,
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "UA-24****9-1"]);
_gaq.push(["_trackPageview"]);
(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>
[Updated on: Fri, 02 September 2011 15:58] Report message to a moderator
|
|
|