diff --git a/website/docs/api/plugins/plugin-google-analytics.md b/website/docs/api/plugins/plugin-google-analytics.md index 5bc1c274b8f6..98dfc41b924e 100644 --- a/website/docs/api/plugins/plugin-google-analytics.md +++ b/website/docs/api/plugins/plugin-google-analytics.md @@ -5,9 +5,13 @@ slug: /api/plugins/@docusaurus/plugin-google-analytics # 📦 plugin-google-analytics -:::caution Deprecated +import APITable from '@site/src/components/APITable'; + +The default [Google Analytics](https://developers.google.com/analytics/devguides/collection/analyticsjs/) plugin. It is a JavaScript library for measuring how users interact with your website **in the production build**. If you are using Google Analytics 4 you might need to consider using [plugin-google-gtag](./plugin-google-gtag.md) instead. + +:::danger Deprecated -This plugin is deprecated, and will become useless on July 1, 2023. +This plugin is **deprecated**, and will become useless on July 1, 2023. Google is [moving away from Universal Analytics](https://blog.google/products/marketingplatform/analytics/prepare-for-future-with-google-analytics-4/). @@ -15,10 +19,6 @@ If you are still using this plugin with a `UA-*` tracking id, you should create ::: -import APITable from '@site/src/components/APITable'; - -The default [Google Analytics](https://developers.google.com/analytics/devguides/collection/analyticsjs/) plugin. It is a JavaScript library for measuring how users interact with your website **in the production build**. If you are using Google Analytics 4 you might need to consider using [plugin-google-gtag](./plugin-google-gtag.md) instead. - :::caution production only This plugin is always inactive in development and **only active in production** to avoid polluting the analytics statistics.