0.0.1 • Published 7 months ago

@twipla/worker v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 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

7 months ago

0.1.0-rc.15

7 months ago

0.1.0-rc.13

8 months ago

0.1.0-rc.12

8 months ago

0.1.0-rc.14

8 months ago

0.1.0-rc.11

11 months ago

0.1.0-rc.10

11 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

2 years ago

0.1.0-rc.3

2 years ago

0.1.0-rc.4

2 years ago

0.1.0-rc.5

2 years ago

0.1.0-rc.2

2 years ago

0.1.0-rc.1

2 years ago

0.0.1

2 years ago