mirror of
https://github.com/audacity/audacity.github.io.git
synced 2026-06-14 16:22:58 -05:00
Update matomo event
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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}`,
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user