Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Where to put google analytic tracking code to get it working ?

Aloittaja sbclansite.com, kesäkuu 12, 2006, 12:45:58 AP

« edellinen - seuraava »

sbclansite.com

Hey anyone knows how i can add google analytic code on my forums as i cannot find <body> < /body> section anywhere i try to add it in index.template.php after before the <title> but google doesnt pick it up at all. So where to put that code. Help required  ;D

Code looks like this :

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct="UA-xxxx-x";
urchinTracker();
</script>
The Mod , Modifier :). For Mods/Scripts/GameServer Installations contact me via http://www.forums.sbclansite.com <<Free Image hosting, Free WebHosting and Free Featured Listing available also.
Webhosting @ 1.55$ : http://www.a1whs.com
Free Seo Friendly Directory : http://www.sbclansite.com

StarBuG

In index.template.php find:


</body></html>';


Add before:


<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "your CODE here";
urchinTracker();
</script>


;)
Elternfragen.net - Das Forum für Eltern (SMF)
Fragen und Antworten rund um das Thema Kinder, Entwicklung, Ernährung und Gesundheit unserer Kleinen.
-------------
Patientenfragen.net - Das Forum von Patienten für Patienten
Fragen und Antworten rund um das Thema Krankheit und Gesundheit.
-------------
Hiphop-Battles.com - Version 2
The new standard in online hip hop battles

aandreil

I've seen this suggested in loads of places, but it doesn't seem to work with me.

Neither does the Ad Manager addon. What's going on, I wonder?

Advertisement: