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 page targeting of the targeting configuration, select "Select pages"
Choose the "Pages that contain the keyword in their URLs" 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)
Save the bar. 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. Exclusion rules are the intended way to stop that from happening.
Please feel free to reach out at help@hextom.com if you have any further questions. We're happy to assist!