Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Outbound link tracking

Blue Mouse2d16280fa028
diff --git a/web/app/utils/analytics.ts b/web/app/utils/analytics.ts
index f19700fea..17bbd2fba 100644
--- a/web/app/utils/analytics.ts
+++ b/web/app/utils/analytics.ts
@@ -131,6 +131,9 @@ const startSessionReplayTracking = async () =>
init(SWETRIX_PID, {
disabled: isDevelopment,
apiURL: isSelfhosted ? undefined : SWETRIX_API_PROXY_PATH,
+ events: {
+ outboundLinks: true
+ }
})
export const trackViews = () => {