0.0.1 • Published 5 months ago
@twipla/worker v0.0.1
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
5 months ago
0.1.0-rc.15
6 months ago
0.1.0-rc.13
6 months ago
0.1.0-rc.12
6 months ago
0.1.0-rc.14
6 months ago
0.1.0-rc.11
9 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
1 year ago
0.1.0-rc.1
1 year ago
0.0.1
2 years ago