Skip to content

Commit

Permalink
chore(docs): config google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail9k committed Oct 29, 2024
1 parent 169c66e commit 9a889f8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,19 @@ module.exports = {
},
],
},

head: [
[
'script',
{
async: true,
src: 'https://www.googletagmanager.com/gtag/js?id=G-37DX3WR4T0',
},
],
[
'script',
{},
"window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-37DX3WR4T0');",
],
],
}

0 comments on commit 9a889f8

Please sign in to comment.