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
:
plugins: 'react-static-plugin-ga' id: 'your-ga-id' ;