Use the UserIQ library file to check if the user is in scope for active Campaigns
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 campaigns.
Static request method
* Send request to API to check if user is in scope for a campaign
* Optionally pass campaign type and campaign id to limit scope further
* @param string type (optional)
* @param mixed campaign_id (optional)
Dynamic request method
_uiq.push([“removeAssets”]) or Useriq.useriqTracker.removeAssets()
Removes all known assets related to UserIQ campaigns. This includes DOM nodes & eventListeners, style tags, script tags, and images.