Targeting: Pages •

By default, the Quick Announcement Bar will be displayed on all pages of your store. The Page Targeting feature allows you to control on which pages the Quick Announcement Bar will or will not be displayed.

Note: The Quick Announcement Bar cannot be displayed on the checkout page.

On this page:


Homepage only

If you want the Announcement Bar to be displayed on your store's Homepage and not on other pages, you can select the "Homepage" option under Include on page(s):

 

Product pages only

If you want the Announcement Bar to be displayed only on your store's Product pages and not on other pages, you can select the "Product pages" option under Include on page(s):

Additionally, you can choose to display the bar only on selected products by choosing them individually, by collection, or by tags.


Collection pages only

If you want the Announcement Bar to be displayed only on your store's collection pages and not on other pages, you can select the "Collection pages" option under Include on page(s):


Only on Page with URL

If you want the Announcement Bar to be displayed on a single unique page, you can enter the URL of that page here:

 
An easy way to do this is to head over to the page you want to target on your store, copy its URL and then paste the URL in the textbox indicated above.

Please note that you can only target one URL with this option. To target multiple pages, use the next targeting option, targeting by keyword.


Only include Pages that contain the keyword in their URLs

If you want to target multiple pages, you can use this keyword option instead. In this field you can enter keywords, and if any of these keywords appear in the URL when visiting a page, the bar will display.


Example #1

If you want the bar to display on all pages with "summer" in the URLs, you would simply enter the keyword "summer", like so:

This would result in the bar displaying on all three of these pages:

  • www.example.myshopify.com/summer-shirt
  • www.example.myshopify.com/summer-shoe
  • www.example.myshopify.com/summer-trouser
If "summer" is in any part of the URL, the bar will qualify to display on that page.

You can enter multiple keywords if you like. Simply separate them by a comma:


Example #2

Going back to targeting unique pages, let's say you want to display the Announcement Bar on only these two pages:

  • https://example.myshopify.com/cart
  • https://example.myshopify.com/products/braves-shirt-new
You would input the URL path for each page into the input field, and separate them by a comma. The path is the section after the .com, .ca, etc.


Multiple Targeting Options

You can also enable multiple targeting options at once. The Announcement bar will then display on all of the selected options. For example, the following targeting configuration would set the bar to display on the homepage, all product pages, and pages with the keyword "shirt" in their URLs.


Exclusion

The Exclude from page(s) options work similarly, only it directs the app to not display the bar on these pages. For example, to ensure the bar does not display on the homepage, you would set it like this:

This will display the Announcement bar on all pages except the homepage. Follow the same logic for the remaining options.

With the logic above, you can select whether to include or exclude the bar on certain pages.

If you have any questions or need further assistance, feel free to contact us at help@hextom.com. We're happy to help!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us