You are here

constant PIWIK_TRACKFILES_EXTENSIONS in Piwik Web Analytics 7.2

Same name and namespace in other branches
  1. 8 piwik.module \PIWIK_TRACKFILES_EXTENSIONS
  2. 6.2 piwik.module \PIWIK_TRACKFILES_EXTENSIONS

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

2 uses of PIWIK_TRACKFILES_EXTENSIONS
piwik_admin_settings_form in ./piwik.admin.inc
Implements hook_admin_settings() for configuring the module.
piwik_page_alter in ./piwik.module
Implements hook_page_alter() to insert JavaScript to the appropriate scope/region of the page.

File

./piwik.module, line 16
Drupal Module: Piwik

Code

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