Skip to content

Whitelabel Javascript Functions ​

Whitelabel users have access to most of the public javascript API calls without the “aimtell” branding within the function. The table below helps map the non-branded functions with the original aimtell functions.

For more information on how to use these functions, visit https://aimtell.com/api

Original Aimtell FunctionWhitelabeled Function
_aimtellCheckPermissions()_webpushCheckPermissions()
_aimtellSuportsPush()_webpushSupportPush()
_aimtellGetSubscriberID()_webpushGetSubscriberID()
_aimtellGetPushToken()_webpushGetPushToken()
_at.track("event", {"category": "A", "action": "B", "label": "C", "value": D});_at.track("event", {"category": "A", "action": "B", "label": "C", "value": D});
_aimtellPrompt()_webpushPrompt()
_aimtellGetSubscriberIDFromToken(token)webpushGetSubscriberIDFromToken(token)
_at.track("attribute", {"attribute": "value"});_at.track("attribute", {"attribute": "value"});
_aimtellRunNative()_webpushRunNative()