Code triggers
Use code-based triggers to create an always-on survey that a user can choose to trigger. For example, trigger a survey when they click a specific menu item or button. Advanced use cases include showing a survey according to custom logic implemented using code in your app.
Unlike invite triggers, a code-based trigger does not require options to control targeting. Instead a code-based trigger relies your app calling the ShowForm API with the survey's form ID. A Digital administrator should retrieve the survey's form ID from the Digital Command Center, for example from the list survey view. The development team use the form ID in the app call to the ShowForm API. Before the survey is published, it isn't visible in the app. Similarly, once the ShowForm API call is added to the app, the form can be modified in the app Command Center without requiring changes to the app.