Triggering a Custom Event
Trigger a custom event in Engagement Cloud.
Prerequisites
-
Ensure the user has:
-
Permissions to use the Engagement Studio.
-
Group Manager role.
-
-
Ensure the user is logged in to the Engagement Studio.
TIP: Open the Engagement Studio while following this how-to guide.
Steps
-
Select the event that you want to trigger in the Event list panel. For example,
NameAndEmail.
TIP: You can use the search field to find the event quickly. -
Click ⚙️ on the right column of the event row.
-
Select </> Code from the dropdown menu.
-
Copy the code snippet that appears in the JavaScript code to trigger event window.
-
Paste the code snippet into your website’s code where you want to trigger the event.
Result
If you associate the copied code snippet with a user action on your website (e.g., form submission, button click), Engagement Cloud triggers the custom event when that action occurs. You can then use this event to segment users, trigger campaigns, or analyze user behavior within the Engagement Cloud.