diff --git a/src/components/button/DownloadButton.jsx b/src/components/button/DownloadButton.jsx index 67f08b9..5b6496f 100644 --- a/src/components/button/DownloadButton.jsx +++ b/src/components/button/DownloadButton.jsx @@ -10,7 +10,7 @@ function DownloadButton() { }, []); function handleButtonClick() { - _paq.push(['trackEvent', 'Button', 'Click', 'Download Audacity button']); + _paq.push(['trackEvent', 'Button', 'Download', 'Download Audacity button']); } function renderButton(href) { diff --git a/src/components/button/DownloadMuseHubButton.jsx b/src/components/button/DownloadMuseHubButton.jsx index 6824863..2ea24b5 100644 --- a/src/components/button/DownloadMuseHubButton.jsx +++ b/src/components/button/DownloadMuseHubButton.jsx @@ -9,7 +9,7 @@ function DownloadMuseHubButton() { }, []); function handleButtonClick() { - _paq.push(["trackEvent", "Button", "Click", "Download MuseHub button"]); + _paq.push(["trackEvent", "Button", "Download", "Download MuseHub button"]); } function renderButton(href) { diff --git a/src/components/card/DownloadCard.jsx b/src/components/card/DownloadCard.jsx index cea3310..dddd6ea 100644 --- a/src/components/card/DownloadCard.jsx +++ b/src/components/card/DownloadCard.jsx @@ -4,11 +4,10 @@ function DownloadCard(props) { const { OS, title, downloadURL, buttonText, downloadType, checksum } = props; function handleButtonClick() { - console.log(OS + " " + title); _paq.push([ "trackEvent", "Button", - "Click", + "Download", `${OS + " " + downloadType}`, ]); }