Query of the Week · Library
Detail page viewers without purchase
← Back to overview1 · Business question
Viewed the product detail page after an ad exposure but did not buy: high-intent visitors.
2 · Query (SQL)
WITH viewers AS (
SELECT user_id
FROM amazon_attributed_events_by_conversion_time_for_audiences
WHERE detail_page_view > 0
GROUP BY user_id
),
purchased AS (
SELECT user_id
FROM amazon_attributed_events_by_conversion_time_for_audiences
WHERE purchases > 0
GROUP BY user_id
)
SELECT v.user_id
FROM viewers v
LEFT JOIN purchased p ON v.user_id = p.user_id
WHERE p.user_id IS NULL 3 · Interpretation
DSP targeting or Sponsored Display targeting; in SP/SB as a bid boost.
/en/query-of-the-week/detail-page-viewers/