1.0.2 • Published 5 years ago

react-static-plugin-ga2 v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

react-static-plugin-ga

A react-static plugin allowing you to add the GA script tag to your page.

Installation

In an existing react-static site run:

$ yarn add react-static-plugin-ga

Then add the plugin to your static.config.js:

export default {
  plugins: [
    [
      'react-static-plugin-ga',
      {
        id: 'your-ga-id'
      }
    ]
  ]
};
1.0.2

5 years ago

1.0.1

5 years ago