Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to Open a Popup When Someone Clicks a Button

How to make a button on your website open an Engage popup when someone clicks it, using an Engage link.

An Engage link opens one of your Engage popups when someone clicks a button, like "Get the Buyer Guide".

You need the popup first. See How to Create a Popup With Engage.

1

Go to Site Tools > Engage. Click Actions next to the popup and choose Engage Link.

2

Name it

Type a short name after the #, like buyer-guide. Leave Trigger on Default and click Save.

The Engage Link window with the name and Trigger fields

The link, like #buyer-guide, now shows under the popup's name in the list.

Add it to a button

1

Go to Pages and click Edit next to the page. Click the button. Set its link to the Engage link, with the #, like #buyer-guide.

2

Add the class

In the button's Advanced settings, type engage-trigger-link in CSS Class.

3

Save and test

Click Save. Open the live page, not a preview link, in a private window and click the button.

Common Questions

My button doesn't open the popup.

Check the button's link matches the Engage link exactly, including the #, and that engage-trigger-link is in CSS Class.

Last updated