summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--googleanalytics.admin.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/googleanalytics.admin.inc b/googleanalytics.admin.inc
index f690bcc..e2dcf3b 100644
--- a/googleanalytics.admin.inc
+++ b/googleanalytics.admin.inc
@@ -318,6 +318,7 @@ function googleanalytics_admin_settings_form($form_state) {
$form['googleanalytics_custom_var']['slots'][$i]['value'] = array(
'#default_value' => !empty($googleanalytics_custom_vars['slots'][$i]['value']) ? $googleanalytics_custom_vars['slots'][$i]['value'] : '',
'#description' => t('The custom variable value. You may use tokens in this field.'),
+ '#maxlength' => 255,
'#title' => t('Custom variable value #@slot', array('@slot' => $i)),
'#title_display' => 'invisible',
'#type' => 'textfield',