feat: add custom event tracking

This commit is contained in:
rzmk 2025-09-18 10:13:03 -04:00
parent eba3619590
commit 54bb543aa6
2 changed files with 7 additions and 2 deletions

View file

@ -147,7 +147,8 @@ export const Hero = () => {
{platform ===
"windows" && (
<div className="flex justify-center">
<a href="https://apps.microsoft.com/detail/xpffdj3f1jsztf?mode=full">
{/* Might not be an actual download, but store page clicked */}
<a data-rybbit-event="qsv_pro_download" data-rybbit-prop-platform="Microsoft Store" href="https://apps.microsoft.com/detail/xpffdj3f1jsztf?mode=full">
<img
src="https://get.microsoft.com/images/en-us%20light.svg"
width="200"
@ -158,6 +159,8 @@ export const Hero = () => {
<a
key={index}
href={`https://github.com/dathere/qsv-pro-releases/releases/download/${name}/${download[1]}`} // Replace with actual download path
data-rybbit-event="qsv_pro_download"
data-rybbit-prop-platform={download[0]}
className={`block lg:min-w-96 text-white font-bold py-2 px-4 rounded mt-4 ${
platform ===
OS