Callbacks
Geoflow triggers the following callbacks and can be accessed anywhere on the page, allowing you to add custom functionality.
Callback Name
Callback Description
Geoflow_Ready
The asynchronous callback is triggered when the visitor data properties are ready.
Geoflow_Error
The asynchronous callback is triggered when an error was thrown while the visitor data properties were being fetched.
Geoflow_Updated
The asynchronous callback is triggered when the 'geoflow' object has been successfully updated after the updateData method is called.
Geoflow_ExtComplete
The asynchronous callback is triggered when a script extension has finished running. The extension name is passed as a function parameter.
Examples
function Geoflow_Ready(geoflow) {
console.log('Geoflow Is Ready!', geoflow);
}
function Geoflow_Error(error) {
console.error('Geoflow Error!', error);
}
function Geoflow_Updated(geoflow) {
console.log('Geoflow Was Updated!', geoflow);
}
function Geoflow_ExtComplete(extName) {
console.log('This Script Extension Finished Running:', extName);
}
Last updated
Was this helpful?