Targeting: Device, Product, and Customer •
QAB offer various targeting features to help you select when to display a bar. This guide will cover device targeting, product targeting, and customer targeting.
Device targeting
Default setting:
By default, the bar will display on both desktops and mobile devices:
Desktop only:
Alternatively, you can choose for the bar to only display on desktops:
When set this way, the bar will not display on mobile devices -- only desktop computers.
Mobile only:
Finally, you can choose for the bar to only display on mobile devices.
When a bar is set to display only on mobile devices, there are no caps placed on font-size.
Product targeting
Default setting:
By default, the bar will show on all product pages.
Product tag:
You can select to only display the bar on product pages where the featured product has a matching tag:
In this example, the bar is being set up to only display when the customer visits a product page for a product that has the tag 'sale'. Be sure to add the same tag in the product settings:
This way, the bar will only display on that product page, and no other products.
Customer Targeting
• customers be logged in
• the app embed be turned on for the app in your theme:
Default setting:
By default, all customers, logged in or not, will have the bar displayed.
Customer Tag:
You can choose to target the bar to only display to customers with a specific tag:
In this example, the bar is being set to only display to customers with the tag 'vip'.
Be sure to set the same tag to the customers you wish to be able to see the bar:
In this example, the bar will only display for customers who are signed in and have the tag 'vip'.
Lifetime Spent:
Another way to target customers is by the amount that they've spent in your store since registering an account.
In this example, the bar would only display to signed in customers who have spent 500 or more (the currency is in your shop's base currency).
Hiding the bar:
Similar to targeting the bar so that only certain customers can see it, you can set the bar to be hidden from certain customers.
When hiding by tag, non-signed-in customers will see the bar. Only signed in customers who have the tag assigned will have the bar hidden from them.
Hiding by customer amount spent is different. It requires that the customer be signed in to work. If the customer isn't signed in, the bar will not be displayed. In they are signed in, the bar will be hidden to all customers who have spent less than the amount specified.