Skip to content

Commit

Permalink
📝 add google analytics for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa-kheibary committed May 3, 2024
1 parent 82964ef commit 058df46
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@ export default defineConfig({
appearance: "dark",
cleanUrls: true,
lang: "en-US",
head: [["link", { rel: "icon", href: "/images/logo.svg" }]],
head: [
["link", { rel: "icon", href: "/images/logo.svg" }],
["script", { async: "", src: "https://www.googletagmanager.com/gtag/js?id=G-J084XJ7N2C" }],
[
"script",
{},
`window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-J084XJ7N2C');`,
],
],
locales: {
root: {
label: "English",
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "ChatGuard-beta",
"description": "Browser Add on that allow (End to End) encrypted in web chat messenger",
"description": "Browser extension that allow (End to End) encrypted in web chat messenger",
"version": "0.9.5",
"author": "https://github.com/mostafa-kheibary",
"icons": {
Expand Down Expand Up @@ -37,5 +37,5 @@
"id": "[email protected]"
}
},
"permissions": ["storage", "tabs"]
"permissions": ["storage"]
}

0 comments on commit 058df46

Please sign in to comment.