Getting started
WelcomeAPI Changelog
Rest API
Webhooks

Configuration

Some of the tracking code options are optional and can be set using setOptions or init using methods.

Options

NameTypeDefault valueDescription
accountIDstringnullYour accountID. Automatically extracted from trackingID.
websiteIDstringnullYour websiteID. Automatically extracted from trackingID.
keystrokesboolfalseEnable global keystroke tracking. Read more.
rootHostnamestringnullSet 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 });