1.2.1 • Published 7 years ago

@liveqa/browser v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

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 name
  • Object event attributes
LiveQA.track('my event',
  {
    user_id: 42,
    properties: {
        order_id: 84 
    }
  }
);

Identify

Identify a user

Attributes:

  • String user id from your database
  • Object user attributes
LiveQA.identify(42,
  {
    properties: {
      name: 'John Doe' 
    }
  }
);

Watch

Create a watcher

Attributes:

  • String|Integer template flow name or id
  • Object watcher attributes
LiveQA.watch('My Flow',
  {
    expected_times: 42
  }
);

Issues

If you have any issue you can report them on github, or contact support@liveqa.io

1.2.1

7 years ago

1.2.0

7 years ago