summaryrefslogtreecommitdiffstats
path: root/googleanalytics.admin.inc
diff options
context:
space:
mode:
authorhass2008-05-03 19:26:59 (GMT)
committerhass2008-05-03 19:26:59 (GMT)
commitda8422a7865ff89a46bb5f5f63ebf22818e13b8b (patch)
treeccb21811f3124a72ec850d98dbfb19d46c73eba3 /googleanalytics.admin.inc
parent720bcf03611cb4c217fdc6bc02ce29e7ebe14fb7 (diff)
* Added mailto link tracking (#196473)
* Added outgoing link tracking setting * Fixed broken GA website overlay * Cleanup downloadtracker.js / new file name
Diffstat (limited to 'googleanalytics.admin.inc')
-rw-r--r--googleanalytics.admin.inc16
1 files changed, 14 insertions, 2 deletions
diff --git a/googleanalytics.admin.inc b/googleanalytics.admin.inc
index 5a69283..6643e0c 100644
--- a/googleanalytics.admin.inc
+++ b/googleanalytics.admin.inc
@@ -140,10 +140,22 @@ function googleanalytics_admin_settings_form(&$form_state) {
'#collapsible' => TRUE,
'#collapsed' => FALSE,
);
+ $form['linktracking']['googleanalytics_trackoutgoing'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Track outgoing links'),
+ '#default_value' => variable_get('googleanalytics_trackoutgoing', 1),
+ '#description' => t('Enables tracking of clicks on external links.')
+ );
+ $form['linktracking']['googleanalytics_trackmailto'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Track mailto links'),
+ '#default_value' => variable_get('googleanalytics_trackmailto', 0),
+ '#description' => t('Enables tracking of clicks on mailto links.')
+ );
$form['linktracking']['googleanalytics_trackfiles'] = array(
'#type' => 'checkbox',
- '#title' => t('Track links to files'),
- '#default_value' => variable_get('googleanalytics_trackfiles', TRUE),
+ '#title' => t('Track download links'),
+ '#default_value' => variable_get('googleanalytics_trackfiles', 1),
'#description' => t('Enables tracking of clicks on links to files based on the file extensions list below.')
);
$form['linktracking']['googleanalytics_trackfiles_extensions'] = array(