hi,

i created a patch to update the defaults for downloads like on http://piwik.org/docs/javascript-tracking/ and a condition to only add piwikTracker.setDownloadExtensions when it's not the default.

regards

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pebosi’s picture

Status: Active » Needs review
FileSize
1.56 KB
hass’s picture

This is a good list of extensions. We should also add an update hook.

hass’s picture

Status: Needs review » Needs work

CNW for the update hook.

pebosi’s picture

Hi,

what kind of update should be perfomed?

regards

hass’s picture

Old extension list to new extension list if current extension list EQ original extension list. Otherwise all users with the old extension list will always get piwikTracker.setDownloadExtensions() added with the old extension list to the footer.

pebosi’s picture

FileSize
2.63 KB

Updated my patch including an update function. hope it's what you meant.

regards

pebosi’s picture

Status: Needs work » Needs review
hass’s picture

yep, looks good

pebosi’s picture

FileSize
3.67 KB

Updated my patch to overwrite drupal's default maxlenght for textfield to 255. 128 was not enough for the new default extensions.

regards

hass’s picture

Status: Needs review » Fixed

Committed your patch as is, but changed the update hook number to 6003. THX.

hass’s picture

Also ported to google_analytics.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.