Events
Geoflow fires the following events on the window object and can be accessed anywhere on the page, allowing you to add custom functionality.
Event Name | Event Description |
---|---|
geoflowReady | Fires when the visitor data properties are ready. |
geoflowError | Fires when an error was thrown while the visitor data properties were being fetched (e.g. due to a server error). |
geoflowUpdated | Fires when the 'geoflow' object has been successfully updated after the updateData() method is called. |
geoflowExtComplete | Fires when a script extension has finished running. The extension name can be accessed on the event's detail property. |
Developer Tip: When listening for the geoflowReady and geoflowUpdated events, the current 'geoflow' object can also be accessed through the event's detail property.
Examples
Last updated
Was this helpful?