Bentley HQ

Your reports say one number. Your orders say another.

Advanced AnalyticsFeatured sprint. PostHog and GA4. Fixed scope, fixed price.

I set up PostHog and GA4 from one written event plan. Both tools count each step from first visit to paid order once, each event waits for the visitor’s consent, and I check purchases against your orders before I call it done.

I quote a fixed price in writing after one call. It is the usual build after a Consent and Tracking Leak Audit.

An analytics setup like yours: five tools, five green lights.

  1. GA4CollectingExample: Collecting, and 105 of 517 orders never reached the report. See how
  2. PostHogIngesting
  3. Tag managerPublished
  4. Shopify pixelConnected
  5. Consent bannerActive

Both tools say Collecting. Neither can show where shoppers drop.

This is a sample from a made-up store. The pattern is common: someone installed tracking once, and the store kept changing around it.

One action, two names add_to_cart AddToCart

A shopper’s path from first visit to paid order, drawn as a line mapSix steps run down the line: visit, product viewed, added to cart, checkout started, payment entered and order paid. Both tools report that they are collecting data. In fact the tools count only the first two steps once. They count added to cart twice. Checkout started and payment entered send no event. The report shows 412 of 517 paid orders, so 105 orders are missing.CollectingVisitProduct viewedAdded to cartCheckout startedPayment enteredOrder paidcounted oncecounted oncecounted twiceno eventno event412 of 517 orders2 of 6steps counted once105orders missingBoth tools connected. Events arriving.A status light can’t check the numbers.
One month on one store, in PostHog and GA4. Illustrative store, real pattern.

This store runs both tools, and both dashboards show data arriving. Page views and product views are right.

Add to cart fires twice, once from the theme and once from an app, so the add-to-cart rate reads at about double its real value. Checkout started and payment entered send nothing. They ran from an older checkout script that stopped when the store moved to Shopify’s new checkout, and no error marked the day.

Purchases come up short. Shopify shows 517 paid orders for the month and the report shows 412. The other 105 belong to shoppers who declined tracking, blocked it, or never loaded the thank-you page.

The report can’t answer the question it exists for: where shoppers leave, and whether that is getting better.

After the sprint: each step sends one event, once, under a name from a plan you own. Each event waits for consent where the region requires it. The report states how many paid orders it tracked and how many it did not, and the two add up to your Shopify orders.

Five parts I build in the sprint.

You can check each one yourself on the day the sprint ends.

  1. One event plan.

    A written list of every event: its name, when it fires, what it carries, and which report uses it. PostHog and GA4 use the same names, so the two tools agree. You own the document.

  2. Checkout and funnel tracking.

    Each step from first visit to paid order sends one event, once: product viewed, added to cart, checkout started, payment entered, order paid. I remove the copies that count a step twice.

  3. Consent-aware firing.

    Each event waits for the visitor’s choice where the region requires one. I prove it from a clean browser, region by region. I do not track visitors who decline.

  4. Reports you can trust.

    Funnels and dashboards in both tools show where shoppers drop, by device and by source. I check purchases against your Shopify orders, so the report states how many orders it tracked, how many it did not, and that the two add up to Shopify’s count.

  5. A check that keeps running.

    An agent compares orders to events on a schedule. It tells you in plain English when they drift apart: after a theme change, a new app or a checkout update. It reads and reports, and it changes nothing in your store.

After the consent audit. The Consent and Tracking Leak Audit proves what your store sends today, and this sprint rebuilds that tracking on purpose. It also stands alone, like each sprint I run.

The event plan you own.

A sample from the same made-up store. Each row is one event: when it fires, where it goes, and what it replaced.

Advanced Analytics: event plan

Sample. Illustrative store.

  1. 1
    Product viewedBoth tools

    Fires once when a product page loads. Carries the product, the variant and the price.

    VerifiedEvent: view_itemBefore: counted once

  2. 2
    Added to cartBoth tools

    Fires once on each add. The app’s second copy no longer fires.

    VerifiedEvent: add_to_cartBefore: counted twice

  3. 3
    Checkout startedBoth tools

    Fires once when checkout opens, through Shopify’s own pixel system.

    VerifiedEvent: begin_checkoutBefore: no event

  4. 4
    Payment enteredBoth tools

    Fires once when the shopper submits the payment step.

    VerifiedEvent: add_payment_infoBefore: no event

  5. 5
    Order paidBoth tools

    Fires once for each paid order. An agent checks the count against Shopify orders each day.

    VerifiedEvent: purchaseBefore: 412 of 517 orders

The plan is a document you keep. A new developer or agency can read it and know what every number in your reports means.

In this sample the reports tracked 471 of 517 paid orders. The other 46 came from shoppers who declined tracking or blocked it. The report counts those 46 from order data, with no behaviour attached, so the two figures add up to the Shopify order count each day.

The sprint runs in five stops.

It runs one to three weeks, and it ships the way every change I make ships: built switched off, verified live, then switched on.

  1. You send the form.

    Your store URL, the tools you run today and the question you most want answered. I reply within one business day with a time for one call.

  2. One call, then a fixed price.

    I ask which decisions the numbers need to support. Then I send the scope and the price in writing. Nothing starts until you agree to both.

  3. I map what fires today.

    With read-only access I record every event your store sends now, where each one comes from, and which are missing or doubled. You get that map before I build.

  4. I build it switched off, then verify it live.

    The new tracking goes in beside the old, behind a switch. I test it on real orders from a clean browser, region by region. Then I switch it on and remove the old copies.

  5. It soaks for a week, then it is yours.

    I check purchases against your orders each day for a week. Then you get the event plan, the dashboards, the drift check and a plain-English record of what changed.

Questions about this sprint.

Why both PostHog and GA4?

They answer different questions. GA4 feeds Google Ads and holds the acquisition reports your marketing team already reads. PostHog shows what people do on the store: funnels, paths and session replays. I set both up from one event plan so they agree. If you want only one, the sprint is smaller and the price reflects that.

Do I need the Consent and Tracking Leak Audit first?

No. If you have had the audit, I build from its report and the sprint starts faster. If you have not, I check consent as part of the build, because an event that fires before a visitor answers is a leak I would be adding.

What does it cost?

It depends on how many events, tools and regions are in scope, so I quote after one call. I fix the price in writing before any work starts, and it changes only if the scope does.

Will my current reports break?

No. The new tracking goes in beside the old and stays switched off until I have verified it on real orders. Your history in GA4 stays where it is. I record the day I switch over, so you can tell the old numbers from the new.

Will the numbers match Shopify?

The order totals, yes. For shoppers who accept tracking, the events match within a small margin that I measure and report. I do not track shoppers who decline, and some browsers block tracking. The report counts those orders from your order data, with no behaviour attached, so the totals still add up.

Tell me what your numbers can’t answer.

  1. Send the form.Your store URL, the tools you run today, and the question you most want answered.
  2. Take one call.I reply within one business day with a time. After the call you get the scope and a fixed price in writing.

Not sure this is the sprint you need? Tell me what needs fixing and I say which one fits.