saber-plugin-google-analytics

0.2.1 • Public • Published

saber-plugin-google-analytics

Add Google Analytics to your Saber sites.

Install

yarn add saber-plugin-google-analytics

Usage

In your saber-config.yml:

plugins:
  - resolve: saber-plugin-google-analytics
    options:
      trackId: UA-XXX-XX # Google Analytics Track ID

Plugin Options

trackId

  • Type: string
  • Required: true

Google Analytics Track ID.

anonymizeIp

  • Type: boolean
  • Default: false

To anonymize the IP address for all hits sent from a single tracker, set the anonymizeIp option to true.

License

MIT.

Readme

Keywords

none

Package Sidebar

Install

npm i saber-plugin-google-analytics

Weekly Downloads

2

Version

0.2.1

License

none

Unpacked Size

6.04 kB

Total Files

6

Last publish

Collaborators

  • egoist