what would be the ideal place to add google analytics code in a drupal instance ? and also i would like to know if there any modules that can be used to manage events which include signing up ,and having fil up some details and admin to maintain that signing up ?
thanks
S.Theyagarajan wrote:
what would be the ideal place to add google analytics code in a drupal instance ?
Right here: http://drupal.org/project/google_analytics :)
Cheers,
Bill
thanks taggy http://theyagar.info
S.Theyagarajan Under Graduate Department Of Computer Science And Engineering National Institute Of Technology , Trichirapalli India 620015
On 7/13/07, S.Theyagarajan theyaga@gmail.com wrote:
what would be the ideal place to add google analytics code in a drupal instance ?
There is a drupal module for this : http://drupal.org/node/49388
I believe this module puts the code just before </body>
and also i would like to know if there any modules that can be used to manage events which include signing up ,and having fil up some details and admin to maintain that signing up ?
google is your friend : http://www.google.be/search?q=drupal+event+module&ie=utf-8&oe=utf-8&...
hth
Philippe
thanks
--
thanks taggy http://theyagar.info
S.Theyagarajan Under Graduate Department Of Computer Science And Engineering National Institute Of Technology , Trichirapalli India 620015 -- [ Drupal support list | http://lists.drupal.org/ ]
Hi,
I suggest you use the Google Analytics Module http://drupal.org/node/49388
Peter
_____
Von: support-bounces@drupal.org [mailto:support-bounces@drupal.org] Im Auftrag von S.Theyagarajan Gesendet: Freitag, 13. Juli 2007 19:14 An: support@drupal.org Betreff: [support] Google analytics
what would be the ideal place to add google analytics code in a drupal instance ? and also i would like to know if there any modules that can be used to manage events which include signing up ,and having fil up some details and admin to maintain that signing up ?
thanks
S.Theyagarajan wrote:
what would be the ideal place to add google analytics code in a drupal instance ?
Although the module suggestions are the best way to go in an ideal world (easier for a non-developer to switch on and off), if you're finding that your site is running slow then you could just put the Google Analytics code anywhere in your page and disable the module.
The code fragment is only two <script> tags, one of which brings in the Google Analytics library, and one of which sets it all running for your particular Analytics account. It would be quick to hardcode this, and unless your site administrators are turning it on and off on a daily basis for some reason (e.g. testing) quick for a PHP programmer not well versed in Drupal to find and remove when necessary.
I can't find the website at the moment, but I remember reading that the best place to put <script> tags for site performance is just before the end of your page content, so inside the </body> tag as someone said the module does. That way the page appears in the browser before the script is executed, rather than the other way round.
Cheers, J-P