feat: add gtm to docs (#3622)
This commit is contained in:
parent
f596cc4ad3
commit
922fd5f645
4 changed files with 7 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ const config = {
|
|||
|
||||
presets: [
|
||||
[
|
||||
"classic",
|
||||
"@docusaurus/preset-classic",
|
||||
/** @type {import('@docusaurus/preset-classic').Options} */
|
||||
({
|
||||
docs: {
|
||||
|
|
@ -50,6 +50,9 @@ const config = {
|
|||
trackingID: "G-XHC7G628ZP",
|
||||
anonymizeIP: true,
|
||||
},
|
||||
googleTagManager: {
|
||||
containerId: "GTM-NK5M4ZT8",
|
||||
},
|
||||
blog: false,
|
||||
theme: {
|
||||
customCss: [
|
||||
|
|
|
|||
1
docs/package-lock.json
generated
1
docs/package-lock.json
generated
|
|
@ -10,6 +10,7 @@
|
|||
"dependencies": {
|
||||
"@code-hike/mdx": "^0.9.0",
|
||||
"@docusaurus/core": "^3.2.0",
|
||||
"@docusaurus/plugin-google-tag-manager": "^3.2.0",
|
||||
"@docusaurus/preset-classic": "^3.2.0",
|
||||
"@easyops-cn/docusaurus-search-local": "^0.44.3",
|
||||
"@mdx-js/react": "^3.0.1",
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
"@code-hike/mdx": "^0.9.0",
|
||||
"@docusaurus/core": "^3.2.0",
|
||||
"@docusaurus/preset-classic": "^3.2.0",
|
||||
"@docusaurus/plugin-google-tag-manager": "^3.2.0",
|
||||
"@easyops-cn/docusaurus-search-local": "^0.44.3",
|
||||
"@mdx-js/react": "^3.0.1",
|
||||
"@mendable/search": "^0.0.206",
|
||||
|
|
|
|||
|
|
@ -1495,7 +1495,7 @@
|
|||
"@types/gtag.js" "^0.0.12"
|
||||
tslib "^2.6.0"
|
||||
|
||||
"@docusaurus/plugin-google-tag-manager@3.4.0":
|
||||
"@docusaurus/plugin-google-tag-manager@^3.2.0", "@docusaurus/plugin-google-tag-manager@3.4.0":
|
||||
version "3.4.0"
|
||||
resolved "https://registry.npmjs.org/@docusaurus/plugin-google-tag-manager/-/plugin-google-tag-manager-3.4.0.tgz"
|
||||
integrity sha512-O9tX1BTwxIhgXpOLpFDueYA9DWk69WCbDRrjYoMQtFHSkTyE7RhNgyjSPREUWJb9i+YUg3OrsvrBYRl64FCPCQ==
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue