r/GoogleAnalytics • u/Diblainabad • 5d ago
Question Google Analytics
Hi everyone, how are you? I wanted to ask you for help with something. I’m starting to use GA4 for an ecommerce and I’m half-lost with two things they asked me, see if they can give me a hand:
I was asked to build a "purchase funnel" in 2 steps (people who saw a particular page and then ended up buying) because if I look at purchase on a normal table, everything comes out at checkout and I don’t know how much each category sells. Is it done yes or yes with a funnel scan by placing step 1 page_view of that URL and step 2 purchase? Or is there an easier way to see which pages drive the most sales without having to build a separate filter for each URL?
The other is how to get the % of Add to Cart right. I was told not to use "items added to the cart" because if someone puts 5 units it inflates the number. What metric do I have to cross to get it right (sessions, users, events) for both the overall site and per product?
Sorry if it’s too basic, I’m just grabbing GA4’s hand.
•
u/AutoModerator 5d ago
Have more questions? Join our community Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/Alternative-Hall1719 5d ago
Count sessions that had at least one add_to_cart event and divide by all sessions. That way someone adding 5 units still counts once. In Explore, make a segment of sessions where the event name is add_to_cart and compare its session count to the total. For one product, use sessions that viewed that product as the bottom number instead of all sessions.
1
u/ahmedrida1 4d ago
Everything shows up under checkout because the purchase event fires on the thank-you page, so that's the page GA4 ties it to.
For sales by category, use Item category with Item revenue and don't mix in Page path. Item stuff and page stuff don't play well together in the same table, and you end up with blank rows or weird numbers. Took me a while to figure that one out.
On the funnel, set step 2 to "indirectly followed by" and add a time limit if you want. Funnels count users, so without a limit someone who looked at the page weeks ago and bought today still counts.
And if you mark add_to_cart as a key event, check whether anyone imports key events into Google Ads first. You don't want a surprise conversion showing up there.
1
u/Interesting_Ring8481 2d ago
The Landing page report is useful if people start on the category page. If they land on the homepage, then browse Shoes and buy, that session still shows up under the homepage. If that's the journey you want to measure, I'd start with one closed funnel: a Shoes page view, then a purchase, with other events allowed in between. That tells you how many Shoes-page viewers bought something, even if they ended up buying a hat.
For a per-product rate based on sessions, use the same item ID in both steps. If someone views SKU A but only adds SKU B, that session shouldn't count as a cart add for SKU A. Just my 5 cents :)
1
u/michael51006 2d ago
for the first one, your funnel setup is correct. use page_view with the specific URL, indirectly followed by purchase. but if you just want to see which product categories sell the most, the Ecommerce Purchases report with Item category + Item revenue or Items purchased is much easier. those are two slightly different questions though.
for the add-to-cart rate, use sessions with at least one add_to_cart event divided by total sessions. that way, someone adding five items doesn't inflate your percentage.
per product, it's better to calculate the percentage of users who viewed a specific product and then added that same product to their cart. BigQuery is useful for calculating this accurately by item_id without counting quantities or repeated actions.
1
u/Strict-Basil5133 1d ago
RE: funnel, as long as you're counting Users and not sessions or views, you can use Sequence Segments or Funnel reports, with some caveats that may or may not be irrelevant to the insights you're looking for. BigQuery is the best and most reliable way for analysis.
RE: ATC%, it's a simple ratio: adds to cart/sessions, however using "all sessions" will include those in which a product wasn't viewed and you don't want that. For greater accuracy, filter the sessions for all or individual products viewed. For example, total add to cart events / total sessions in which any product was viewed.
0
u/Nonorobotfr 5d ago
item_categoryis sent with the purchase event. If you want to know which pages lead to sales, check the Landing page report with purchase revenue. You can also build one funnel exploration (step 1page_viewwith a broad rule like page path contains /category/, step 2purchase) and add Page path as a breakdown. You get one row per page.add_to_cartas a key event and use the session key event rate. For each product, use Cart-to-view rate in the Ecommerce purchases report. It counts users, not units.(I am more on the technical part, hate that analytics part btw)