Is the correct way to implement GA for a Drupal site via the module or placing the tracking code on the template pages? I suppose if I do it via the module, changes in themes wont affect stats, is that correct?

Comments

Jeff Burnz’s picture

that would be correct I would assume, although its very easy to impliment in the templates.

Road Runner’s picture

For something this easy why would we want to overhead of a module? Why not just stick the script in the footer inside a block or whatever.

Jeff Burnz’s picture

one interesting thing about the module though is that is caches the Urchin or GA code locally, which should speed things up.

rgracia’s picture

I have configured the module and it says it's working. I see how it's useful as it does track everything automatically with minimal configuration and quite detailed. Let' see how the stats look in a few days.

rgracia’s picture

So where exactly do I see the analytics for the downloaded pdfs as configured by the module? Does it generate additional reports within Google Analytics? Or within Drupal's admin page?

hass’s picture

use the module.