Client API
What is the Client API?
The Client API is a way to extend Loopbear's on-page capabilities. While Loopbear's core functionality is fully baked into the Loopbear script without any further configuration, the Client API has methods that can extend the capabilities of Loopbear to do some pretty powerful things like showing or hiding your surveys programmatically, passing fields and variables through to Loopbear, and more.
What are the Client API methods?
Below are the methods we currently offer:
Method | Description |
---|---|
Show | Load and show different surveys based on their ID. |
Hide | Hide a survey based on its ID. |
Events | Fire events that trigger different surveys based on their settings. |
Fields | Automatically fill certain survey fields based on their slug. |
Variables | Personalize survey text based on dynamic variables. |
Identify | Verify users by email or user ID. |