@liveqa/browser
v1.2.1
Published
LiveQA Browser Integration
Downloads
1
Readme
LiveQA Browser
LiveQA browser javascript integration for LiveQA
Installation
You can find the snippet under your space and environment settings
Track
Track on click
<a href='#' data-liveqa='true' data-liveqa-name='my event' />
Send an event
Track an event
Attributes:
String
event nameObject
event attributes
LiveQA.track('my event',
{
user_id: 42,
properties: {
order_id: 84
}
}
);
Identify
Identify a user
Attributes:
String
user id from your databaseObject
user attributes
LiveQA.identify(42,
{
properties: {
name: 'John Doe'
}
}
);
Watch
Create a watcher
Attributes:
String|Integer
template flow name or idObject
watcher attributes
LiveQA.watch('My Flow',
{
expected_times: 42
}
);
Issues
If you have any issue you can report them on github, or contact [email protected]