0.1.16 • Published 4 years ago

minimal-analytics v0.1.16

Weekly downloads
33
License
MIT
Repository
github
Last release
4 years ago

Minimal Google Analytics

Minimal analytics is a Google Analytics replacement created by David Künnen. This is an npm package of that code snippet.

I created this package for use in my personal projects. Feel free to do the same, PR's with improvements are welcome.

Description, see project page: https://minimalanalytics.com/

Usage

Add the npm module using either yarn or npm:

yarn add minimal-analytics

And somewhere in your JavaScript entry point:

import { initialize } from 'minimal-analytics'

// other imports and code

initialize(window, 'UA-XXXXXXXXX-X', {
  anonymizeIp: true,
  colorDepth: true,
  characterSet: true,
  screenSize: true,
  language: true
})

That's it, you're all set. 🎉

1.0.0-0

4 years ago

0.1.16-0

4 years ago

0.1.16

4 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago