(API) Callback Functions

List of callback functions

_aimtellReady()

Description: Called when aimtell script has finished loading.

function _aimtellReady(){
  alert("Everything is loaded!");
}

_aimtellPermissionGranted()

Description: Called after website visitor has granted push notification permissions.

function _aimtellPermissionGranted(){
 alert("Thanks, you're now subscribed!"); 
}

_aimtellPermissionIgnored()

Description: Called after website visitor has ignored push notification permissions. (clicking "x" on the request dialog)

function _aimtellPermissionIgnored(){
 alert("Oh no, you ignored me!"); 
}

_aimtellPermissionDenied()

Description: Called after website visitor has granted denied notification permissions.

function _aimtellPermissionDenied(){
 alert("Oh no, you denied me!"); 
}