SMF Support > SMF 1.1.x Support

Google Analytics

(1/5) > >>

SMF Version: SMF 1.1 RC2
What would be a good file to place Google Analytics code in so that it loads on everypage?

Put it right before the </body> tag in index.template.php. You'll have to do this for every theme, but it will load on ever page.

Personally, I put the code inside a javascript / html block in Tiny portal. It's been working fine there. I also put it inside my 'shop' .

Analytics is cool.

How long does it take for analytics to update?  I've had the code there for hours and I see no stats yet.

Give it at least one day to begin gathering information.

And you'll see all kinds of little dots over your map. :)


[0] Message Index

[#] Next page

Go to full version