Closed (fixed)
Project:
Google Analytics
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
1 Aug 2006 at 15:42 UTC
Updated:
29 Oct 2006 at 23:46 UTC
allow admin to type in a _udn value on settings page and use that in the tracking code. see http://www.google.com/support/analytics/bin/answer.py?answer=27268&topic....
perhaps just add a textarea where admin can enter arbitrary javascript to be inserted.
Comments
Comment #1
buddaThe textarea in an advanced section might be the way to go - if a little more prone to allowing users to bugger up their site javascript :)
I'm still not clear after reading Googles help on what this function is doing - or how it should be called, if i was adding a specific field for it in the settings form.
Multiple subdomains doesn't quite explain it.
Comment #2
moshe weitzman commentedwell, i would prefer the textarea for raw javascript anyway. For the help text, say something like "For ideas on javascript to use here, see http://cutroni.com/blog/"
i think of this module as a quick way to add analytics to your site *without having to touch the theme*. we don't walk our users through the intricacies of __utmSetVar() and filters.
Comment #3
moshe weitzman commentedWe could encourage users to share their javascript at http://drupal.org/node/39282
Comment #4
budda__utmSetVar() support was recently added to the 4-7 version of the module.
Comment #5
buddaAdvanced code snippet textarea added to the 4-7 branch.
Comment #6
(not verified) commented