You are here

constant GOOGLEANALYTICS_TRACKFILES_EXTENSIONS in Google Analytics 7

Same name and namespace in other branches
  1. 6.4 googleanalytics.module \GOOGLEANALYTICS_TRACKFILES_EXTENSIONS
  2. 6.3 googleanalytics.module \GOOGLEANALYTICS_TRACKFILES_EXTENSIONS
  3. 7.2 googleanalytics.module \GOOGLEANALYTICS_TRACKFILES_EXTENSIONS

Define the default file extension list that should be tracked as download.

2 uses of GOOGLEANALYTICS_TRACKFILES_EXTENSIONS
googleanalytics_admin_settings_form in ./googleanalytics.admin.inc
Implements hook_admin_settings() for module settings configuration.
googleanalytics_page_alter in ./googleanalytics.module
Implements hook_page_alter() to insert JavaScript to the appropriate scope/region of the page.

File

./googleanalytics.module, line 16
Drupal Module: Google Analytics

Code

define('GOOGLEANALYTICS_TRACKFILES_EXTENSIONS', '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls|xml|z|zip');