How to set up CUSTOM event actions for participants
Define actions that run when a participant triggers a custom event in the study.
This guide explains how to set up a custom event handler that triggers an external service. We use an example where a test kit is ordered through an external service when the participant clicks a specific button.
Follow these steps
Open the "Context Editor". Define the event key TestKitButtonClicked under "Custom event keys".
Define the external event handler key OrderTestKit under "External event handlers" in the context editor.
Exit the "Context Editor". Add the event key TestKitButtonClicked to the "CUSTOM event handlers" rules definition.
Click on TestKitButtonClicked to open its configuration.
Add an action: Select "External event handler" from the action dropdown and choose the key OrderTestKit.
Your CUSTOM event will now automatically order a test kit from an external service when the participant clicks the specific button in the study app.