Connector guide
WooCommerce to BigQuery: three ways to load your store data and how to choose
Moving WooCommerce to BigQuery takes a third-party ETL connector, database replication from your store's MySQL with Google's Datastream, or a script you run yourself, because Google offers no WooCommerce connector in BigQuery Data Transfer Service. This guide is for store owners, ecommerce managers and analysts who want orders, refunds and products in a warehouse they own, usually to report them beside ad spend and GA4 in Data Studio. I compare the routes, show what each costs to run, and cover the modelling that decides whether the numbers match the store.

Quick answer
How do I connect WooCommerce to BigQuery?
To connect WooCommerce to BigQuery, use an ETL tool such as Airbyte, Fivetran, Coupler.io, Supermetrics or Windsor.ai with a read-only REST API key, replicate the store's MySQL database with Google's Datastream if your host allows it, or schedule your own script against the REST API. Then build deduplicated views before Data Studio reads anything.
- Google has a Shopify transfer for BigQuery but no WooCommerce one, so you choose ETL, replication or code.
- Pulling only new orders misses refunds and status changes on old orders; re-read a lookback window.
- Since WooCommerce 8.2, new stores keep orders in HPOS tables, which changes any database route.
- Point Data Studio at small partitioned views, not raw order tables, to stay inside the free query tier.
What are the ways to move WooCommerce to BigQuery?
There are three dependable routes and one stopgap. Which one fits depends less on WooCommerce than on where your store is hosted and who will maintain the pipeline.
First, the gap that surprises most people. BigQuery Data Transfer Service now includes a Shopify connector, marked Preview in Google's documentation and free to run while it stays in Preview. There is no WooCommerce equivalent: WooCommerce does not appear in Google's list of supported transfer sources when I checked it on November 30, 2026. Every WooCommerce to BigQuery pipeline is therefore one you choose and own.
Route one is an ETL connector. Airbyte, Fivetran, Coupler.io, Supermetrics, Windsor.ai, Estuary and others call the WooCommerce REST API on a schedule and write tables into your BigQuery dataset. Route two is database replication: WooCommerce runs on MySQL, and Google's Datastream can stream changes from a MySQL database into BigQuery. Route three is your own code, a scheduled script that pages through the REST API and loads the results, often written with an open-source library such as dlt. The stopgap is exporting CSVs from the Orders screen and uploading them, which is fine for a one-off analysis and useless for anything that must refresh.
The pages that rank for this search are almost all vendor landing pages, each describing its own tool. None of them compares the routes, and none mentions the store-side details below that decide whether your revenue figures hold up.
WooCommerce to BigQuery options compared
Pick an ETL connector if you want the shortest setup and already pay for one, Datastream if your database is on infrastructure you control, and a script if you have a developer and want no monthly vendor fee. The table sets them side by side.
| Route | What you need | Cost to run | Freshness | Main limitation |
|---|---|---|---|---|
| ETL connector (REST API) | Read-only WooCommerce API key and pretty permalinks | Vendor subscription or usage fee | Per plan, typically hourly to daily | Vendor decides schema; syncs add load to your store's server |
| Datastream from MySQL | Binlog access, a replication user and network access to the database | Datastream fee per GiB processed plus BigQuery | Near real time | Most managed WordPress hosts do not allow binlog or replication access |
| Your own script (REST API) | A developer, a scheduler and a service account | Hosting and maintenance time | Whatever you schedule | You own every bug, retry and API change |
| CSV export and upload | Store admin access | Free | Only when someone repeats it | No refresh, easy to load the wrong file twice |
Should you use an ETL connector for WooCommerce to BigQuery?
For most single stores, yes. A connector is the quickest WooCommerce to BigQuery integration, and if you already pay for Supermetrics or Windsor.ai for ad platforms, adding WooCommerce to the same plan is often cheaper than a new tool. I do not quote vendor prices here because they change often; read each vendor's pricing page on the day you decide.
Every connector depends on the WooCommerce REST API, so its rules apply. The WooCommerce REST API documentation says keys are created under WooCommerce, Settings, Advanced, REST API, with Read, Write or Read/Write access, and that the API needs pretty permalinks: default permalinks will not work. Create the key with Read access only, attached to a user the business controls, not a contractor's login. The same documentation says list requests are paginated to 10 items by default, with the totals returned in the X-WP-Total and X-WP-TotalPages headers. A store with 200,000 historical orders needs many pages for its first backfill, so run it outside trading hours.
That point matters more than it looks: the connector reads from your live store. Every page of orders is a request your web server must answer while customers are checking out. On shared or entry-level hosting, schedule syncs overnight and keep the frequency as low as your reporting allows.
Then ask each vendor three questions before you buy. How does it pick up changes to old orders, such as a refund or a status moving from Processing to Completed weeks later? Does it load refunds and line items as separate tables or as nested fields? And does it update rows in place or append a new version every sync? The answers decide how much modelling you do later.
When does Datastream replication from MySQL make sense?
When your WooCommerce database runs somewhere you control, such as your own server, Cloud SQL for MySQL or Amazon RDS. Datastream reads the MySQL binary log and writes changes into BigQuery, so it captures every insert and update without calling the REST API or loading your web server.
The requirements are strict, and Google's Datastream documentation lists them. Supported sources include MySQL 5.6, 5.7, 8.0 and 8.4 (8.4 with GTID-based replication only), plus MariaDB and Percona Server. The binary log must use ROW format with binlog_row_image set to FULL, and Google recommends seven days of binlog retention. The Datastream user needs REPLICATION SLAVE, SELECT and REPLICATION CLIENT grants. Only InnoDB tables are supported. Most managed WordPress hosts will not let you change these settings, which is why this route suits larger stores on their own infrastructure.
In BigQuery, Datastream's default merge mode keeps each table as a current replica of the source, while append-only mode keeps every change event, which is useful if you want a history of order status changes. Google notes that tables without primary keys are always append-only, and that a lower data staleness limit gives fresher data at a higher cost. Datastream bills per GiB processed; check Google's Datastream pricing page for the current rates before you size it.
Know which tables you are replicating. WooCommerce's developer documentation says that from WooCommerce 8.2, released in October 2023, High-Performance Order Storage is enabled by default for new installations, with orders in four tables: wc_orders, wc_order_addresses, wc_order_operational_data and wc_orders_meta, each with your table prefix. Older stores may still use the WordPress posts and postmeta tables, or sync both in compatibility mode. On an HPOS store, the posts table can hold placeholder rows with the post type shop_order_placehold, so SQL written for the old layout returns empty or misleading results. Check the woocommerce_custom_orders_table_enabled option before writing a single query.
Can you build your own WooCommerce to BigQuery script?
Yes, and for a developer it is a modest job: page through the orders, refunds, products and customers endpoints, write the results to BigQuery, and schedule the run. Open-source tools such as dlt handle pagination, schema changes and incremental state for you, which removes most of the boilerplate.
The hard part is not the first load. It is keeping the warehouse correct as orders change. A script that asks only for orders created since its last run never sees a refund issued today on an order placed in September. Re-read a lookback window on every run, for example the last 30 days of orders, and merge them into the table by order ID, or use the modified-date filters your client library supports. Pick the window to cover your longest refund or return period.
Two smaller traps. The WooCommerce REST API returns monetary amounts as strings with two decimal places, so cast them to NUMERIC on load rather than FLOAT, which introduces rounding in sums. And dates come in pairs, one in the site's time zone and one in GMT, such as date_created and date_created_gmt. Store both, and decide once which one defines a reporting day.
What does WooCommerce to BigQuery cost to run?
For a typical store the warehouse is the cheap part. The real costs are a connector subscription or Datastream fees, plus someone's time to build and maintain the model. Google's BigQuery documentation states that the free tier includes 1 TiB of processed query data each month. The BigQuery sandbox needs no billing account but caps storage at 10 GiB and expires tables after 60 days, so use a billing-enabled project for anything that must keep history.
A worked example shows where the money actually goes. Take a store with 40,000 orders a year and an average of 2.5 items per order, so 100,000 line-item rows a year. Assume roughly 1 KB per stored order row once addresses and metadata are included: five years of orders is about 200 MB. Storage is trivial. Now point a Data Studio report straight at that raw table, with 10 charts that each scan it, opened 30 times a day. Before caching, that is up to 60 GB scanned a day, or about 1.8 TB a month, which is past the free 1 TiB.
The same report on a daily summary view, one row per day, product and status, scans a few megabytes per chart. Three habits keep the bill near zero: partition tables and views by order date, select only the columns a chart needs, and use the @DS_START_DATE and @DS_END_DATE parameters in custom queries so the date control limits the scan.
How should you model WooCommerce data in BigQuery for Data Studio?
Put a thin layer of views between the raw tables and your reports. Raw WooCommerce data has repeated order versions, line items nested inside orders, refunds stored as separate records and statuses your team does not use, and Data Studio is slow and costly when every chart has to sort that out.
Column names differ between connectors, Datastream and scripts, so check your own schema first. This structure works on any route.
- Current orders: keep the latest version per order with ROW_NUMBER() OVER (PARTITION BY order_id ORDER BY date_modified_gmt DESC) = 1, because append-mode loads repeat orders each time they change.
- Order lines: UNNEST the line_items array into one row per product, keeping product_id, variation_id, sku, quantity, subtotal (before discounts) and total (after discounts).
- Refunds: load refunds as their own table linked to the parent order, and report them on the refund date, which is how WooCommerce Analytics shows them.
- Status buckets: map raw statuses (pending, processing, on-hold, completed, cancelled, refunded, failed, plus any plugin statuses) into Paid, Refunded and Lost with a CASE statement in the view, not in each chart.
- Reporting day: build the order date from one agreed field, either the GMT timestamp converted with DATE(date_created_gmt, 'your/Timezone') or the site-time field, and use it everywhere.
- Daily summary: one row per date, product and status bucket with orders, units, gross sales, discounts, refunds and net sales, partitioned by date. This is what Data Studio reads.
- Margin: join a product cost table, kept in a Google Sheet or loaded table, on SKU so the report can show gross margin WooCommerce does not hold.
Why won't BigQuery totals match WooCommerce Analytics or GA4?
Because each system counts different orders on different dates. Against WooCommerce Analytics, the usual causes are statuses (Analytics excludes pending payment, cancelled and failed by default), the date type (Analytics defaults to date paid), refunds booked on the refund date, and comparing a total that includes tax and shipping with net sales. My WooCommerce to Data Studio guide walks through each with a worked refund example.
Against GA4, expect a gap that never fully closes. GA4 counts purchase events that fired in a browser, so consent choices, blocked tags and orders created in the admin all drop out, while the warehouse holds every order. Use WooCommerce in BigQuery as the source of truth for revenue and GA4 for sessions and channel attribution, and label each figure with its source. If you also load GA4 into BigQuery, as my GA4 to BigQuery guide explains, you can match purchase events to WooCommerce orders on the transaction ID and see exactly which orders GA4 missed.
WooCommerce to BigQuery setup checklist
This is the order I work in. The connection itself takes an hour; the steps around it decide whether the warehouse still matches the store a year from now.
- Write down the five or six numbers you review and the rule behind each, for example net sales by date paid, excluding pending payment, cancelled and failed.
- Confirm your WooCommerce version, whether HPOS is active, your MySQL version and what your host allows: API only, or binlog access too.
- Create a Google Cloud project owned by a company account, a BigQuery dataset in the region you want (the location is fixed once created) and a service account with the narrowest roles the tool needs.
- Create a read-only REST API key on a dedicated user, or a read-only replication user for Datastream.
- Run the historical backfill outside trading hours, then set the schedule with a lookback window that covers your refund period.
- Build the current-orders, order-lines, refunds and daily summary views before connecting Data Studio.
- Reconcile last month's order count, net sales and refunds against WooCommerce Analytics with matching status and date settings.
- Connect Data Studio to the summary views with the native BigQuery connector, share the report rather than the data source, and add a monitored alert or weekly check for failed syncs, since Data Studio gives no warning when a pipeline stops.
When is WooCommerce to BigQuery not worth it?
If you have one store, WooCommerce is your only data source, and the report is a weekly sales overview, BigQuery adds a moving part without adding answers. A Data Studio connector straight from WooCommerce, or the native MySQL connector, is simpler. Note that Data Studio's MySQL connector drops support for MySQL 5.6 and 5.7 after February 26, 2027, so stores on older hosting that report straight from the database should plan an upgrade or a warehouse now.
BigQuery earns its place when you need several years of history, more than one store or currency in one model, joins with ad spend, GA4 or a cost sheet, margin by product, or a dashboard that many people open without each view hitting your store's server. If two or more of those apply, the warehouse is usually the cheaper path over a year.
How I handle WooCommerce to BigQuery projects
I start with a free review of your store version, hosting, existing connectors, Google Cloud setup and the questions the dashboard must answer. I recommend the cheapest route that will hold up, which is often a connector you already pay for, and quote a fixed price.
The build covers the pipeline, the deduplicated and partitioned views, written status, date and refund rules, the Data Studio report and a reconciliation against WooCommerce Analytics for the same dates. A retail dashboard I led at Greenwolf Tech Labs tracks MoM and QoQ revenue growth, conversion rate, sell-through rate and online versus in-store sales, and every one of those comparisons depends on the same agreed rules. Everything sits in your own Google Cloud project and WooCommerce account from day one, documented so your team can extend it without me. Reports first built under the Looker Studio name keep working, since they moved to Data Studio automatically in April 2026.
Book a free review
Two lines about the report you need is enough.
FAQ
Frequently asked questions
Does WooCommerce have a native BigQuery integration?
No. Neither WooCommerce nor Google's BigQuery Data Transfer Service offers a built-in WooCommerce connector, although Google has one for Shopify. Use an ETL tool, Datastream replication from your MySQL database, or your own script against the REST API.
What is the best tool to move WooCommerce data to BigQuery?
The best tool is usually the one you already pay for, if it handles refunds and changed orders well. Airbyte, Fivetran, Coupler.io, Supermetrics and Windsor.ai all support WooCommerce. If your database is on your own server or Cloud SQL, Datastream avoids API load on the store entirely.
Can I export WooCommerce orders to BigQuery for free?
Yes, with effort. A self-written or open-source pipeline such as dlt has no licence fee, CSV uploads cost nothing, and BigQuery's free tier covers 1 TiB of queries a month. You pay in setup and maintenance time instead of a subscription.
How do I keep refunds and status changes up to date in BigQuery?
Re-read a lookback window of recent orders on every sync, long enough to cover your refund period, and merge by order ID. Load refunds as their own table. Datastream captures every change automatically because it reads the database log.
Does HPOS affect a WooCommerce to BigQuery pipeline?
Only database routes. Since WooCommerce 8.2, new stores keep orders in HPOS tables such as wc_orders instead of posts and postmeta, so replication and SQL must target the right tables. Connectors that use the REST API are not affected.
Will syncing WooCommerce to BigQuery slow down my store?
It can, because REST API syncs are requests your web server must answer. Run the first backfill and regular syncs outside trading hours, keep the frequency as low as your reports allow, or replicate from a database replica instead.
Do I need BigQuery to report WooCommerce data in Data Studio?
No. A partner connector or the native MySQL connector works for a single-store sales overview. BigQuery is worth it for long history, several stores, margin, or joins with ad spend and GA4.
Keep reading
Related pages
Get started
Tell me what the report has to answer
Send the question your team keeps asking and where the data lives today. I reply within one business day with how I would build it, which connectors it needs and what it would cost.
- Free 30-minute review of your data and reports
- A fixed price before any work starts
- Built in your Google account, so you own everything
Prefer email? harsh@greenwolftechlabs.com
Book a free review
Two lines is enough to start.