Skip to content

Commit bfbbdb3

Browse files
committed
feat: added ga tag manager
1 parent a6e9cc3 commit bfbbdb3

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

docusaurus.config.js

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,9 @@ const config = {
2222
type: "text/css",
2323
},
2424
],
25-
scripts: [
26-
{
27-
src: "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7756182462259588",
28-
async: true,
29-
crossorigin: "anonymous",
30-
},
31-
],
25+
scripts: [],
3226
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
3327
themeConfig: {
34-
googleAdsense: {
35-
dataAdClient: "ca-pub-7756182462259588",
36-
},
3728
navbar: {
3829
hideOnScroll: true,
3930
logo: {
@@ -118,11 +109,11 @@ const config = {
118109
},
119110
presets: [
120111
[
121-
"classic",
112+
"@docusaurus/preset-classic",
122113
/** @type {import('@docusaurus/preset-classic').Options} */
123114
{
124115
gtag: {
125-
trackingID: "UA-172955705-1",
116+
trackingID: "G-VX1V9NRMDC",
126117
anonymizeIP: true,
127118
},
128119
docs: {

0 commit comments

Comments
 (0)