Target a Popup to Display on link or CTA Click

Lisa Fockens Updated by Lisa Fockens

CTA popups are less intrusive than regular popups because they are based on user actions such as clicking a button or a link. They provide valuable information or incentives to the user without interrupting their browsing experience.

Some of the most common use cases for click-triggered popups include:

  • Contact forms
  • Social media sharing
  • Offers or promotions
  • Newsletter sign-ups
  • Product demos

Example:

Now, let's take a look at how you can set up a click-triggered popup with Wisepops in just a few simple steps.

  1. Set the Click Trigger in Your Scenario
    Navigate to the campaign display rules panel. Choose the "on click" trigger option from the trigger settings. As a default, append "#wisepops" to your desired trigger link.
    To tailor the hashtag more accurately to your needs, substitute #wisepops with something like #contact-sales or #out-of-stock via the settings in your scenario. Doing so enables you to configure various click-triggered campaigns on one page.
  2. Add the Hash to the Link
    To trigger the campaign, we need to add the hash to the appropriate link or button. For example, if you want to trigger a campaign when a visitor clicks on a link, add the hashtag like this:
    <a href="#wisepops">Link text</a>
    This code adds the #wisepops hashtag to your link, triggering the Wisepops campaign when it is clicked.
  3. Create a Fallback Redirection (Optional)
    Wisepops may not always work if a visitor uses a pop-up blocker extension or if your Wisepops account runs out of pageviews. In this case, you may want to create a fallback page to handle these visitors. You can add the hashtag to the end of your fallback URL like this:
    <a href="https://example.com/fallback#wisepops">Link text</a>
    This code redirects to https://example.com/fallback only if no campaign is triggered by the click.
    Note: Make sure to replace "example.com" with your own website domain.

With these simple steps, you can now set up a click-triggered campaign with Wisepops that displays a popup when a visitor clicks on a button or link.

If you have any questions, please get in touch.

On scroll trigger

Contact