Skip to content

Commit

Permalink
Merge pull request #5116 from mermaid-js/sidv/bannerClick
Browse files Browse the repository at this point in the history
feat: Track outbound links in docs site.
  • Loading branch information
aloisklink authored Dec 6, 2023
2 parents 542fc19 + 770fc41 commit c7b38b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mermaid/src/docs/.vitepress/components/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/mermaid/src/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
],
Expand Down

0 comments on commit c7b38b8

Please sign in to comment.