Changeset 872 for plugins/googleanalytics/trunk/googleanalytics.plugin.php
- Timestamp:
- 09/01/08 14:43:25 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/googleanalytics/trunk/googleanalytics.plugin.php
r788 r872 29 29 $form= new FormUI(strtolower(get_class($this))); 30 30 $form->append('text', 'clientcode', 'googleanalytics__clientcode', _t('Analytics Client Code')); 31 $form->append('checkbox', 'loggedintoo', 'googleanalytics__loggedintoo', _t('Track logged-in users too')); 31 32 $form->append('submit', 'save', 'Save'); 32 33 $form->out(); … … 51 52 } 52 53 if ( User::identify() ) { 53 // User is logged in, don't want to record that, do we? 54 return; 54 // Only track the logged in user if we were told to 55 if ( !Options::get('googleanalytics__loggedintoo') ) { 56 return; 57 } 55 58 } 56 59 $clientcode= Options::get('googleanalytics__clientcode');
