Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-07-01 03:36:03 +0400
committermattab <matthieu.aubry@gmail.com>2014-07-01 03:36:03 +0400
commitff475e5da1539fed075a2131e33c2f6bbb090f26 (patch)
treec0edc12966d1226cf3f768f5b7549b519fa2c703 /js
parent2df1f9017b2deade9c1f1204e061258535e0a4e8 (diff)
add comment to function refs #5393
refs https://github.com/piwik/piwik/pull/336
Diffstat (limited to 'js')
-rw-r--r--js/piwik.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/piwik.js b/js/piwik.js
index 66ea324e74..a7ef9f24fc 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -2490,7 +2490,9 @@ if (typeof Piwik !== 'object') {
},
/**
- * Add plugin
+ * Add plugin defined by a name and a callback function.
+ * The callback function will be called whenever a tracking request is sent.
+ * This can be used to append data to the tracking request, or execute other custom logic.
*
* @param string pluginName
* @param Object pluginObj