Some catalogs have lines that shoppers should never see mixed: cat and dog food, men's and women's clothing, baby and adult, vegan and regular. By default Rosetta draws recommendations from your whole catalog, so a cat food page could suggest a dog toy that's often bought by the same people. Recommendation boundaries stop that.
Do you need one?
Ask: would a shopper be annoyed, or confused, to see products from the other line? If yes, you need a boundary. If the lines just usually don't go together, you probably don't: Rosetta already favours relevant products, and a boundary removes good cross-line suggestions too (a dog owner who also has a cat).
Choose the type that matches your catalog
All three are in Settings → Recommendation Boundaries (how).
Collection groups: best when your collections already follow the lines. Create a group per line (Cat, Dog) and add its collections. Rosetta works out each product's group from its collections.
Tag: best when your products are tagged by line.
- Tag prefix, e.g.
pet:, if tags are structured likepet:catandpet:dog. Only tags that start with the prefix count. - Specific tags, e.g.
cat, dog, if tags are plain. Other tags likebestsellerare ignored.
Category level: best when you use Shopify's product categories consistently. Choose the level of the category path that separates your lines: if your categories are Pet supplies › Cat and Pet supplies › Dog, that's level 1.

Things to know
- Tag or group everything that belongs to a line. On a product that has a line, recommendations come only from products with the same line, so a product with no tag, group or category won't appear there. Its own page, though, isn't restricted and recommends from the whole catalog.
- Products for every line (a pet bowl that suits cats and dogs) can carry both values, e.g. both tags or both groups' collections, so they're recommended in each line.
- What boundaries cover: recommendations, including the best-seller fill used when there's little data. The Timed Discount Bundle Box chooses its products separately: to keep lines apart there, limit its products in Settings → Timed Discount Bundle Box.
- They're different from targeting. Settings → Recommendations decides which products can be recommended at all; boundaries decide which can be recommended together (targeting).
Check it
After saving, visit a product page from each line, logged in as a sandbox tester if you're not Live yet. Every recommendation should be from the same line.