Revision 60280
Added by Argiro Kokogiannaki over 3 years ago
project.component.ts | ||
---|---|---|
431 | 431 |
this.download(url, filename+".csv"); |
432 | 432 |
|
433 | 433 |
if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) { |
434 |
this.subscriptions.push(this._piwikService.trackDownload(this.properties, url, this.piwikSiteId).subscribe());
|
|
434 |
this.subscriptions.push(this._piwikService.trackDownload(this.properties, this.piwikSiteId).subscribe()); |
|
435 | 435 |
} |
436 | 436 |
}, |
437 | 437 |
error => { |
... | ... | |
537 | 537 |
this.download(url, filename+".html"); |
538 | 538 |
|
539 | 539 |
if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) { |
540 |
this.subscriptions.push(this._piwikService.trackDownload(this.properties, url, this.piwikSiteId).subscribe());
|
|
540 |
this.subscriptions.push(this._piwikService.trackDownload(this.properties, this.piwikSiteId).subscribe()); |
|
541 | 541 |
} |
542 | 542 |
}, |
543 | 543 |
err => { |
Also available in: Unified diff
[Library|Trunk]
Piwik: download give the current url instead of the blob url. Remove url parameter from trackDownload()
Metrics: add usage counts link in the logo