Before you start
- Audiences must be enabled for your store. If Audiences is missing from Settings, contact Customer Care to check availability.
- You need permission to edit merchandising rules to manage audiences. Ask your store administrator if you cannot access the page.
- Your storefront must provide the context your conditions depend on. See contextual conditions for the available fields.
Layers audiences are different from Shopify customer segments. Use the Segments field to target a segment managed in Shopify. Use Audience to reuse conditions saved in Layers. You can include a Shopify segment condition inside a Layers audience.
Create an audience
- Open Settings → Audiences and select Create Audience.
- Click the title and enter a descriptive name, such as “US newsletter visitors”. Names must be unique within your store, regardless of capitalization.
- In Conditions, use the Builder tab to add the shopper conditions you want to match.
- Combine conditions with AND when all must match, or OR when any may match. Use nested groups for more detailed targeting.
- Review the Traffic estimate below the builder.
- Select Create Audience to save.
Creating an audience does not change your storefront by itself. Add it to a rule to use it for targeting.
An audience cannot include another saved audience. Build its definition from shopper conditions directly. You can combine multiple saved audiences in a rule instead.
Reuse an audience in a rule
- Open a rule’s contextual condition builder.
- Choose Audience from the field picker.
- Choose in to target matching shoppers, or not in to exclude them.
- Search for and select one or more saved audiences.
- Save the rule and follow its usual publishing workflow.
Read the traffic estimate
The Traffic estimate panel shows the estimated share of sessions matching your conditions and an approximate number of sessions per week. The audience list also shows Traffic coverage for each saved audience.- Recent traffic, not a forecast: Layers uses search and browse sessions with recorded context from the last seven days. This is not a count of unique customers or every visit to your store.
- Sampled coverage: The estimate checks up to the 5,000 most recent sessions, using the latest recorded context for each. It applies the matching share to the total recorded sessions in that seven-day window to estimate weekly sessions.
- Unmeasured conditions: Date and time conditions are excluded from the estimate. The panel lists conditions it cannot account for. Those conditions still apply on the storefront, so the estimate is not the exact reach of the full audience.
- Not live reporting: Recent traffic is cached briefly. A change in storefront traffic may not appear immediately.
Use SegmentQL
The SegmentQL tab is an optional text-based way to write supported audience conditions. Use Builder if you prefer to select fields and values without writing a query. Select Apply to builder to validate your query and update the builder conditions and traffic estimate. This does not save the audience. Select Create Audience or Save when you are ready. Saving from SegmentQL also validates your current query, even if you have not selected Apply to builder. If validation fails, Layers shows the errors and does not save the changes. Not every builder condition is supported in SegmentQL. If a query reports an unsupported field or condition, use Builder instead.Edit or delete an audience
Open Settings → Audiences and select an audience’s name, or choose Edit from its actions menu. Change its name or conditions and select Save. Rules reference the saved audience rather than a copy of its conditions. Updating an audience changes the targeting wherever it is used, including live rules. Check the Rules using it column before changing a widely used audience. Renaming an audience keeps those references intact. To delete an audience, choose Delete from its actions menu and confirm Delete Audience. Layers blocks deletion while anything still references it. The error identifies the rules or configurations you need to update first. Remove or replace those audience conditions, save the affected configurations, then try deleting again.Troubleshooting
- The name is already taken: Choose a different name or edit the existing audience. Changing capitalization alone does not make a name unique.
- The traffic estimate cannot load: Your audience conditions are unaffected. Try again and contact Customer Care if it keeps happening. An unavailable estimate is not the same as zero matching traffic.
- The estimate seems broader than expected: Check the unmeasured conditions listed below it, and remember that it uses recent recorded search and browse sessions rather than all store visitors.
- A query will not save: Correct the errors shown in SegmentQL, or return to Builder and save the conditions there.
- An audience cannot be deleted: Remove its references from the configurations named in the error, then retry.
Next steps
- Contextual conditions for the shopper fields you can target.
- Create a merchandising rule to tailor collections to an audience.
- Create a ranking rule to tailor search results.
- Segmented sorting to apply sort expressions conditionally.