mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
feat: Track outbound links in plausible
Unlike mermaid.live, there is no user provided links in mermaid.js.org. So we can track the outbound link clicks without leaking any user data.
This commit is contained in:
parent
542fc19862
commit
770fc412ca
@ -6,7 +6,7 @@
|
||||
<a
|
||||
href="https://www.mermaidchart.com/app/user/billing/checkout?coupon=HOLIDAYS2023"
|
||||
target="_blank"
|
||||
class="unstyled text-white"
|
||||
class="unstyled text-white plausible-event-name=bannerClick"
|
||||
>
|
||||
Get AI, team collaboration, storage, and more with
|
||||
<span class="font-bold underline"
|
||||
|
@ -31,7 +31,7 @@ export default defineConfig({
|
||||
defer: 'true',
|
||||
'data-domain': 'mermaid.js.org',
|
||||
// All tracked stats are public and available at https://p.mermaid.live/mermaid.js.org
|
||||
src: 'https://p.mermaid.live/js/script.js',
|
||||
src: 'https://p.mermaid.live/js/script.tagged-events.outbound-links.js',
|
||||
},
|
||||
],
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user