How does the "When custom event is recorded" trigger work?

As soon as you start identifying your website users you could and should start designing your own Moosend automations! You'll find that among the available trigger types there is one titled "When custom event is recorded". As its name implies, this trigger reacts by starting your automation when a custom events passed via custom code website tracking on a website that you manage and it is amazing!  

There are three parameters that you need to define on this type of trigger:


1. You need to choose whether the automation will be triggered every time that someone triggers this event, or whether it will be triggered on the first triggered event only.when_custom_event_is_recorded-1.png


2. The second parameter you need to define is the website(s) where the page browse needs to take place in order to trigger your automation. when_custom_event_is_recorded-2.png

You can find a list of the websites that you manage on the drop-down menu, as well as an option to track all of your websites. Choosing a specific one means that events from all other websites will be ignored. After you're done, click on the Save button to have your trigger ready and waiting inside your workflow. 


3.  The third and final parameter that you need to define is the name of your event.when_custom_event_is_recorded-3.png

Only the event you select here will trigger the automation. Please make sure you that you have been sending data for this event first, in order to be able to select it here.
Congratulations! You just took the first step to create your own automation which will be triggered whenever a custom event is recorded on your website. To move ahead with your current design you should take a look on how to use the Conditional / Control steps and how to use Actions.