From cd737ddd708a547762b4c8cb2331081af8ab2762 Mon Sep 17 00:00:00 2001 From: Joel Liechti Date: Fri, 5 Nov 2021 14:14:42 +0100 Subject: [PATCH] Disable outbound link tracking since it breaks new tab links plausible/plausible-tracker#12 --- guide/.vuepress/clientAppEnhance.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guide/.vuepress/clientAppEnhance.ts b/guide/.vuepress/clientAppEnhance.ts index d2c9711..199ec01 100644 --- a/guide/.vuepress/clientAppEnhance.ts +++ b/guide/.vuepress/clientAppEnhance.ts @@ -17,7 +17,10 @@ export default defineClientAppEnhance(() => { }); plausible.enableAutoPageviews(); - plausible.enableAutoOutboundTracking(); + // This breaks all outbound links unfortunately since they should open in a new tab + // and that doesn't happen because of this tracking implementation. + // https://github.com/plausible/plausible-tracker/issues/12 + // plausible.enableAutoOutboundTracking(); window.plausible = plausible; });