Insert works by capturing the structure of app screens, analyzing their internal structure and allowing marketers to define UI additions and changes without the need of the developer.
This screen capture mechanism currently only works on native Android and iOS apps.
However, Hybrid Cordova apps can benefit from Insert by using the insert custom events mechanism. The mechanism, documented here, allows a developer to implement direct calls to the insert SDK in order to send analytics and trigger inserts.
To use custom events in Hybrid apps, you need to:
- Add the insert SDK to your app using the regular installation instructions found under the Insert console.
- Add the Insert Cordova plug-in to your app. The plug in is an open-source component of Insert and is available on GitHub. Follow the technical instructions in the readme file under GitHub in order to call the API.