Skip to main content
Pro Plan15 minutesIntermediate

E-commerce Revenue Tracking

Track e-commerce activity in Zenovay using custom events, goals with revenue values, and revenue attribution by source and campaign.

ecommercerevenueproductssales
Last updated:
Pro Plan

Zenovay doesn't have a dedicated "shop" report, but you can track an e-commerce store using the same building blocks the rest of the product uses: custom events, goals with revenue values, and revenue attribution. This article shows how to wire those up for a store.

Info

Zenovay tracks events and revenue — it is not an order-management or product-catalogue tool. There are no built-in product, category, coupon, or cart-abandonment reports. You build the views you need from custom events and goals, and Zenovay handles attribution (which traffic source and campaign drove the revenue).

What You Can Track

StepHow
Product views, cart actions, checkout stepsCustom events via zenovay('track', ...)
A completed purchase with revenueA goal with a value via zenovay('goal', ...)
The path to purchaseA funnel you define yourself
Which source/campaign earned the revenueRevenue attribution (automatic once revenue is connected)

Tracking E-commerce Events

Any string you pass to zenovay('track', ...) is recorded as a custom event with whatever properties you attach. Use this for product and cart activity.

Product View

zenovay('track', 'view_product', {
  product_id: 'SKU-001',
  product_name: 'Blue Widget',
  category: 'Widgets',
  price: 49.99,
  currency: 'USD'
});

Add to Cart

zenovay('track', 'add_to_cart', {
  product_id: 'SKU-001',
  product_name: 'Blue Widget',
  category: 'Widgets',
  price: 49.99,
  quantity: 2,
  cart_value: 99.98
});

Remove from Cart

zenovay('track', 'remove_from_cart', {
  product_id: 'SKU-001',
  quantity: 1
});

Begin Checkout

zenovay('track', 'begin_checkout', {
  cart_value: 149.97,
  item_count: 3
});

Note

These are recorded as ordinary custom events. They show up in your event stream and can power funnels, but they do not by themselves create revenue figures — for that, record a goal with a value (below) or connect a payment provider.

Recording Purchase Revenue

To make a purchase count toward revenue, record it as a goal with a value and currency. This is what feeds Zenovay's revenue attribution.

zenovay('goal', 'purchase', {
  value: 159.96,
  currency: 'USD'
});

You can fire this on your order-confirmation page once the payment succeeds. See Revenue Tracking Overview for the full revenue setup, including connecting a payment provider so revenue is captured server-side instead of from the browser.

Connecting a Store

Zenovay does not have one-click Shopify, WooCommerce, or Magento app integrations. You connect a store in two parts:

1. Install the tracking snippet

Add the standard Zenovay snippet to your storefront so pageviews and custom events are collected:

<script defer data-tracking-code="YOUR_CODE" src="https://api.zenovay.com/z.js"></script>

Each platform has its own place to paste this:

  • Shopify — Online Store → Themes → Edit code → theme.liquid, just before </head>.
  • WooCommerce / WordPress — your theme's header, or a "header scripts" plugin.
  • Magento — Content → Design → Configuration → HTML Head.
  • Custom platform — paste it into your base template's <head>.

You can copy the exact snippet (and platform-specific instructions) from the install screen when you add a website in Zenovay.

2. Send purchase and product events

From your cart, checkout, and confirmation pages, call zenovay('track', ...) for product and cart activity and zenovay('goal', 'purchase', { value, currency }) when an order completes. On Shopify the order-confirmation script lives in your checkout / thank-you settings; on WooCommerce hook it into the order-received template.

To attribute revenue server-side instead of (or in addition to) the browser, connect a payment provider when setting up the domain — Zenovay supports Stripe, Paddle, Lemon Squeezy, or recording conversions manually. See Revenue Tracking Overview.

Building a Shopping Funnel

There's no pre-built "shopping funnel." Define your own from the events you send. Open your website's dashboard, go to the Journeys tab → Funnels, and create a funnel from your product, cart, checkout, and purchase events — for example:

Product View → Add to Cart → Begin Checkout → Purchase

Once defined, the funnel shows visitor counts and drop-off between each step. See Conversion Funnels for the full walkthrough.

Viewing Revenue

Open your website's dashboard and select the Revenue tab. Once revenue is connected (via a payment provider or recorded goals), you'll see:

  • Revenue overview — total revenue and key metrics over the selected period.
  • Revenue by source — which traffic sources generated sales.
  • Revenue by campaign — revenue grouped by UTM campaign.
  • Daily revenue — the revenue time series.
  • Top customers — highest-value customers by total revenue.

This is attribution-focused: it ties revenue back to the channels and campaigns that earned it. Per-product, per-category, and coupon-level breakdowns are not built in — if you need those, send the relevant detail as event properties and analyse them with Query Studio (the SQL tab on your dashboard, available on the Scale plan).

Best Practices

Use consistent product IDs

Pass the same product_id everywhere (view, cart, purchase) so events line up across the journey.

Fire the purchase goal only once

Trigger zenovay('goal', 'purchase', ...) once per completed order, on the confirmation page, after payment succeeds — not on retries or page reloads.

Test before launch

  • Place a test order end to end.
  • Confirm the product/cart events appear in your event stream.
  • Confirm the purchase goal and its value show up under the Revenue tab.

Next Steps

Was this article helpful?