RobertMidd Posted September 21, 2009 Share Posted September 21, 2009 File Name: [HK020] IPB 3.x - Google Analytics HookFile Submitter: RobertMiddFile Submitted: 28 Jul 2009File Updated: 24 Apr 2011File Category: Hooks and Plugins This hook allows you to place the code for Google Analytics into your site. Do you like this hook, then consider making a DonationClick here to download this file Link to comment
Vadiraj Posted January 10, 2010 Share Posted January 10, 2010 Hey I added this hook to my forum, published it, updated with my google analytic script...but script is not getting inserted in the output. Am I missing anything....Step by step instruction would be much appreciated.... Link to comment
Flightlutions Posted June 4, 2010 Share Posted June 4, 2010 Anyone know if this will work with IPB 3.1? Link to comment
Painted Horse Posted June 4, 2010 Share Posted June 4, 2010 [quote name='Flightlutions' date='04 June 2010 - 02:16 AM' timestamp='1275632193' post='1964283'] Anyone know if this will work with IPB 3.1? Why not just add your GA code to your global_template? Link to comment
Flightlutions Posted June 5, 2010 Share Posted June 5, 2010 [quote name='Painted Horse' date='04 June 2010 - 08:57 AM' timestamp='1275656262' post='1964470'] Why not just add your GA code to your global_template? Worked great! Thanks Link to comment
RobertMidd Posted June 8, 2010 Author Share Posted June 8, 2010 [quote name='Flightlutions' date='04 June 2010 - 07:16 AM' timestamp='1275632193' post='1964283'] Anyone know if this will work with IPB 3.1? I see no reason why it will not work with 3.1, it is a simple template hook. Link to comment
Abuzaid Posted July 19, 2010 Share Posted July 19, 2010 where can I put the UA-....... code the hook installed in my site and the options beside it is install uninstall that is all where to fill the parameter Link to comment
RobertMidd Posted July 20, 2010 Author Share Posted July 20, 2010 http://community.invisionpower.com/topic/316558-google-analytic-code/page__view__findpost__p__1990278 Link to comment
Tarun Posted August 24, 2010 Share Posted August 24, 2010 Robert, have you considered updating this for the new tracker style? It seems the new one is now placed in the head area, right before the closing </head> tag. Link to comment
RobertMidd Posted August 25, 2010 Author Share Posted August 25, 2010 [quote name='Tarun' timestamp='1282674091' post='2010930'] Robert, have you considered updating this for the new tracker style? It seems the new one is now placed in the head area, right before the closing </head> tag. There is no hook point just before the </head> tag, so that is not possible. The nearest place I could use is the end of the if statement USE_RTE = <if test="userte: .... and I am not sure that will be ok. Link to comment
Tarun Posted August 25, 2010 Share Posted August 25, 2010 Unfortunately it would not. I had to search for a bit yesterday and they say it works best in the head area. Worse, if it's not there you can't link Webmaster Central with Analytics. http://www.google.com/support/analytics/bin/answer.py?answer=174090 Link to comment
RobertMidd Posted August 26, 2010 Author Share Posted August 26, 2010 The hook point of USE_RTE = <if test="userte: .... is in the <head> area just not right before the </head> Link to comment
Zone Plate Posted September 5, 2010 Share Posted September 5, 2010 Ok, I have two 3.1.2 installs on the same server, one works and the other doesn't. No idea why. Both skins are just changes from the default skin and are almost exactly alike. Link to comment
Zhana Posted November 12, 2010 Share Posted November 12, 2010 Hello, Does it works with IPB 3.1.3? Thank you. Link to comment
Zhana Posted December 6, 2010 Share Posted December 6, 2010 Well no need for the plugin, I just copy/pasted the code from analytics and it works. Link to comment
RobertMidd Posted December 11, 2010 Author Share Posted December 11, 2010 [quote name='Zhana' timestamp='1291664400' post='2052585'] Well no need for the plugin, I just copy/pasted the code from analytics and it works. Of course it works but the purpose of the hook is so that you do not have to manually amend skin templates which is good when you have multiple skins or for those that do not like making manual changes. Link to comment
Axel Wers Posted December 11, 2010 Share Posted December 11, 2010 Works good on my side, thanks. Link to comment
vitor dinis reis Posted March 24, 2011 Share Posted March 24, 2011 how to remove i am not able to remove this hook IP.Board Message You cannot remove this setting group as it still contains active settings. Please remove the settings inside it first. and there is remove option for setting Link to comment
JahLion Posted August 14, 2011 Share Posted August 14, 2011 Will this work with 3.2.1,it's a great little hook and save lot time.... Link to comment
RobertMidd Posted August 29, 2011 Author Share Posted August 29, 2011 It should do, not tried myself. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.