Skip to content

Commit

Permalink
chore: enable web analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
jpudysz committed Oct 11, 2023
1 parent 602adc8 commit bde882a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
import { defineConfig } from 'astro/config'
import starlight from '@astrojs/starlight'
import sitemap from '@astrojs/sitemap'
import vercel from '@astrojs/vercel/serverless'

// https://astro.build/config
export default defineConfig({
output: 'server',
adapter: vercel({
webAnalytics: {
enabled: true,
},
}),
integrations: [starlight({
title: 'Unistyles',
description: "React Native StyleSheet 2.0",
Expand Down
1 change: 0 additions & 1 deletion docs/src/components/Seo.astro
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,5 @@ const openGraph = {
]
}}
/>
<script defer src="/_vercel/insights/script.js"></script>
</head>
<slot/>

0 comments on commit bde882a

Please sign in to comment.