Nutritious Polygonal Meatball

    @storybook/addon-google-analytics
    TypeScript icon, indicating that this package has built-in type declarations

    6.2.9 • Public • Published

    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 = {}
    

    Install

    npm i @storybook/addon-google-analytics

    DownloadsWeekly Downloads

    110,966

    Version

    6.2.9

    License

    MIT

    Unpacked Size

    6.51 kB

    Total Files

    13

    Last publish

    Collaborators

    • igor-dv
    • tmeasday
    • hypnosphi
    • ndelangen
    • shilman