Track UISIs in bulk
Piwik supports sending an event value, which we can use to indicate cardinality of UISIs to be tracked instead of tracking them individually. This means we can track them at a lower frequency of (fairly arbitrary) 60s.
This commit is contained in:
parent
48f03bfd86
commit
01dd387970
4 changed files with 21 additions and 47 deletions
|
@ -199,9 +199,9 @@ class Analytics {
|
|||
this._paq.push(['trackPageView']);
|
||||
}
|
||||
|
||||
trackEvent(category, action, name) {
|
||||
trackEvent(category, action, name, value) {
|
||||
if (this.disabled) return;
|
||||
this._paq.push(['trackEvent', category, action, name]);
|
||||
this._paq.push(['trackEvent', category, action, name, value]);
|
||||
}
|
||||
|
||||
logout() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue