Articles on: Website Widgets and Popups

How to restrict your widget to showing up on specific pages

Do you want to show your widgets only on specific pages or show them on all pages except for a select few? It's easy to control this with our page targeting rules.

Follow this guide to learn how to target your widgets to your pages:

On the widgets page, click on the pencil button to edit the widget:


Edit widget


Go to the "Display options" tab:


Display options


In the Rules category, click “Add a Rule”, and choose “Pages” from the drop-down menu:


Add a rule


Choose the “Don’t show on” option, which will hide your widget on specific pages. Use page slugs (the URL path) to determine where your widget should or shouldn’t load on your site:


Page slugs


Note: If you want to show your widget on a pricing page and your URL looks like that https://www.example.com/pricing/, you need to only use /pricing in the "show" input.

You can also use an asterisk to target pages dynamically, like this: /products/*
this will target all pages which start with '/products/'.

Additional note: If you want to only show your widget on the home page, use "/" in the "show" input.

Updated on: 04/02/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!