We are running Drupal 6.16 and have noticed that the hook_footer is called multiple times, this is causing the google analytics module to write the javascript multiple times to one page. Not sure if this is a bug, but none of our sites did this on Drupal 6.15 so we are leaning towards this is a bug. Thank you very much for a great module that we have enjoyed over the years.

Comments

hass’s picture

Category: bug » support
Status: Active » Fixed

Never seen this myself. You must have a buggy module or core have a bug. GA only implements the hook, it's not responsible for how often it is called - if it's called more than once.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Offlein’s picture

Status: Closed (fixed) » Active

I have this issue, too. Don't know whether it changed when I switched to 6.16. Also don't know whether it works on a fresh install - can anyone test that? I will try later.

hass’s picture

Project: Google Analytics » Drupal core
Version: 6.x-2.2 » 6.16
Component: Code » base system
Category: support » bug

Moving to core where the bug must reside. Fully unverified myself.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.