0.0.1 • Published 1 year ago
@twipla/worker v0.0.1
TWIPLA Worker
Integrates with TWIPLA - The Website Intelligence Platform
Installation
npm install @twipla/workerUsage 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
1 year ago
0.1.0-rc.15
1 year ago
0.1.0-rc.13
1 year ago
0.1.0-rc.12
1 year ago
0.1.0-rc.14
1 year ago
0.1.0-rc.11
1 year ago
0.1.0-rc.10
1 year ago
0.1.0-rc.9
2 years ago
0.1.0-rc.8
2 years ago
0.1.0-rc.7
2 years 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