Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@docusaurus/plugin-google-analytics
Advanced tools
Global analytics (analytics.js) plugin for Docusaurus.
@docusaurus/plugin-google-analytics is a plugin for Docusaurus, a popular static site generator. This plugin allows you to integrate Google Analytics into your Docusaurus site, enabling you to track and analyze the traffic and user behavior on your site.
Basic Integration
This feature allows you to integrate Google Analytics into your Docusaurus site by providing your Google Analytics tracking ID.
{
"plugins": [
[
"@docusaurus/plugin-google-analytics",
{
"trackingID": "UA-XXXXXX-X"
}
]
]
}
Custom Configuration
This feature allows you to customize the Google Analytics configuration, such as anonymizing IP addresses for privacy compliance.
{
"plugins": [
[
"@docusaurus/plugin-google-analytics",
{
"trackingID": "UA-XXXXXX-X",
"anonymizeIP": true
}
]
]
}
react-ga is a JavaScript module that allows you to easily add Google Analytics to your React application. It provides a simple API for tracking page views, events, and other interactions. Compared to @docusaurus/plugin-google-analytics, react-ga is more flexible and can be used in any React project, not just Docusaurus.
gatsby-plugin-google-analytics is a plugin for Gatsby, another popular static site generator. It allows you to easily add Google Analytics to your Gatsby site. Similar to @docusaurus/plugin-google-analytics, it simplifies the integration process but is specific to Gatsby.
vue-analytics is a plugin for Vue.js that integrates Google Analytics into your Vue application. It provides a range of features for tracking page views, events, and more. Like @docusaurus/plugin-google-analytics, it is designed to simplify the integration of Google Analytics but is specific to Vue.js.
@docusaurus/plugin-google-analytics
Google analytics plugin for Docusaurus.
3.5.1 (2024-08-09)
docusaurus-plugin-content-blog
, docusaurus-theme-search-algolia
docusaurus-theme-search-algolia
FAQs
Global analytics (analytics.js) plugin for Docusaurus.
The npm package @docusaurus/plugin-google-analytics receives a total of 194,178 weekly downloads. As such, @docusaurus/plugin-google-analytics popularity was classified as popular.
We found that @docusaurus/plugin-google-analytics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.