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

github.com/storybookjs/addon-google-analytics

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/storybookjs/addon-google-analytics


Version published
Created
Source

Storybook Addon Google Analytics

Storybook Addon Google Analytics can be used to support google analytics in Storybook.

Framework Support

Getting Started

Install:

yarn add @storybook/addon-google-analytics --dev

within .storybook/main.js:

module.exports = {
  addons: ['@storybook/addon-google-analytics']
}

Then, set an environment variable in .storybook/manager.js

window.STORYBOOK_GA_ID = "UA-000000-01"
window.STORYBOOK_REACT_GA_OPTIONS = {}

FAQs

Package last updated on 27 May 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