Project

General

Profile

« Previous | Next » 

Revision 60406

[Library|Trunk]

Track Downloads:
- add the type of report (filename) in the url - to separate the different actions
- Organization: add piwik track in 2 reports that was missing
- Add track download for citations

View differences:

searchDownload.component.ts
111 111
        //window.location.href = window.URL.createObjectURL(data);
112 112
        
113 113
        if (this.isPiwikEnabled && (typeof document !== 'undefined')) {
114
          this.subscriptions.push(this._piwikService.trackDownload(this.properties, this.piwikSiteId).subscribe());
114
          this.subscriptions.push(this._piwikService.trackDownload(this.properties, "searchDownload", this.piwikSiteId).subscribe());
115 115
        }
116 116
      },
117 117
      error => {

Also available in: Unified diff