Documentation
Choose Your Audience
Show a banner on selected pages or to selected visitors using the Targeting and Audience settings in the SpryUI dashboard.
Choose where a banner appears
In Messages, open the banner’s menu, choose Settings, and find Targeting.
- Paths: enter one page path per line. Use
/pricingfor one page or/blog/*for pages under the blog. Leave empty for all pages. - Referrers: match part of the referring address, such as
example.com. Direct visits usually have no referrer. - UTM source, medium, campaign: enter the campaign values from your links, one per line. For example, use source
newsletterfor links containing?utm_source=newsletter.
Save your settings, then visit a matching URL to test.
Choose who sees it
Under Audience, select the devices you want to reach. Start without visitor restrictions unless your installation supplies visitor history.
First visit only and Returning visitors only need visitor state from your integration. Selecting both removes that restriction.
Countries accepts codes such as AU or US, but needs your integration to supply the visitor’s country. SpryUI does not determine it automatically. Ask your developer before using this filter. See the country example and targetingContext fields.
Keep rules simple
Values within one field are alternatives. Different fields must all match. A banner restricted to /pricing and mobile devices appears only when both conditions are met.
Add one restriction at a time. If a banner disappears unexpectedly, use debug mode to see why.