analytics rename dmp
This commit is contained in:
parent
0ecfe1a0e8
commit
94a690915a
|
@ -89,7 +89,7 @@ export class FileTransformerService extends BaseService {
|
||||||
const filename = this.fileUtils.getFilenameFromContentDispositionHeader(result.headers.get('Content-Disposition'));
|
const filename = this.fileUtils.getFilenameFromContentDispositionHeader(result.headers.get('Content-Disposition'));
|
||||||
|
|
||||||
FileSaver.saveAs(blob, filename);
|
FileSaver.saveAs(blob, filename);
|
||||||
this.analyticsService.trackDownload(AnalyticsService.trackDmp, format, id.toString());
|
this.analyticsService.trackDownload(AnalyticsService.trackPlan, format, id.toString());
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error => this.httpErrorHandlingService.handleBackedRequestError(error));
|
error => this.httpErrorHandlingService.handleBackedRequestError(error));
|
||||||
|
|
|
@ -48,7 +48,7 @@ export class AnalyticsService {
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
//#region trackDownload
|
//#region trackDownload
|
||||||
public static trackDmp: string = "dmps"
|
public static trackPlan: string = "dmps"
|
||||||
public static trackDescriptions: string = "descriptions"
|
public static trackDescriptions: string = "descriptions"
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue