Snowplow home
Ecommerce Analytics

Ecommerce Analytics Data Model Pack

The Snowplow Ecommerce Analytics Data Model Pack is a dbt package that turns Snowplow ecommerce events into analysis-ready tables for carts, checkouts, products, transactions, and sessions in your warehouse. Your analysts, BI tools, and AI agents query the tables directly.

Start from modeled tables instead of raw events. Report on checkout funnels, abandoned carts, products, and revenue with SQL you can audit, on data you own.

  • Web and mobile
  • SQL you can read on GitHub
  • Runs in your warehouse

What's included in the Ecommerce Analytics Data Model Pack?

The pack is the Snowplow Ecommerce dbt package. It runs incrementally in your warehouse and builds five derived tables from the ecommerce events your Snowplow trackers send, so your team starts from modeled data instead of raw events. Snowplow maintains the package, and the SQL is on GitHub, so your team can see exactly how every metric is calculated and extend it.

  • Carts

    Every add to cart and remove from cart, with the cart's value after each change and whether the cart was created, emptied, or purchased.

    Questions it answers: Which carts get abandoned? What do shoppers add and remove?

  • Checkouts

    Each checkout step a shopper reached, the delivery and payment methods they chose, and whether the checkout succeeded.

    Questions it answers: At which step do shoppers leave checkout? Which delivery and payment methods do they pick?

  • Products

    Product views on product pages and in lists, add-to-carts, removals, and purchases, with each product's brand, category, price, and list position.

    Questions it answers: Which products get viewed but not bought? How does each category perform?

  • Transactions

    Each transaction with its revenue, currency, tax, shipping, discounts, payment method, and number of products.

    Questions it answers: What's our revenue and average order size? Which discount codes get used?

  • Sessions

    One row per session, with counts of product views, add-to-carts, carts, checkout steps, and transactions, total revenue, and flags for an abandoned cart or a successful checkout.

    Questions it answers: Which sessions include a purchase? How many sessions abandon a cart?

What can you do with Snowplow's ecommerce data models?

Every table covers your website and mobile apps, so your teams start from the ecommerce questions they already ask.

  • Find where shoppers leave checkout

    See the checkout step each shopper reached and whether they bought.

    Built onCheckouts

  • Measure cart abandonment

    Follow each cart from creation to purchase, with every abandoned cart flagged.

    Built onCartsSessions

  • See which products and lists sell

    Compare views, add-to-carts, and purchases by product, category, and list.

    Built onProducts

  • Report revenue from one table

    Revenue, tax, shipping, and discounts on every transaction.

    Built onTransactions

Who uses the Ecommerce Analytics Data Model Pack?

For data and analytics teams

  • Query the tables directly.With SQL, in a notebook, or from your BI tool.
  • Read and extend every line of SQL.The code is on GitHub. Build your own models on top in dbt.
  • Join it to your other data.Every table carries session and user IDs to join with order, CRM, or product data.

For ecommerce, product, and marketing teams

  • Answers from your own data.Checkout, cart, and product questions come from modeled tables in your warehouse.
  • One set of numbers.Revenue and orders come from one transactions table.
  • Web and app together.Website and mobile app shopping lands in the same tables.

Looking for a GA4 or Adobe Analytics alternative for ecommerce?

The pack gives you carts, checkouts, products, transactions, and sessions as tables in your warehouse from your first model run, so the move doesn't start from raw events.

  • Start from your GA4 tagging

    The Snowplow JavaScript tracker's ecommerce plugin includes a transitional API that reads the standard GA4 or Universal Analytics ecommerce data layer, so you can send Snowplow ecommerce events before you rework your tagging.

  • Run both while you switch

    The Snowplow web tracker can capture Google Analytics cookie values, including GA4's, on every event, so you can join the two datasets during a parallel run.

  • Plan for history

    The pack models the data Snowplow collects, so teams typically keep their current tool running until Snowplow has enough history for year-over-year reporting.

How does the Ecommerce Analytics Data Model Pack work?

Trackersweb and app eventsPipelinevalidates and enriches
Your data warehouse
Raw eventsEvents tableone row per eventproduct_viewadd_to_cartcheckout_steptransaction
Data model packEcommerce Analytics1 dbt packageSnowplow Ecommerce
Modeled tablesCartsCheckoutsProductsTransactionsSessions
BI toolsdashboards and reportsAI agentsplain-language questions

SnowplowYour warehouse, data, and tools

Trinny London replaced Google Analytics with Snowplow and uses dbt to join Snowplow behavioral data with its ecommerce transaction data for multi-touch attribution.

“We have developed a set of attribution models that we share with our marketing team. We combine our order data with Snowplow data, and each order has an attribution path depending on which model we use. We then package this into Looker so our marketing team can see how many orders a particular ad triggered.”
Holly FosterLead BI Analyst, Trinny London
Read the Trinny London story

Ecommerce Analytics Data Model Pack FAQs

Does the Ecommerce Analytics Data Model Pack include dashboards?

No, the pack provides data models rather than dashboards. Its dbt package builds cart, checkout, product, transaction, and session tables in your warehouse. Your team connects its own BI tool, notebooks, or AI tools to those tables, so every report uses the same definitions and you aren't tied to one interface.

What tracking does the pack need?

The package models Snowplow's ecommerce action event, which the Snowplow JavaScript tracker sends through its ecommerce plugin and the iOS and Android trackers also send. It covers product views, product list views, adding to and removing from carts, checkout steps, and transactions. Snowplow Event Studio has an Ecommerce (Web and Mobile) tracking plan template to start from.

Does it work for mobile apps as well as websites?

Yes. The package treats ecommerce events from websites and mobile apps the same way, so web and app activity lands in the same cart, checkout, product, transaction, and session tables. Web events work out of the box, and setting one package variable adds mobile events.

How is it different from GA4 ecommerce reports?

GA4 shows ecommerce reports in its own interface, and its raw event export still needs modeling before you can query carts or checkout steps. The pack builds those tables in your warehouse from your own Snowplow data, with SQL you can read and change, so you decide what's collected and how each metric is defined.

Can I match the models to my own checkout and catalog?

Yes. You set which checkout step counts as a completed transaction, how many levels your product categories have, and the separator that splits them. You can also turn off the carts, checkouts, products, or transactions module if you don't track those events, so the package doesn't create empty tables.

Do I need to run dbt myself?

Not necessarily. Customers on Snowplow Customer Data Infrastructure can schedule the package to run alongside their Snowplow pipeline, so the tables stay current without a separate scheduler. Teams that already use dbt can add the package to their own dbt project instead and customize it there. Either way, the models run in your warehouse and process new events incrementally.

How does it relate to the Digital Analytics Data Model Pack?

It extends it. The Digital Analytics Data Model Pack models page and screen views, sessions, users, conversions, and marketing attribution, and the Ecommerce Analytics Data Model Pack adds carts, checkouts, products, and transactions. Both run on the same Snowplow events in your warehouse, so you can analyze shopping alongside traffic, engagement, and attribution.

Get started with the Ecommerce Analytics Data Model Pack

Book a demo to see the tables applied to your own checkout, carts, and products, or start for free.