• Portfolio project
  • Public dataset
  • Marketing Analytics

E-commerce funnel and commercial performance analysis (GA4)

A portfolio analysis of Google's public GA4 sample e-commerce data that locates funnel drop-offs and compares performance by device and traffic source.

Project type
Portfolio project
Dataset
Public dataset
Dataset provenance
Google's public GA4 Sample E-commerce dataset in BigQuery: obfuscated event data from the Google Merchandise Store, 1 November 2020 to 31 January 2021.
Client status
Demonstration analysis; does not represent a PA Data Analytics client.
USERS AT EACH FUNNEL STEPProduct viewProduct view: 61,252 users61,252Add to cartAdd to cart: 12,545 users12,545Begin checkoutBegin checkout: 9,715 users9,715Shipping infoShipping info: 9,714 users9,714Payment infoPayment info: 5,751 users5,751PurchasePurchase: 4,419 users4,41920.5% of viewersadded to cart40.8% drop-offat payment stepPortfolio project · Public GA4 sample dataset
Chart drawn from the project's own outputs · Public dataset · portfolio project.
View the data behind this chart
Funnel stepUsers
Product view61,252
Add to cart12,545
Begin checkout9,715
Shipping info9,714
Payment info5,751
Purchase4,419

01Business question

An online store typically knows its overall conversion rate, but not where visitors drop out between viewing a product and completing a purchase, or which devices and traffic sources bring revenue rather than just visits.

02Dataset & context

Dataset: Public Dataset. Google Analytics Sample E-commerce Dataset. This portfolio analysis uses Google's public GA4 Sample E-commerce dataset, available through BigQuery (bigquery-public-data.ga4_obfuscated_sample_ecommerce). It contains obfuscated event data from the Google Merchandise Store, covering 1 November 2020 to 31 January 2021. The analysis does not represent a PA Data Analytics client.

Dataset metrics used in the analysis include 270,154 unique users, 354,970 sessions, 5,692 purchases and $362,165 in recorded revenue, with an average order value of $63.63.

03Approach

Rebuild the purchase funnel from raw GA4 events using SQL in BigQuery, calculate conversion and drop-off at every step, then compare performance by device category and traffic source.

04Methodology

  • Event-level funnel from first_visit through view_item, add_to_cart, begin_checkout, add_shipping_info and add_payment_info to purchase.
  • Twelve BigQuery SQL queries covering KPIs, funnel steps, drop-offs, devices, traffic sources, countries and products.
  • Validation in Python that revenue and purchase totals reconcile across tables.
  • A Power BI dashboard for funnel monitoring.

05Modelling & analysis

The analysis reconstructed the e-commerce purchase funnel from GA4 event data, following users from product interaction through cart, checkout and purchase.

Dataset finding: the view-to-cart rate was approximately 20.5%, with 12,545 users reaching the add-to-cart stage out of 61,252 product viewers.

Dataset finding: a major leakage point occurred at the payment stage. Of 9,714 users who entered shipping details, 3,963 did not go on to add payment information, a drop-off of approximately 40.8%.

The analysis also compared purchases and revenue by device category and traffic source. In this dataset, mobile users purchased at a slightly higher rate per user than desktop users (2.16% vs 2.03%), while desktop generated more revenue ($208,815 vs $146,768). Google organic search was the largest traffic source by both users and revenue, and direct traffic was second by revenue.

06Results within the dataset

The analysis identified the payment stage as a major conversion leakage point, with approximately 40.8% of users dropping off at that stage. The funnel analysis also showed that only approximately 20.5% of product viewers progressed to the add-to-cart stage.

These findings highlight several areas for further investigation:

  1. Payment and checkout friction. Investigate usability, errors, payment-method availability and other potential causes of payment-stage abandonment.
  2. Product-to-cart conversion. Investigate product-page engagement, pricing, product information and calls to action to understand why a large proportion of product viewers do not add items to cart.
  3. Channel quality. Evaluate acquisition channels using downstream funnel behaviour rather than relying solely on traffic volume.
  4. Device experience. Compare funnel performance across device categories, including the gap between mobile's conversion rate and its lower revenue.

