From 94a690915a3bad4548c5c023bd224a75e2606857 Mon Sep 17 00:00:00 2001 From: amentis Date: Tue, 9 Jul 2024 10:52:51 +0300 Subject: [PATCH] analytics rename dmp --- .../core/services/file-transformer/file-transformer.service.ts | 2 +- dmp-frontend/src/app/core/services/matomo/analytics-service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dmp-frontend/src/app/core/services/file-transformer/file-transformer.service.ts b/dmp-frontend/src/app/core/services/file-transformer/file-transformer.service.ts index 1fa4d978a..7d83dcade 100644 --- a/dmp-frontend/src/app/core/services/file-transformer/file-transformer.service.ts +++ b/dmp-frontend/src/app/core/services/file-transformer/file-transformer.service.ts @@ -89,7 +89,7 @@ export class FileTransformerService extends BaseService { const filename = this.fileUtils.getFilenameFromContentDispositionHeader(result.headers.get('Content-Disposition')); 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)); diff --git a/dmp-frontend/src/app/core/services/matomo/analytics-service.ts b/dmp-frontend/src/app/core/services/matomo/analytics-service.ts index befd4c81c..17fac8d70 100644 --- a/dmp-frontend/src/app/core/services/matomo/analytics-service.ts +++ b/dmp-frontend/src/app/core/services/matomo/analytics-service.ts @@ -48,7 +48,7 @@ export class AnalyticsService { //#endregion //#region trackDownload - public static trackDmp: string = "dmps" + public static trackPlan: string = "dmps" public static trackDescriptions: string = "descriptions" //#endregion