0.1.12 • Published 1 year ago

@deuna/events-manager v0.1.12

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

enter image description here

Events Manager

Description

Events manager is an JS package that allows you track checkout user interactions.

You can install the package in your backend application (Node.js) or Front end library

Installation

npm install --save @deuna/events-manager

You need a merchant Id to validate and use this manager.

Init manager

A couple of your merchant data is necessary to init the manager

source: 'frontend' | 'backend' environment: 'staging' | 'production'

import manager from '@deuna/events-manager'

const eventManager = manager('API_KEY', 'ORDER_TOKEN', 'SOURCE', 'staging');

Track event

You need to use the sendEvent to track your events

eventName: You need pass you event name event: Object with all about your properties that you'll track

eventManager.sendEvent('eventName', event)
0.1.12

1 year ago

0.1.10

1 year ago

0.1.11

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.9

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

2 years ago