The provided targeting section allows for only one URL to be entered. However, if you wish to target more than one specific URL to display or exclude your Quick Announcement Bar, you can do this by using the keyword section, and entering the path (the trailing section after your web address suffix) of the URLs you wish to target.
This method works for both Display on Page and Exclude page sections.
Here are the steps.
1. Go to a page you want to target.
2. Highlight and copy the path, the section that follows .com, .ca, .au, etc
3. Paste the section into the targeting by keyword section
4. repeat the process for each page you want to target. Separate each path with a comma.
Save and test.
How do I target a bar to a subdomain?
If you wish for your Quick Announcement Bar to only be displayed on a certain subdomain, this can be done via keyword targeting.
Under Targeting Configuration, choose the 4th option and enter the name of the subdomain into the text field. (Replace "keyword" with the subdomain name and the bar will only display on that subdomain)
The keyword search looks at the entire URL and will find the keyword in the subdomain section.
Conversely, the exclusion by keyword can also work to exclude bars from certain subdomains.
NOTE: If a product in another subdomain has the same keyword in its URL, that would qualify the bar to be shown. For example, if your subdomain keyword is "storage" and you have a product in another subdomain with the URL, ".../products/storage", that URL will trigger the bar to show. You might be able to use exclusion rules to stop that from happening.
Please watch our video tutorials.
Device, Product & Customer Target