Closed (fixed)
Project:
Google Analytics
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
23 May 2006 at 13:55 UTC
Updated:
29 Jun 2006 at 10:45 UTC
This is a great module but it would be nice to be able to disable this module for specific pages. For instance, my users login using https but since this module connects to google, users are warned about secure and non-secure connections on the page.
Comments
Comment #1
Tobias Maier commentedso the solution would be to use https://ssl.google-analytics.com/urchin.js
it we are on a ssl site
could you look at your phpinfo() if there is some value ($_SERVER[], etc.) which could us tell that we are on a secured page?
Comment #2
Tobias Maier commentedshould be fixed
thanks
Comment #3
buddaHave added a check before the javascript is injected in to the html head. I've committed to both CVS and 4.7 branches.
To test I inverted the logic to load the SSL version of urchin.js -- thanks for the tip-off about https://ssl. instead of www.
Comment #4
Julien PHAM commentedbtw I wonder... does google analytic tracks page such as the submission content page, or the admins page, or any other drupal specific page it should not track ? Indeed as in some drupal settings, would be fine to put a list of pages with wildcards googleanalytics should not track...
Comment #5
buddaAs per the README, "'admin/' pages are automatically ignored by Google Analytics."
I will consider adding a list of pages not to track later on.
Comment #6
(not verified) commented