1.0.0 • Published 6 years ago
@dmartss/with-ga v1.0.0
@dmartss/with-ga
with-ga
Usage
// pass your GA code as first argument
export default withGA("UA-xxxxxxxxx-1", Router)(MyApp);
When the user access a page it will log a pageview to Google Analytics, each page change after that will also trigger a pageview on Google Analytics.
1.0.0
6 years ago