@dmartss/with-ga

## Usage

Stats

StarsIssuesVersionUpdatedCreatedSize
@dmartss/with-ga
1.0.03 years ago3 years agoMinified + gzip package size for @dmartss/with-ga in KB

Readme

@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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.