Use the UserIQ library file to check if the user is in scope for active Engagements
Allow clients with protected context, browser extensions, non-standard web applications, mobile devices or workspace applications to request if the current product user is in scope for any engagements.
Static request method
* Send request to API to check if user is in scope for a engagement
* Optionally pass engagement type and engagement id to limit scope further
* @param string type (optional)
* @param mixed engagement_id (optional)
Dynamic request method
_uiq.push([“removeAssets”]) or Useriq.useriqTracker.removeAssets()
Removes all known assets related to UserIQ engagements. This includes DOM nodes & eventListeners, style tags, script tags, and images.