1.0.1 • Published 6 years ago

gtagger v1.0.1

Weekly downloads
46
License
MIT
Repository
github
Last release
6 years ago

gtagger

An importable Global Site Tag wrapper for Google website tracking. Allows bundling gtag.js code snippet alongside other modules.

Usage

Install with npm:

npm install gtagger --save

Initialize using a specific tracking ID:

import { Gtagger } from 'gtagger';

Gtagger.initialize(trackingId);

Run commands the same way you would with gtag directly:

Gtagger.run(commandType, ...commandParameters);

Note that calling Gtagger.run without initializing first will likely (and definitely should) fail.

Author

Andrey Feelashov

License

This project is licensed under the MIT License.

1.0.1

6 years ago

0.0.1

6 years ago

1.0.0

6 years ago

0.0.0

6 years ago

1.0.2

6 years ago