Dev Reference

Code snippets and API reference for developers.

Articles

Quick reference of commands in Userlane
Discover the power of commands: issue specific instructions for desired behaviors. Learn about various commands like loading scripts, identifying users, initializing Userlane, and more.
Implement a command to open the Assistant
Learn how to control the visibility of Userlane content and trigger the Assistant on specific elements. Requirements and implementation instructions included.
Hide Userlane on specific pages of your application
Learn how to control the visibility of Userlane content. Hide the Assistant on specific pages or for certain users. Implement hiding programmatically or use passive mode. Find out more!
Userlane Language Detection
Ensure Userlane matches your users' language preferences. Learn about language detection priorities and set the language explicitly with the language command. Best practices included!
Start a Guide with a JavaScript command
Learn how to start a Guide in your application using a custom trigger command. Get step-by-step instructions and tips for effective implementation.
Hooking into event callbacks
Hook into Userlane Events for custom reactions. Get notified on user actions. Build integrations, trigger reactions based on activity.
Your Userlane API token
Your Userlane API token is a single credential that lets you move data between Userlane and your own systems programmatically, without doing it by hand in the Portal. One token covers everything the API can do, both reading data out of Userlane an...
Export Guides, Guide progress and Announcement data via API
The API user event export allows you to retrieve data containing the events (interactions) a User had with your Guides.
Export HEART, NPS, Surveys, and Tags data via API
Learn how to export Userlane HEART analytics data via the REST API for internal reporting. Discover its benefits, requirements, and troubleshooting tips
User profile data export
About User Profile Data Export This feature allows you to export data containing details on your Userlane end-users. This article covers the requirements the benefits what data is exported how to export the data troubleshooting ...
Push user attributes via API
About the Attribute Import API The Attribute Import API lets you send user attributes into Userlane from your own systems, in JSON format. Use it to push attributes such as role, department, region, or licence type from your data warehouse, inter...