@liveqa/browser
v1.2.1
Published
LiveQA Browser Integration
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:
Stringevent nameObjectevent attributes
LiveQA.track('my event',
{
user_id: 42,
properties: {
order_id: 84
}
}
);Identify
Identify a user
Attributes:
Stringuser id from your databaseObjectuser attributes
LiveQA.identify(42,
{
properties: {
name: 'John Doe'
}
}
);Watch
Create a watcher
Attributes:
String|Integertemplate flow name or idObjectwatcher attributes
LiveQA.watch('My Flow',
{
expected_times: 42
}
);Issues
If you have any issue you can report them on github, or contact [email protected]
