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

Tobias Maier’s picture

so 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?

Tobias Maier’s picture

Status: Active » Fixed

should be fixed

thanks

budda’s picture

Assigned: Unassigned » budda

Have 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.

Julien PHAM’s picture

btw 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...

budda’s picture

As per the README, "'admin/' pages are automatically ignored by Google Analytics."

I will consider adding a list of pages not to track later on.

Anonymous’s picture

Status: Fixed » Closed (fixed)