You can also use a button element to close the campaign. This can be added in addition to the close button outlined in the previous section, or on its own.
To add a button element to close the campaign, follow these steps:
In the Design view of the campaign builder drag a Button block into your campaign where you would like for it to appear.
Next, in the sidebar select the Close the campaign option from the Button Click Action dropdown.
When you’re finished, click Save.
HTML Close Link
If you’d prefer to use HTML you can also add a close link with this approach.
To add an HTML close link to your campaign, follow these steps:
In the Design view of the campaign builder drag an HTML block into your campaign where you would like for it to appear.
Next, in the Content tab add an HTML link containing the class om-trigger-close into the HTML field, for example:
<a href="#" class="om-trigger-close">Click to close!</a>
When you’re finished, click Save.
Troubleshooting
Will my HTML close link set the campaign close cookie?
Yes, when following our instructions for adding an HTML close link to your campaign the proper cookies will be set to hide the campaign as it has been configured in the cookie settings of the builder.