Skip to content

Commit

Permalink
Disable outbound link tracking since it breaks new tab links
Browse files Browse the repository at this point in the history
  • Loading branch information
Joelius300 committed Nov 5, 2021
1 parent 13c698e commit cd737dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion guide/.vuepress/clientAppEnhance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});

0 comments on commit cd737dd

Please sign in to comment.