Web Push Sequence campaigns: Custom event
If you want to create a campaign that is triggered on a Custom Event, for example in one of these cases:
- Campaign that starts after an application form is finished
- Campaign that starts after a purchase is done
- Campaign that starts after visiting a specific category or page
- Campaign that starts after user shows some kind of engagement (starts an application form, opens contact page, visits product page, spends X amount of time in website, etc.)
Then you have to do these things:
1. Login in your e.maxtraffic.com account, then go to Automation > Sequence
2. Click "New Sequence"
3. Follow next steps below.
Creating new sequence campaign
1. Set campaign name
By default it will be "New Sequence", but we recommend to set a campaign name that matches the idea behind it, for example - "Drip campaign after purchase"
2. Choose trigger
Select "Trigger on Custom Event" - campaign will start when a custom JavaScript code will be executed.
3. Send first message with a delay?
Here you can choose, if you want the first message from your sequence campaign to be sent immediately or after a delay.
4. Edit message
Click on edit icon to create the message content - set Title, Description, add Big Image if needed, Buttons, Links, and so on until you feel that the message is ready! Note that you will be able to edit message content at any time - also after the campaign is launched.
5. Create more messages in sequence campaign
Click "copy" button after the last message to add a new message in your sequence campaign. To make things easier, the new message will be a 100% copy of your previous message - that is done with idea that maybe links, UTMs, buttons or images will be the same, and then you only need to create/edit those parts of the new message that are different from previous message.
How to choose trigger name?
When you select Trigger on Custom Event as a trigger, you will also have to decide what your custom event will be called. The default value will be "webpush:custom_event", but you need to change it to your own name. Some examples of possible Event names:
- webpush:order_completed
- webpush:checkout_started
- webpush:promotion_viewed
- Checkout Started
- Order Completed
- Promotion Viewed
- order_completed
- checkout_started
- promotion_viewed
For example, if you have set "Order Completed" as event name, it will look like in the screenshot below:
Saving your sequence campaign
When saving campaign, you will be shown a JavaScript code - this code will need to be placed either in Google Tag Manager or installed by your IT team.
And this code needs to be executed at the moment when the custom event occurs.
In our example, we want to execute this code after visitor has finished his order, so we need to execute the code in the "Thank You" page after the purchase.
Just like in any other sequence campaign, you also have 3 options:
Save & Publish
If you choose to save and publish - this will activate your sequence campaign and it will become "Live". In short - if your chosen trigger is executed, then the visitor who executed the trigger - will start receiving the messages that are defined in that specific sequence campaign.
Important: after sequence campaign is published, you will NOT be able to change delays or add/delete messages in sequence campaign, but you will be able to change message content.
Save Draft
If you don't want to launch the sequence campaign yet, or it needs more changes - save it as draft. That way campaign will not be shown to anyone, and you can make any changes later as well - add or delete messages, change delays, change content, etc.
Close
Click "Close" if you want to continue editing your campaign.
Edit your campaign
After you have created your campaign, you can later make changes by going to Automation > Sequence and clicking on Settings icon that is located on the right side of campaign table:
Then click "Edit":
By default messages will be opened in "Full view" mode, so you can see full preview of each message - that includes Title, Description, Big Image, Icon:
But you can also click on "Compact View" - that will switch to a version where messages are shown in a way that can give a better overview of all the campaign:
How to get started?
If you want to create a sequence campaign that is based on a Custom Event, follow these steps
- Decide what the "custom event" will start the sequence?
- Create sequence campaign in MaxTraffic
- Install the custom JavaScript code either with help of your IT team, or by adding it in Google Tag Manager, so that this JavaScript code is executed when the event happens
The message content and length of sequence campaign is up to you - it can contain 5, 20 or 100 messages, but if the goal is to convert visitor to a client, we recommend to send messages with higher frequency in the beginning, and less frequent later.