Formula
Avg. Products Viewed = SUM ( distinct product page URLs per session ) ÷ Number of sessions
Session metrics are calculated from Upstack’s session records. They aren’t offered in the dashboard metric picker.
What counts as a product view
Each time a visitor leaves a page, the Upstack Pixel sends the page’s path and query string. The session adds the page to its product list when both of these are true:- The path starts with
/products/, the URL pattern Shopify stores use for product pages. - That exact path and query string isn’t already in the session’s list.
Every session counts in the denominator, including sessions that saw no product pages.
Worked example
Five sessions on a Shopify store selling in English and French:
Avg. Products Viewed = (2 + 2 + 0 + 0 + 1) ÷ 5 = 1.0. Session D looked at two products, but the French locale prefix kept them out. Session A looked at one product and counts two because a variant parameter changed the URL.
How to interpret it
- Check your URL structure first. If your product URLs use a locale prefix or a different pattern, this metric undercounts or reads zero. Use Avg. View Contents per Session instead. It counts every
view_contentevent, repeats included, so it isn’t a distinct count. - Variant parameters inflate it. Stores that change the URL when a shopper picks a size or color can show higher values without more browsing.
- Use it to compare traffic sources. Compare by landing page or UTM source to see which traffic browses the catalog.
- Read it with funnel progress. Several products viewed and no cart can mean shoppers are comparing and not finding a fit. See Avg. Funnel Stage.
FAQ
Why is Avg. Products Viewed zero when visitors view products?
Why is Avg. Products Viewed zero when visitors view products?
Your product URLs probably don’t start with
/products/, for example because of a locale prefix such as /fr/. The count is based on the URL path.Does viewing the same product twice count twice?
Does viewing the same product twice count twice?
Not if the URL is identical. A different query string, such as a variant parameter, makes it count as a separate entry.
Is this the same as View Content events?
Is this the same as View Content events?
No. View Content counts
view_content events your site tracks. This metric counts distinct product page URLs from the pixel’s page-end messages.Related metrics
See all Session metrics →