1.0.2 • Published 5 years ago
react-static-plugin-ga2 v1.0.2
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'
}
]
]
};