From afa9fcc965f3a47bbc93922b07582e1b0c8aa24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EB=B3=B4=ED=98=84=20Bohyun=20Jung?= Date: Thu, 25 Jul 2024 18:12:41 +0900 Subject: [PATCH] docs(plugin-google-gtag): replace the broken Google Developers links with valid ones (#10338) Co-authored-by: Bohyun Jung --- packages/docusaurus-plugin-google-gtag/src/index.ts | 1 - website/docs/api/plugins/plugin-google-gtag.mdx | 2 +- .../version-2.x/api/plugins/plugin-google-gtag.mdx | 2 +- .../version-3.0.1/api/plugins/plugin-google-gtag.mdx | 2 +- .../version-3.1.1/api/plugins/plugin-google-gtag.mdx | 2 +- .../version-3.2.1/api/plugins/plugin-google-gtag.mdx | 2 +- .../version-3.3.2/api/plugins/plugin-google-gtag.mdx | 2 +- .../version-3.4.0/api/plugins/plugin-google-gtag.mdx | 2 +- 8 files changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/docusaurus-plugin-google-gtag/src/index.ts b/packages/docusaurus-plugin-google-gtag/src/index.ts index f0e5334b1c..01ceb43713 100644 --- a/packages/docusaurus-plugin-google-gtag/src/index.ts +++ b/packages/docusaurus-plugin-google-gtag/src/index.ts @@ -69,7 +69,6 @@ export default function pluginGoogleGtag( href: 'https://www.googletagmanager.com', }, }, - // https://developers.google.com/analytics/devguides/collection/gtagjs/#install_the_global_site_tag { tagName: 'script', attributes: { diff --git a/website/docs/api/plugins/plugin-google-gtag.mdx b/website/docs/api/plugins/plugin-google-gtag.mdx index 16fab6fbd2..ee30a0f3b8 100644 --- a/website/docs/api/plugins/plugin-google-gtag.mdx +++ b/website/docs/api/plugins/plugin-google-gtag.mdx @@ -7,7 +7,7 @@ slug: /api/plugins/@docusaurus/plugin-google-gtag import APITable from '@site/src/components/APITable'; -The default [Global Site Tag (gtag.js)](https://developers.google.com/analytics/devguides/collection/gtagjs/) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. +The default [Global Site Tag (gtag.js)](https://developers.google.com/tag-platform/gtagjs) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. :::tip diff --git a/website/versioned_docs/version-2.x/api/plugins/plugin-google-gtag.mdx b/website/versioned_docs/version-2.x/api/plugins/plugin-google-gtag.mdx index 16fab6fbd2..ee30a0f3b8 100644 --- a/website/versioned_docs/version-2.x/api/plugins/plugin-google-gtag.mdx +++ b/website/versioned_docs/version-2.x/api/plugins/plugin-google-gtag.mdx @@ -7,7 +7,7 @@ slug: /api/plugins/@docusaurus/plugin-google-gtag import APITable from '@site/src/components/APITable'; -The default [Global Site Tag (gtag.js)](https://developers.google.com/analytics/devguides/collection/gtagjs/) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. +The default [Global Site Tag (gtag.js)](https://developers.google.com/tag-platform/gtagjs) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. :::tip diff --git a/website/versioned_docs/version-3.0.1/api/plugins/plugin-google-gtag.mdx b/website/versioned_docs/version-3.0.1/api/plugins/plugin-google-gtag.mdx index 16fab6fbd2..ee30a0f3b8 100644 --- a/website/versioned_docs/version-3.0.1/api/plugins/plugin-google-gtag.mdx +++ b/website/versioned_docs/version-3.0.1/api/plugins/plugin-google-gtag.mdx @@ -7,7 +7,7 @@ slug: /api/plugins/@docusaurus/plugin-google-gtag import APITable from '@site/src/components/APITable'; -The default [Global Site Tag (gtag.js)](https://developers.google.com/analytics/devguides/collection/gtagjs/) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. +The default [Global Site Tag (gtag.js)](https://developers.google.com/tag-platform/gtagjs) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. :::tip diff --git a/website/versioned_docs/version-3.1.1/api/plugins/plugin-google-gtag.mdx b/website/versioned_docs/version-3.1.1/api/plugins/plugin-google-gtag.mdx index 16fab6fbd2..ee30a0f3b8 100644 --- a/website/versioned_docs/version-3.1.1/api/plugins/plugin-google-gtag.mdx +++ b/website/versioned_docs/version-3.1.1/api/plugins/plugin-google-gtag.mdx @@ -7,7 +7,7 @@ slug: /api/plugins/@docusaurus/plugin-google-gtag import APITable from '@site/src/components/APITable'; -The default [Global Site Tag (gtag.js)](https://developers.google.com/analytics/devguides/collection/gtagjs/) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. +The default [Global Site Tag (gtag.js)](https://developers.google.com/tag-platform/gtagjs) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. :::tip diff --git a/website/versioned_docs/version-3.2.1/api/plugins/plugin-google-gtag.mdx b/website/versioned_docs/version-3.2.1/api/plugins/plugin-google-gtag.mdx index 16fab6fbd2..ee30a0f3b8 100644 --- a/website/versioned_docs/version-3.2.1/api/plugins/plugin-google-gtag.mdx +++ b/website/versioned_docs/version-3.2.1/api/plugins/plugin-google-gtag.mdx @@ -7,7 +7,7 @@ slug: /api/plugins/@docusaurus/plugin-google-gtag import APITable from '@site/src/components/APITable'; -The default [Global Site Tag (gtag.js)](https://developers.google.com/analytics/devguides/collection/gtagjs/) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. +The default [Global Site Tag (gtag.js)](https://developers.google.com/tag-platform/gtagjs) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. :::tip diff --git a/website/versioned_docs/version-3.3.2/api/plugins/plugin-google-gtag.mdx b/website/versioned_docs/version-3.3.2/api/plugins/plugin-google-gtag.mdx index 16fab6fbd2..ee30a0f3b8 100644 --- a/website/versioned_docs/version-3.3.2/api/plugins/plugin-google-gtag.mdx +++ b/website/versioned_docs/version-3.3.2/api/plugins/plugin-google-gtag.mdx @@ -7,7 +7,7 @@ slug: /api/plugins/@docusaurus/plugin-google-gtag import APITable from '@site/src/components/APITable'; -The default [Global Site Tag (gtag.js)](https://developers.google.com/analytics/devguides/collection/gtagjs/) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. +The default [Global Site Tag (gtag.js)](https://developers.google.com/tag-platform/gtagjs) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. :::tip diff --git a/website/versioned_docs/version-3.4.0/api/plugins/plugin-google-gtag.mdx b/website/versioned_docs/version-3.4.0/api/plugins/plugin-google-gtag.mdx index 16fab6fbd2..ee30a0f3b8 100644 --- a/website/versioned_docs/version-3.4.0/api/plugins/plugin-google-gtag.mdx +++ b/website/versioned_docs/version-3.4.0/api/plugins/plugin-google-gtag.mdx @@ -7,7 +7,7 @@ slug: /api/plugins/@docusaurus/plugin-google-gtag import APITable from '@site/src/components/APITable'; -The default [Global Site Tag (gtag.js)](https://developers.google.com/analytics/devguides/collection/gtagjs/) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. +The default [Global Site Tag (gtag.js)](https://developers.google.com/tag-platform/gtagjs) plugin. It is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. This section describes how to configure a Docusaurus site to enable global site tag for Google Analytics. :::tip