How do I target a bar to a subdomain? (QAB)

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)

Screen_Shot_2021-12-13_at_2.23.38_PM.png

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.

Screen_Shot_2021-12-13_at_2.39.32_PM.png

 

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.

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