Target a Popup To Display on Link Click

Lisa Fockens Updated by Lisa Fockens

Set the click trigger in your scenario

When selecting the click trigger in your campaign targeting, we will ask you to append #wisepops by default to the link you want as trigger.

You can change this default #wisepops hash to something more aligned with the actual intention. For example #contact-sales or #out-of-stock. This will let you configure different click-triggered campaigns on the same page.

For this example, we will keep referring to #wisepops. You should use the hash you chose instead.

Add the hash to the links that should trigger the campaign

Now we need to add this hash to the appropriate links. For example, we can add this piece of HTML in a page:

<a href="#wisepops">Link text</a>

You can also define a fallback redirection. Wisepops may not always work. If a visitor uses a popup blocker extension. Or if your Wisepops account runs out of pageviews, your click-triggered campaign won't display. The visitor may get frustrated if nothing happen when clicking the button of your website. That's why we recommend having a page ready to handle these visitors. Simply place the hash at the end of your fallback URL:

<a href="">Link text</a>

In this latter example, the redirection to will happen only if no campaign is triggered by the click.

Get in touch via chat for any further assistance.

Not seeing your popup on your website? Try these tips.

Target a Popup To Display on Hover