Skip to content

Commit

Permalink
chore(docs): try plausible website traffic tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Sep 9, 2024
1 parent 75b3d62 commit d36ab4c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions website/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ export default defineConfig({
sitemap: {
hostname: 'https://graffle.js.org',
},
head: [
// <script defer data-domain="graffle.js.org" src="https://plausible.io/js/script.js"></script>
['script', {
defer: 'true',
'data-domain': 'graffle.js.org',
src: 'https://plausible.io/js/script.js',
}],
],
markdown: {
codeTransformers: [
transformerTwoslash({
Expand Down

0 comments on commit d36ab4c

Please sign in to comment.