Privy's audience targeting rules are a collection of conditions that allow you to target individuals with specific displays so that you can display the right message, to the right person, at the right time. The 'Device Category' condition is particularly powerful as it empowers you to craft specific messaging or offers based on how visitors are accessing your store and browsing your products or services.
A couple of use cases for you to consider:
- Increase the size of form fields for your mobile users so they can easily input their information.
- Use a "Flyout" design that won't take over the visitors' entire screen on mobile to make the offer less disruptive to their normal browsing experience.
How device category is determined
Privy determines the device category of a visit by checking the visitor's user-agent information, which is a string of information shared by their browser that essentially says “Hi, I’m Chrome on Windows” or “Hi, I’m Safari on an iPhone.” An example user-agent string is shown below:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/91.0.4472.80 Mobile/15E148 Safari/604.1
User-agent information categorized as desktop-based, such as Windows or Mac, are shown desktop displays. In contrast, information categorized as mobile-based, such as iPhone or Android, is shown mobile displays. Currently, the most popular tablets, such as iPads and Kindles, are categorized as desktop-based.
Create the targeting rules
To incorporate the 'Device Category' property into your display's audience targeting rules:
- Navigate to Convert > All Displays.
- Select or create a display that you'd like to include Device-based targeting rules.
- In the Target step, select the Who To Show It To setting and click Add targeting condition.
- Click the dropdown menu listed under the Property header and select the Device Category option from the Website Behavior section.
- Next, choose the operator and the value that you'd like the rule to evaluate.
- Finalize any additional rules and select Save.