gitwtfhub

wtf is big-query-google-analytics-tracking-match-rate?

mrdipeshashah/big-query-google-analytics-tracking-match-rate — explained in plain English

Analysis updated 2026-05-18

0Audience · dataComplexity · 2/5Setup · moderate

TL;DR

A documentation repo describing how to build a BigQuery dashboard that compares Shopify revenue against Google Analytics 4 tracked revenue.

Mindmap

mindmap
  root((match-rate-tracking))
    What it does
      Compares Shopify vs GA4 revenue
      Flags tracking gaps
      Daily match rate check
    Tech stack
      BigQuery
      SQL
      Looker Studio
    Use cases
      Track revenue discrepancies
      Build aggregation table
      Calculate match rate
      Visualize in dashboard
    Limits
      No SQL scripts included
      Docs only
    Audience
      Marketing analysts

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Track daily revenue discrepancies between a Shopify store and its Google Analytics 4 tracking.

REASON 2

Build a BigQuery table that aggregates daily revenue from both an e-commerce platform and GA4.

REASON 3

Calculate a daily match rate percentage to flag when GA4 tracking drops below 90 percent accuracy.

REASON 4

Set up a Looker Studio dashboard to visualize revenue tracking health over time.

What's in the stack?

BigQuerySQLGoogle Analytics 4Looker Studio

How it stacks up

mrdipeshashah/big-query-google-analytics-tracking-match-rate00kaku/gallery-slider-block04amanrajj/netwatch
Stars00
LanguageJavaScriptRust
Last pushed2021-05-19
MaintenanceDormant
Setup difficultymoderateeasymoderate
Complexity2/52/53/5
Audiencedatageneralops devops

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 1h+

The README describes the schema and formulas but does not include the actual BigQuery SQL or setup scripts, so the pipeline must be built manually.

Wtf does this do

This repository holds the data requirements, BigQuery SQL, and Data Studio dashboard setup for checking how well an online store's sales tracking in Google Analytics 4 matches its actual revenue in an e-commerce platform like Shopify. The idea is that Shopify's own sales records are treated as the source of truth, and Google Analytics 4's tracked purchase revenue is compared against it every day to catch cases where the analytics tag is not recording sales correctly. The repository is mostly documentation rather than a full application. It describes a linked Data Studio dashboard, since renamed Looker Studio, that visualizes the comparison, and it defines the objective plainly: give automated daily visibility into any gap between the two revenue numbers, and flag days where the match rate falls below a target of 90 percent. To build this comparison yourself, the README lists the exact table structure needed: a date column, a column for Shopify revenue, and a column for Google Analytics revenue, aggregated by day. It also spells out the two calculations used in the dashboard: the plain revenue difference between the two sources, which shows how much money the Google Analytics tag under-reported or missed entirely, and the match rate percentage, calculated by dividing Google Analytics revenue by Shopify revenue, with 90 percent or higher considered healthy tracking. The README is short and does not include the actual BigQuery SQL queries or setup instructions in the text shown, so someone using this would need to build the pipeline themselves following the schema and formulas described.

Yoink these prompts

Prompt 1
Help me design a BigQuery table schema matching the Date, Shopify_Revenue, and GA_Revenue columns described in this README.
Prompt 2
Explain the match rate and revenue difference formulas from this repo's README and how to compute them in SQL.
Prompt 3
Walk me through building a daily revenue reconciliation pipeline between Shopify and GA4 based on this README's requirements.
Prompt 4
Help me set up a Looker Studio dashboard to track the match rate described in this repo's README.

Frequently asked questions

wtf is big-query-google-analytics-tracking-match-rate?

A documentation repo describing how to build a BigQuery dashboard that compares Shopify revenue against Google Analytics 4 tracked revenue.

How hard is big-query-google-analytics-tracking-match-rate to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is big-query-google-analytics-tracking-match-rate for?

Mainly data.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.