Is there any way to put google analytics on my site?

Started by ThePro, November 06, 2008, 06:41:54 PM

Previous topic - Next topic

ThePro

i have an smf forum and i want to know if its possible to put google analytics on my forum

Adish - (F.L.A.M.E.R)

As google analytics searches for a code which should be present all over the forum, use the Global Headers and Footers Mod, put the code in the header or footer, and it is all done.

http://custom.simplemachines.org/mods/index.php?mod=351


ThePro


Frantix

Thanks for the mod link!  Worked like a charm for me.  I had tried the index.template.php before or after the php code and it killed captcha and this solved everything.

Thanks again!
Success breeds complacency. Complacency breeds failure. Only the paranoid survive. -Andy Grove

Afro

This Global header can do more than people know...i have been using it to add alot of thing on the forum...Great mod

Briankbc

Hi

There are so many posts asking this question that I wrote a blog post specially for it.

Actually, it inspired the blog itself.

The code is provided and the solution is discussed here:
Simple Machines Forum Software and Google Analytics [nofollow]

Please try it and provide feedback thru blog comments.


Brian

Advertisement: