1.0.0-beta.2 • Published 3 years ago

@ream/plugin-google-analytics v1.0.0-beta.2

Weekly downloads
1
License
-
Repository
-
Last release
3 years ago

@ream/plugin-google-analytics

Install

npm i @ream/plugin-google-analytics
# Or Yarn
yarn add @ream/plugin-google-analytics

Usage

Add it to ream.config.js:

import ga from '@ream/plugin-google-analytics'

export default {
  plugins: [ga()],

  env: {
    // Set your ga tracking ID
    GA_TRACKING_ID: 'UA-XXX-XXX',
    // Optional send anonymize ip
    GA_ANONYMIZE_IP: true,
  },
}

License

MIT © EGOIST