0.0.1 • Published 6 months ago

@twipla/worker v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

TWIPLA Worker

Integrates with TWIPLA - The Website Intelligence Platform

Installation

npm install @twipla/worker

Usage examples

Initializing

import { LogLevel, TwiplaWorker } from '@twipla/worker';


const twiplaWorker = new TwiplaWorker({
  websiteId: 'your_website_id',
  logLevel: LogLevel.ERROR,
  env: 'production'
});

Track a visit

// without optional parameters
twiplaWorker.run();

// with optional parameters
twiplaWorker.run({ tags: { key: 'value' } });

Track an event

twiplaWorker.sendEvent('event_category', 'event_action', 'event_label', 'event_value', 'event_extra_fields')

Track an ecommerce event

twiplaWorker.sendEcom('','','')
0.1.0-rc.16

6 months ago

0.1.0-rc.15

7 months ago

0.1.0-rc.13

7 months ago

0.1.0-rc.12

7 months ago

0.1.0-rc.14

7 months ago

0.1.0-rc.11

10 months ago

0.1.0-rc.10

10 months ago

0.1.0-rc.9

1 year ago

0.1.0-rc.8

1 year ago

0.1.0-rc.7

1 year ago

0.1.0-rc.6

1 year ago

0.1.0-rc.3

1 year ago

0.1.0-rc.4

1 year ago

0.1.0-rc.5

1 year ago

0.1.0-rc.2

2 years ago

0.1.0-rc.1

2 years ago

0.0.1

2 years ago