You are here

constant PIWIK_TRACKFILES_EXTENSIONS in Piwik Web Analytics 8

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

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

2 uses of PIWIK_TRACKFILES_EXTENSIONS
PiwikAdminSettingsForm::buildForm in src/Form/PiwikAdminSettingsForm.php
Form constructor.
piwik_page_attachments in ./piwik.module
Implements hook_page_attachments().

File

./piwik.module, line 29
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');