Getting started
REST API (BETA)
Webhooks (BETA)
Configuration
Some of the tracking code options are optional and can be set using setOptions
or init
using methods.
Options
Name | Type | Default value | Description |
---|---|---|---|
accountID | string | null | Your accountID . Automatically extracted from trackingID . |
websiteID | string | null | Your websiteID . Automatically extracted from trackingID . |
keystrokes | bool | false | Enable global keystroke tracking. Read more. |
rootHostname | string | null | Set this to the highest-level hostname to record session across different subdomains on your site. (e.g. .your-domain.com ) |
Examples
Using init
__ls("init", "abc.cdef", { keystrokes: true });
Using setOptions
:
__ls("setOptions", { keystrokes: true });