Important note: if you're on Shopify and installed WisePops with our app, please follow this guide to set up the wisepops() function before following this guide.

Step 1: tag your link/button

On your website, insert the following link

<a href="#" onclick="wisepops('event', 'user-click'); return false;">Click here</a>

(The snippet return false; tells the browser not to follow the link provided in href.) 


You can also get the exact same result with a button:

<button onclick="wisepops('event', 'user-click');">Click</button>

Step 2: select your trigger

Open your popup in WisePops.

Click "Display" in the left menu and select "On custom event".

Paste the name of your custom event (in our example, we used user-click).


Then click "Frequency" and check "on every page" and "never stop showing" to make sure the popup will appear any time the link or button is clicked:


Save your popup.

Did this answer your question?