0.0.3 • Published 3 years ago

@mjvezzani/analytics-abstraction v0.0.3

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

Analytics Abstraction

The purpose of this analytics abstraction library is to enable flexibility of choice in analytics providers while creating a consistent API that does not change when moving from one analytics provider to the next.

Installation

$ npm install @mjvezzani/analytics-abstraction

Usage

const analytics = require("@mjvezani/analytics-abstraction")

// Manually Send Pageview
analytics.pageview();

// Send Identity Information
analytics.identify();

// Send Event Information
analytics.event();
0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago