Ometria imports your Shopify collections as product attributes. You can use them to target contacts based on the collections they browse and the collections they buy from, and to shape your product recommendations.
How Ometria uses your Shopify collections
The import typically runs once an hour, along with your Shopify pages. Once imported, a collection is available wherever you can filter by a product attribute.
Orders
Use collections to find contacts who bought from a collection, or to filter orders by collection. For example:
- In a segment, add the condition Order includes product with attribute, then select Category and choose your collections. See Segmenting your broadcast recipients.
- In the orders filter, select Products purchased by attribute. See Orders filter.
Website visits
When a contact visits a collection page on your website, Ometria records the visit against that collection. Use this to trigger an abandoned category campaign when a contact views a collection and leaves without viewing a product or placing an order.
In the entry trigger, choose Contact has viewed a product or page with an attribute, then select Category. Select Page to target your Shopify pages instead.
Product recommendations
Limit a product recommendation to products from a collection. In the recommendation settings, use Restrict to attribute(s), select Category, then choose your collections. See Create a new product recommendation.
Set up collection tracking for website visits
Order-based filters use your imported data and need no extra setup. To record which collection a contact is viewing on your website, Ometria needs the collection_handle value in your tracking script. The standard Shopify script already includes it.
If you have a custom Shopify integration, or you became an Ometria customer before November 2019, check that your script includes this line:
collection_handle: {{collection.handle|json}}
See Setting up a Shopify integration for the full script and where to add it.
Shopify's new collections model
Shopify has introduced an updated collections model, offering greater flexibility in how collections are created and managed. This includes support for nested collections and more advanced ways of assigning collections to products and variants. For more detail, see Shopify's overview of the new collections experience.
Ometria supports Shopify's new collections model and its expanded collection functionality.
However, there is one difference in how Ometria handles collections assigned at variant level.
Default behaviour
By default, Ometria keeps the existing behaviour for collections.
A collection is ingested at product level only when it applies to all variants of that product. If every variant shares a collection, Ometria treats it as a product-level collection and all variants inherit it.
If a collection is assigned to only some variants, Ometria treats it as a variant-level collection and does not ingest it by default.
Enable variant-level collections
To have Ometria support variant-level collections, contact Customer Support to enable this functionality.
Once enabled, Ometria also ingests collections assigned to individual variants. Different variants of the same product can then belong to different collections.
Example
A t-shirt product has two variants, blue and red.
The parent product belongs to a collection called Cotton, which applies to both variants. The red variant also belongs to a separate collection called Valentines.
With variant-level collections enabled, Ometria applies the collections like this:
| Product / variant | Cotton | Valentines |
| Parent product (T-shirt) | ✓ | ✓ |
| Blue T-shirt | ✓ | |
| Red T-shirt | ✓ | ✓ |
When you search by collection:
- Cotton returns the parent product and both the blue and red t-shirt variants, because the collection applies to all variants.
- Valentines returns the parent product and the red t-shirt variant, because at least one variant belongs to the collection.
This lets you target individual variants using collections, while keeping the existing behaviour for collections shared across all variants.
Comments
0 comments
Article is closed for comments.