- Label: Product interactions
- Description: Product pairs that shoppers interact with together, such as products viewed in the same session or bought in the same order. Each row pairs an anchor product with a related product for one interaction type and rolling time window.
- Default group key:
related_product
How this dataset differs
Product interactions are rolling snapshots, not dated events, so a few rules apply:- Filter by anchor product. Every query must limit
productwith=orIN, and everyORbranch must do the same. You can look up at most 20 anchor products per query. - Pick a window with
time_window. Snapshots cover the last30dor90d. Not every interaction type has both windows.SINCE,UNTIL, andDURINGdon’t change the results. - No comparisons or trends.
COMPARE TOandTIMESERIESare not supported. - No shared session dimensions. The personalization dimensions are not available on this dataset.
Metrics
- interaction_count (events)
- Observed interactions for the pair.
- Example: SHOW interaction_count
- confidence_score (rate)
- Pair interactions divided by observations of the anchor product. Higher values mean shoppers who interact with the anchor more often interact with the related product too.
- Example: SHOW confidence_score
- lift_score
- Conservative, prior-adjusted lift for the pair. Higher values mean the pairing is stronger than each product’s popularity alone would suggest.
- Example: SHOW lift_score
- anchor_count (events)
- Observations of the anchor product.
- Example: SHOW anchor_count
Dimensions
- recipe
- Interaction type:
customers_also_viewed,frequently_bought_together,customers_also_added_to_cart,viewed_then_bought,viewed_then_viewed, orcustomers_also_bought.
- Interaction type:
- preferred_recipe
- Set to
TRUEto includecustomers_also_boughtonly for anchors that have nofrequently_bought_togetherrows in the same window. This matches the Also bought list in the dashboard.
- Set to
- time_window
- Rolling window:
30dor90d.
- Rolling window:
- product
- Anchor Shopify product ID.
- related_product
- Related Shopify product ID.
- same_leaf_category
- Whether the two products share the same product taxonomy category.
- title, product_type, available
- Title, product type, and availability of the related product.
- product.<attribute>, related_product.<attribute>
- Filter or group by a product attribute on either side of the pair, for example
related_product.color.
- Filter or group by a product attribute on either side of the pair, for example