The Code tab in the Interaction Details widget is where you can add code that executes before or after the interaction runs.

Access the Code tab

  1. Select the interaction to configure, and click the icon (Interaction Details) that's displayed to its right.

  2. Click the Code tab.

Pre-Process Code

Use this area to add JavaScript code that executes before the interaction runs. This can be useful for any kind of processing you want to do before executing the interaction.

You can use the built-in scripting functions to access variables and manipulate data.

Post-Process Code

Use this area to add JavaScript code that executes after the interaction runs. This can be useful for any kind of processing you want to do after executing the interaction.

You can use the built-in scripting functions to access variables and manipulate data.