Update matomo tracking code

This commit is contained in:
Dilson's Pickles
2023-09-28 11:31:58 +10:00
parent 5210c733f0
commit 5c24dc8aa9

View File

@@ -8,7 +8,7 @@ const {title, downloadURL, buttonText, downloadType, checksum} = props;
<div className="flex flex-col sm:flex-row gap-2 justify-between items-center">
<h2 className="text-xl font-semibold">{title}</h2>
<a
onclick="_paq.push(['trackEvent', 'Download', Download button click,'TEST'])"
onclick="_paq.push(['trackEvent', 'Download', Download button click,'TEST']);"
href={downloadURL}
className="flex justify-center text-center items-center px-4 h-12 w-full sm:w-fit bg-slate-200 hover:bg-slate-300 text-base text-black rounded"
>