Compare commits

3 Commits

Author SHA1 Message Date
8c2fbeae31 How do you forget the script?
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2026-02-17 13:38:01 -03:00
89052635d5 Pixel URI fix
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2026-02-17 12:50:44 -03:00
e52a210840 Refine tracking
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2026-02-17 12:37:36 -03:00
8 changed files with 47 additions and 21 deletions

View File

@@ -9,13 +9,5 @@
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
<img
src="https://analytics.mifi.holdings/pixel.gif"
alt=""
width="1"
height="1"
role="presentation"
loading="eager"
/>
</body>
</html>

View File

@@ -34,7 +34,8 @@
target="_blank"
rel="noopener noreferrer"
aria-describedby={link.description ? descriptionId : undefined}
data-umami-event={`contact panel ${link.label} link`}
data-umami-event="contact panel item"
data-umami-event-label={link.label}
>
{#if link.icon}
<LinkIcon href={link.href} icon={link.icon} label={link.label} />

View File

@@ -35,7 +35,8 @@
contactOpen = true;
shareOpen = false;
}}
data-umami-event="header contact button"
data-umami-event="header button"
data-umami-event-label="contact"
>
<IconContact size={20} />
</button>
@@ -48,7 +49,8 @@
shareOpen = true;
contactOpen = false;
}}
data-umami-event="header share button"
data-umami-event="header button"
data-umami-event-label="share"
>
<IconShare size={20} />
</button>
@@ -100,7 +102,8 @@
contactOpen = true;
shareOpen = false;
}}
data-umami-event="hero contact button"
data-umami-event="hero card button"
data-umami-event-label="contact"
>
<IconContact size={20} />
<span>Contact</span>
@@ -114,7 +117,8 @@
shareOpen = true;
contactOpen = false;
}}
data-umami-event="hero share button"
data-umami-event="hero card button"
data-umami-event-label="share"
>
<IconShare size={20} />
<span>Share</span>

View File

@@ -5,7 +5,14 @@
let { href, icon, label, description }: ProcessedLink = $props();
</script>
<a {href} rel="noopener noreferrer" target="_blank" class="link" data-umami-event={`${label} link`}>
<a
{href}
rel="noopener noreferrer"
target="_blank"
class="link"
data-umami-event={`link click`}
data-umami-event-label={label}
>
<span class="icon" aria-hidden="true">
<LinkIcon {href} {icon} {label} />
</span>

View File

@@ -64,6 +64,8 @@
aria-label="Close"
bind:this={closeBtnEl}
onclick={onclose}
data-umami-event="panel button"
data-umami-event-label="close"
>
<span aria-hidden="true">×</span>
</button>

View File

@@ -61,7 +61,8 @@
type="button"
class="panel-btn"
onclick={copyLink}
data-umami-event="share panel copy"
data-umami-event="share panel item"
data-umami-event-label="copy"
>
<IconCopy size={20} />
{copied ? 'Copied!' : 'Copy link'}
@@ -72,7 +73,8 @@
onclick={onclose}
target="_blank"
rel="noopener noreferrer"
data-umami-event="share panel email link"
data-umami-event="share panel item"
data-umami-event-label="email"
>
<IconEmail size={20} />
Email link
@@ -82,7 +84,8 @@
type="button"
class="panel-btn"
onclick={share}
data-umami-event="share panel device share"
data-umami-event="share panel item"
data-umami-event-label="device share"
>
<IconShare size={20} />
Share…

View File

@@ -45,7 +45,8 @@
aria-label="Close theme menu"
tabindex="-1"
onclick={() => (expanded = false)}
data-umami-event="theme toggle close"
data-umami-event="theme toggle button"
data-umami-event-label="close"
></button>
{/if}
@@ -65,7 +66,8 @@
aria-current={current === 'light' ? 'true' : undefined}
title="Light"
onclick={() => handleClick('light')}
data-umami-event="theme toggle light"
data-umami-event="theme toggle button"
data-umami-event-label="light"
>
<Sun size={24} />
</button>
@@ -77,7 +79,8 @@
aria-current={current === 'dark' ? 'true' : undefined}
title="Dark"
onclick={() => handleClick('dark')}
data-umami-event="theme toggle dark"
data-umami-event="theme toggle button"
data-umami-event-label="dark"
>
<Moon size={24} />
</button>
@@ -89,7 +92,8 @@
aria-current={current === 'auto' ? 'true' : undefined}
title="Auto (system)"
onclick={() => handleClick('auto')}
data-umami-event="theme toggle auto"
data-umami-event="theme toggle button"
data-umami-event-label="auto"
>
<SunMoon size={24} />
</button>

View File

@@ -40,6 +40,11 @@
<!-- Google tag (gtag.js): ID passed via data-ga-id for CSP (no inline script) -->
<script async src="https://www.googletagmanager.com/gtag/js?id={data.gaMeasurementId}"></script>
<script defer src="/assets/js/ga-init.js" data-ga-id={data.gaMeasurementId}></script>
<script
defer
src="https://analytics.mifi.holdings/script.js"
data-website-id={data.umamiMeasurementId}
></script>
<link rel="stylesheet" href="/assets/tokens-{data.variant}.css" />
@@ -94,3 +99,11 @@
</header>
{@render children()}
<Footer />
<img
src="https://analytics.mifi.holdings/p/wQ9GYnLIg"
alt=""
width="1"
height="1"
role="presentation"
loading="eager"
/>