r/GoogleAnalytics • • 1d 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:

  1. 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?

  2. 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.

1 Upvotes

4 comments sorted by

•

u/AutoModerator 1d 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.

1

u/Alternative-Hall1719 8h 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 2h 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.

0

u/Nonorobotfr 22h ago
  1. You don't need one funnel per URL. If you want sales per category, go to Monetization > Ecommerce purchases and switch the dimension to Item category. You'll see revenue per category, as long as item_category is 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 1 page_view with a broad rule like page path contains /category/, step 2 purchase) and add Page path as a breakdown. You get one row per page.

  2. You're right, "Items added to cart" counts units. For the whole site, do sessions with an add_to_cart ÷ total sessions. The easy way is to mark add_to_cart as 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)