These are analytical opportunities identified in a public dataset, not changes that a business implemented.

07What this analysis demonstrates

How funnel analysis turns “our conversion rate is low” into specific places to act, and why event-level data in BigQuery gives a more complete view than standard GA4 reports.

08How a business could use this analysis

  • Prioritise fixes at the funnel stage with the largest revenue-weighted drop-off.
  • A/B test proposed changes before a full rollout.
  • Monitor the funnel monthly from a single dashboard instead of separate platform reports.

09Related service

This project demonstrates methods used in our marketing analytics services.

10Apply this to your data

If you are facing a similar question, we can look at what your data can support and what a useful answer would look like.

More case studies

SHARE OF REVENUE CREDITShapleyLast ClickPaid SearchPaid Search: 35.6% of credit under Last ClickPaid Search: 41.9% of credit under Shapley35.6%41.9%DirectDirect: 8.4% of credit under Last ClickDirect: 51.9% of credit under Shapley8.4%51.9%EmailEmail: 18.9% of credit under Last ClickEmail: 0.0% of credit under Shapley18.9%0%Paid SocialPaid Social: 15.0% of credit under Last ClickPaid Social: 6.2% of credit under Shapley15%6.2%InfluencerInfluencer: 7.6% of credit under Last ClickInfluencer: 0.0% of credit under Shapley7.6%0%Portfolio project · Synthetic dataset
  • Portfolio project
  • Synthetic dataset
  • Marketing Analytics

Comparing five attribution models to understand channel contribution

A portfolio analysis that builds five attribution models on the same customer journeys, to show how much a channel's credit depends on the model chosen.

Synthetic dataset: 11,292 touchpoints · 3,500 customers · 5 models

Read the attribution case study
MONTHLY REVENUEModel-fittedActual$0.6M$1.0M2023-01: actual $780,659, model-fitted $777,9402023-02: actual $756,909, model-fitted $756,3382023-03: actual $724,723, model-fitted $728,0512023-04: actual $705,401, model-fitted $705,1562023-05: actual $945,021, model-fitted $952,0832023-06: actual $752,169, model-fitted $730,9202023-07: actual $873,979, model-fitted $891,5472023-08: actual $791,576, model-fitted $790,1582023-09: actual $729,243, model-fitted $724,5182023-10: actual $894,399, model-fitted $913,6452023-11: actual $933,780, model-fitted $924,6182023-12: actual $948,259, model-fitted $952,0402024-01: actual $846,935, model-fitted $858,9172024-02: actual $794,305, model-fitted $805,7142024-03: actual $766,408, model-fitted $763,6472024-04: actual $948,479, model-fitted $936,6722024-05: actual $789,934, model-fitted $797,6692024-06: actual $787,235, model-fitted $784,7892024-07: actual $928,345, model-fitted $942,9262024-08: actual $826,781, model-fitted $803,0612024-09: actual $963,461, model-fitted $963,2772024-10: actual $752,190, model-fitted $763,5462024-11: actual $978,515, model-fitted $975,4352024-12: actual $1,004,106, model-fitted $980,147Jan 2023Jan 2024Dec 2024Portfolio project · Synthetic dataset · R² 0.957 in-sample
  • Portfolio project
  • Synthetic dataset
  • Marketing Analytics

Marketing mix modelling and budget allocation analysis

A portfolio marketing mix model that estimates each channel's contribution to revenue from two years of weekly data and tests how a fixed budget could be reallocated.

Synthetic dataset: 104 weeks · 4 paid channels · R² 0.957 (in-sample)

Read the marketing mix modelling case study

Let's turn your data into your next decision.

Tell us what you are trying to understand: marketing performance, customer retention, forecasting or reporting. We will reply with practical next steps.

Prefer email? [email protected]