Analytics and Tracking

Data Warehouse

Also called DWH, analytics warehouse

A central store where data from many systems is kept in a shape built for analysis rather than daily use.

Quick facts: Data Warehouse

Category
Analytics and Tracking
Also called
DWH, analytics warehouse
Level
Advanced
Affects
Reporting depth, data retention, blended reporting, query cost
Where to see it
BigQuery, Looker Studio, Google Analytics BigQuery export
In this article4
  1. How a data warehouse works
  2. Why a data warehouse matters
  3. Common mistakes with a data warehouse
  4. What to do about it

How a data warehouse works

Every system you use keeps its data in whatever shape suits its own job. An ad platform stores clicks and spend by day, a shop stores orders, a CRM stores contacts and deals, and analytics stores events. A data warehouse copies all of it into one place, on a schedule, and keeps it in tables designed for questions rather than for daily operations.

Three things happen there. Data is loaded from each source, usually by a connector rather than by hand. It is then transformed: dates aligned to one time zone, currencies converted, campaign names cleaned, customer records matched across systems. Finally it is queried, either directly in SQL or through a reporting tool sitting on top. BigQuery is the version most marketing teams meet, because Google Analytics can export raw event data straight into it.

Why a data warehouse matters

Reports built inside a single platform can only answer questions that platform can see. Google Ads knows what it spent and what it thinks it caused. Your shop knows what was refunded, what was cancelled and which customers came back a year later. Neither knows the other. In a warehouse those tables sit side by side, so profit rather than platform-reported revenue becomes something you can actually measure.

It also protects history. Reporting interfaces change, accounts get restructured, retention settings expire and sampled reports quietly lose detail. A warehouse holds the raw rows you loaded, so a question asked next year can still be answered with this year’s data. The BigQuery export from analytics is often the cheapest insurance a growing business can buy.

Common mistakes with a data warehouse

The usual one is loading everything and modelling nothing. Raw tables from a dozen connectors are not a reporting system; without agreed definitions of a session, a lead and a customer, two people writing two queries will produce two different answers and trust in the numbers collapses.

The second is ignoring cost control. Warehouse pricing generally follows how much data each query scans, so a dashboard that refreshes constantly over unpartitioned tables can quietly become the most expensive thing in the marketing stack. Partition by date, aggregate the tables people query most, and schedule refreshes rather than leaving them live.

The third is forgetting that personal data does not lose its obligations by moving. Retention rules, access controls and deletion requests all apply inside the warehouse as well.

What to do about it

Start small and demand-led. Pick the two or three questions your business argues about most — which channel produces customers who stay, what a lead is really worth, which products carry the margin — and load only the sources those questions need. Everything else can wait until someone asks for it.

Turn on the raw analytics export early even if nobody queries it yet, because it only collects data from the day it is switched on. Write down the definition of every metric before it appears on a dashboard, and keep that definition next to the query. Then put a reporting layer such as Looker Studio in front of it so the people who need answers are not writing SQL, and treat the resulting dashboards and reporting as a product with an owner rather than a one-off build.

Do and do not

Do

  • Start with the questions the business argues about
  • Turn on the raw analytics export early
  • Partition tables by date to control query cost

Do not

  • Load every connector before agreeing metric definitions
  • Point live dashboards at unpartitioned raw tables
  • Assume privacy obligations end at the warehouse door

Questions people ask about this

Do I need a data warehouse for a small business website?

Usually not at first. If your reporting questions are answered inside Google Analytics, Search Console and the ad platforms, adding a warehouse adds cost and maintenance without adding answers. The case gets stronger when orders, refunds and sales outcomes live in systems that analytics cannot see, and you need those joined to marketing spend.

What is the difference between a database and a data warehouse?

A database runs an application: it is optimised for writing and reading small records quickly, such as saving an order while a customer waits. A warehouse is optimised for reading enormous numbers of rows at once to answer analytical questions. Running heavy reports directly against a live application database is what warehouses exist to avoid.

Does the BigQuery export from analytics cost money?

Linking the export is a configuration step in your analytics property, but the storage and the queries in BigQuery are billed by Google under its own pricing, which changes over time. Small sites often stay within very modest usage. Check current Google Cloud pricing and set a budget alert before you switch anything on.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.