From 33466476245336822899f4c60d7499810fc10ee9 Mon Sep 17 00:00:00 2001 From: dert1129 Date: Mon, 5 Aug 2024 11:09:00 -0400 Subject: [PATCH] fix event and params --- app.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 8f6a948..116f1b5 100644 --- a/app.py +++ b/app.py @@ -111,9 +111,11 @@ def downloadFile(packageId, objectName): "client_id": "XXXXXXXXXX.YYYYYYYYYY", "events": [ { - "name": "file_download", + "name": "AtlasRepositoryDownload", "params": { - "file_name": objectName + "event_category": "Repository", + "event_action": "Download", + "label": objectName } }] }