Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

A passthrough module to appropriate the Segment analytics object for our GTM implementation.

License

Notifications You must be signed in to change notification settings

Lostmyname/lmn-gtm-analytics

Repository files navigation

lmn-gtm-analytics

Travis build status Code Climate Test Coverage

GTM/Segment Integration for Lost My Name

Installation

npm install lmn-gtm-analytics

and then in your JS files

import analytics from 'lmn-gtm-analytics';

analytics.track('Custom Event', {
  category: 'Category',
  label: 'Label'
});

Tests

Run the tests with

npm run coverage

About

A passthrough module to appropriate the Segment analytics object for our GTM implementation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published