Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@docusaurus/plugin-google-analytics

Package Overview
Dependencies
Maintainers
6
Versions
1829
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@docusaurus/plugin-google-analytics

Global analytics (analytics.js) plugin for Docusaurus.

  • 2.0.0-alpha.09284187f
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
279K
decreased by-0.98%
Maintainers
6
Weekly downloads
 
Created

What is @docusaurus/plugin-google-analytics?

@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.

What are @docusaurus/plugin-google-analytics's main functionalities?

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
      }
    ]
  ]
}

Other packages similar to @docusaurus/plugin-google-analytics

FAQs

Package last updated on 01 Feb 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc