You can configure your POWR Popup to appear when a visitor clicks on specific elements of your webpage, such as text, images, or buttons. This method provides a more interactive experience compared to automatic popups.
In This Article:
How to Set Up Click-to-Trigger for POWR Popup
-
Add your POWR Popup to the desired page.
-
Switch to HTML mode in your website editor clicking on <>.
-
Wrap the element (text, image, or button) you want to use as a trigger with the
trigger-popup
class.For example:
-
Ensure the Popup's display settings are configured correctly.
-
In the POWR Editor, navigate to Controls > Schedule & Triggers.
-
Set "How often should visitors see the popup?" to "Every time anyone visits".
-
Note: If instead you want the Popup to appear on a new page after your visitor is redirected, just add the Popup to that new page instead.
Examples of Click Triggers
Text:
<p>This is a paragraph.</p>
<p class="trigger-popup">This is a paragraph that will trigger a Popup.</p>
Image:
This is an image:
<img src="https://cdn.shopify.com/s/files/1/1061/1924/products/Sad_Face_Emoji_large.png?v=1480481055"/> This is an image that will trigger a Popup:
<img class="trigger-popup" src="https://cdn.shopify.com/s/files/1/1061/1924/products/Smiling_Face_Emoji_large.png?v=1480481056"/>
Button:
<button type="button">This is a button.</button></p>
<button class="trigger-popup" type="button">This is a button that will trigger a Popup.</button></p>
⚠️ Important Notes
-
The
trigger-popup
class works best with<p>
,<img>
, and<button>
elements. It may not function correctly with<div>
elements. -
If you want the Popup to appear on a new page after redirection, add the Popup to that new page instead.
FAQs
Q: Will the Popup appear automatically without a click?
A: No, when using the trigger-popup
class, the Popup will only appear upon clicking the designated element. Ensure that automatic display settings are disabled if you prefer click-only triggers.
Need Further Assistance?
If you have any questions or need additional help setting up your POWR Popup triggers, please contact POWR Support.
Comments
0 comments
Please sign in to leave a comment.