Skip to content

Commit

Permalink
Configure Plausible Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonsilva committed May 30, 2024
1 parent 1bb2c10 commit f5795fc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ export default defineConfig(withMermaid({
description: "Documentation of the Nostr Ruby gem",
// https://vitepress.dev/reference/site-config#head
head: [
['link', { rel: 'icon', href: '/favicon.ico' }]
[
'link', { rel: 'icon', href: '/favicon.ico' },
'script',
{
defer: true,
'data-domain': 'nostr-ruby.com',
src: 'https://plausible.io/js/script.js'
}
]
],
themeConfig: {
// https://vitepress.dev/reference/default-theme-last-updated
Expand Down

0 comments on commit f5795fc

Please sign in to comment.