You are here

constant MATOMO_TRACKFILES_EXTENSIONS in Matomo Analytics 7.2

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

2 uses of MATOMO_TRACKFILES_EXTENSIONS
matomo_admin_settings_form in ./matomo.admin.inc
Implements hook_admin_settings() for configuring the module.
matomo_page_alter in ./matomo.module
Implements hook_page_alter() to insert JavaScript to the appropriate scope/region of the page.

File

./matomo.module, line 16
Drupal Module: Matomo

Code

define('MATOMO_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');