? 1017384-ga-token-replace-cleanup.patch
? 609892-ga-fix-token-types-validation.patch
Index: googleanalytics.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/google_analytics/googleanalytics.admin.inc,v
retrieving revision 1.24.2.15
diff -u -p -r1.24.2.15 googleanalytics.admin.inc
--- googleanalytics.admin.inc	10 Jan 2011 23:38:09 -0000	1.24.2.15
+++ googleanalytics.admin.inc	12 Jan 2011 03:15:51 -0000
@@ -237,7 +237,7 @@ function googleanalytics_admin_settings_
       '#title_display' => 'invisible',
       '#type' => 'textfield',
       '#element_validate' => array('googleanalytics_token_element_validate'),
-      '#token_types' => array('all'),
+      '#token_types' => array('node'),
     );
     $form['googleanalytics_custom_var']['slots'][$i]['scope'] = array(
       '#default_value' => !empty($googleanalytics_custom_vars['slots'][$i]['scope']) ? $googleanalytics_custom_vars['slots'][$i]['scope'] : 3,
@@ -259,7 +259,7 @@ function googleanalytics_admin_settings_
   );
   $form['googleanalytics_custom_var']['googleanalytics_custom_var_token_tree'] = array(
     '#theme' => 'token_tree',
-    '#token_types' => 'all',
+    '#token_types' => array('node'),
   );
 
 
