Customizing SMF > Modifications and Packages

Google Analytics Code

(1/41) > >>

SMF Customization Team:
Link to Mod

This mod allows a user to specify their Google Analytics code, e.g. UA-00000000-0, in the admin panel and the appropriate loader code will be added automatically.

Supports Classic and Babylon themes, in addition to SMF's default theme, but the instructions should work on any theme.

swtdivalove:
Works like a charm!  THANK YOU!

Arantor:
Good to know this worked for you. I'd like to add that this is part of a trend; more mods will be released by SMF Customization Team in due course :)

صلاح الدين:
Thank you this is the arabic translated

--- Code: ---$txt['googleAnalyticsCode'] = 'كود تحليلات قوقل<br /><span class="smalltext">E.g. UA-00000000-0</span>';
$helptxt['googleAnalyticsCode'] = 'هنا تضيف كود تحليلات قوقل الخاص بك, e.g. UA-00000000-0 بالتحديد كما قدمته قوقل لك, بعدها ستضاف تحليلا قوقل الى المنتدى من اجلك.';

--- End code ---

C4G-TK:
Never used the Google Analytics Code before.   When signing up, it gives you a code to put on your forum.  Do I still need to do this? 

Or, do I simply take out the UA string and put it in the textbox here once I install this mod?

Or, do I do both?  (If I have to do something else other than this mod, where do I paste the code that google gave me?)

Sorry, like I said.  N00b here regarding this.

Navigation

[0] Message Index

[#] Next page

Go to full version