Merge pull request #5116 from mermaid-js/sidv/bannerClick

feat: Track outbound links in docs site.
This commit is contained in:
Alois Klink
2023-12-06 08:29:30 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
<a <a
href="https://www.mermaidchart.com/app/user/billing/checkout?coupon=HOLIDAYS2023" href="https://www.mermaidchart.com/app/user/billing/checkout?coupon=HOLIDAYS2023"
target="_blank" target="_blank"
class="unstyled text-white" class="unstyled text-white plausible-event-name=bannerClick"
> >
Get AI, team collaboration, storage, and more with Get AI, team collaboration, storage, and more with
<span class="font-bold underline" <span class="font-bold underline"

View File

@@ -31,7 +31,7 @@ export default defineConfig({
defer: 'true', defer: 'true',
'data-domain': 'mermaid.js.org', 'data-domain': 'mermaid.js.org',
// All tracked stats are public and available at https://p.mermaid.live/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',
}, },
], ],
], ],