From a4a0edfed7b3c17dff3e9f70785cea623613e93f Mon Sep 17 00:00:00 2001 From: Vitor George Date: Wed, 13 Dec 2023 16:25:18 +0000 Subject: [PATCH] Move the template format to the event name --- app/assets/scripts/components/new-atbd/index.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/app/assets/scripts/components/new-atbd/index.js b/app/assets/scripts/components/new-atbd/index.js index 12a801ac..8ce8d9af 100644 --- a/app/assets/scripts/components/new-atbd/index.js +++ b/app/assets/scripts/components/new-atbd/index.js @@ -234,9 +234,7 @@ function NewAtbd() { target='_blank' rel='noopener noreferrer' onClick={() => { - ReactGA.event('atbd_template_download', { - template_format: 'Google Docs' - }); + ReactGA.event('atbd_template_download_google_docs'); }} > @@ -249,9 +247,7 @@ function NewAtbd() { target='_blank' rel='noopener noreferrer' onClick={() => { - ReactGA.event('atbd_template_download', { - template_format: 'Microsoft Word' - }); + ReactGA.event('atbd_template_download_ms_word'); }} > @@ -264,9 +260,7 @@ function NewAtbd() { target='_blank' rel='noopener noreferrer' onClick={() => { - ReactGA.event('atbd_template_download', { - template_format: 'Latex' - }); + ReactGA.event('atbd_template_download_latex'); }} >