---
title: "WooCommerce · WitCloud Docs"
description: "Learn how to connect WooCommerce to Google BigQuery using WitCloud to collect orders, products and product categories from your store."
canonical_url: "https://witcloud.ai/docs/integrations/woocommerce"
meta:
  "og:description": "Learn how to connect WooCommerce to Google BigQuery using WitCloud to collect orders, products and product categories from your store."
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "WooCommerce · WitCloud Docs"
---

> Index of every page on this site: [llms.txt](https://witcloud.ai/llms.txt)

# Integration of WooCommerce with BigQuery

Learn how to connect WooCommerce to Google BigQuery using WitCloud to collect orders, products and product categories from your store.

Updated 8 Oct 2026

## Introduction

This module connects your WooCommerce store to **Google Cloud BigQuery**. WitCloud reads your orders, products and product categories through the WooCommerce REST API and stores them in your project's BigQuery dataset, ready for analysis and for the All in One tables.

## Configuration guide

Follow the steps below to connect WooCommerce with BigQuery. WitCloud needs the address of your store and a WooCommerce REST API key pair (a consumer key and a consumer secret).

Create the REST API key before you start: you will paste it into WitCloud in the **Authorization** step. Read-only permission is enough, because WitCloud only reads data from your store.

### Create the REST API key in WooCommerce

This step takes place in your WordPress / WooCommerce admin panel, which is not part of WitCloud. The menu names below come from WooCommerce and may differ between its versions; see the WooCommerce documentation if you cannot find them.

1. Log in to your WordPress admin panel as an administrator.
2. Go to **WooCommerce > Settings > Advanced > REST API** and click **Add key**.
3. Enter a description, e.g. "WitCloud", choose the user and set **Permissions** to **Read**.
4. Click **Generate API key**.
5. Copy the **Consumer key** (it starts with `ck_`) and the **Consumer secret** (it starts with `cs_`). WooCommerce shows the secret only once.

Keep both values private: anyone who has them can read your store data.

### Module setup

Go to **Integrations** and click **Add integration**.

![Integrations list with the Add integration button](https://api.witcloud.ai/api/docs/assets/c8b72213ef23354505be3b578545e618.png)

Select **WooCommerce** from the list of available integrations.

![Integration catalog filtered to WooCommerce](https://api.witcloud.ai/api/docs/assets/8f6e5c35dc68c76ad0f81297f0d6b50c.png)

Enter the **Collect name**, e.g. "WooCommerce PL". A clear name helps you recognise the data source later.

![Collect name field filled in with the example name WooCommerce PL](https://api.witcloud.ai/api/docs/assets/44b544b5841016cd8dc72e49c4119bf6.png)

Enter the **Shop url**: the address of your store, including `https://`, e.g. `https://your-shop.com`. The **Authorize** button stays inactive until you enter a valid address.

![Shop url field filled in with the example address https://demo-shop.example](https://api.witcloud.ai/api/docs/assets/95469af1e69f76e5cd557b6c7e58d508.png)

### Authorization

If you have already authorized this WooCommerce store in WitCloud, you can pick the existing token from the **WooCommerce authorization** drop-down and skip the next two steps.

Click **Authorize**.

![Authorize button next to the WooCommerce authorization field, active once the shop address is filled in](https://api.witcloud.ai/api/docs/assets/00414ee03d7756bb231863a56546ba5a.png)

In the **Authorize** pop-up enter the **Client ID** (the WooCommerce consumer key) and the **Client secret** (the WooCommerce consumer secret) and click **Create**. WitCloud checks the key against your store. If the store cannot be reached, the address or the key is wrong, or the key has no permission to read data, the reason is shown under the form.

![Authorize pop-up with the Client ID and Client secret fields filled with example values](https://api.witcloud.ai/api/docs/assets/f7ae70ac95e8648e2cf2a887da1da504.png)

The saved token is selected automatically. You can also choose a token from the **WooCommerce authorization** drop-down.

![WooCommerce authorization drop-down open with one example token](https://api.witcloud.ai/api/docs/assets/bf9cc86569dcf1919b379f686b41a590.png)

### Advanced settings

Click **Show advanced settings** to see three more fields.

In **Data freshness (products, stocks)** enter how often, in hours, tables that hold the whole catalogue (such as products) are refreshed. The value must be between 4 and 12 hours; the default is 4.

![Advanced settings open with the Data freshness field set to 4 hours](https://api.witcloud.ai/api/docs/assets/b49b74cbc9429e03ed9e1b9f73a2770d.png)

Turn on **Static IP** if your store sits behind extra network protection such as Cloudflare. All data requests are then sent from one fixed IP address, `34.118.32.227`, which you can add to the allowed list of your store.

![Static IP switch in the advanced settings](https://api.witcloud.ai/api/docs/assets/59c387db99bdb656c97ecf300ffbe3f4.png)

In **Tables to collect** you can remove the tables you do not need. The field offers **orders**, **products**, **categories** and **returns**; all of them are selected by default and at least one must stay selected. Collecting fewer tables makes the data retrieval faster.

![Tables to collect field with all four offered tables selected](https://api.witcloud.ai/api/docs/assets/8e691ec9ed044e3e28e4b27f5028748b.png)

Click **Next**.

![Collect settings filled in with the Next button](https://api.witcloud.ai/api/docs/assets/fc3da7760da0b95644c7e88f94fc7d58.png)

### Historical data and scheduling

In **Historical Data** enter the number of days to fetch on the first run, up to 365.

![Historical Data field filled in with 365 days](https://api.witcloud.ai/api/docs/assets/aa4502420064eaae73d6137527077a32.png)

A data synchronization schedule is created automatically. More information on this topic can be found [here](https://witcloud.ai/docs/workflow#auto-workflows).

Click **Create** to complete the configuration.

![Data collection settings with the Create button](https://api.witcloud.ai/api/docs/assets/64e6bf78026fa27315e9e23e61203d85.png)

**Done!** Your WooCommerce data will now be synchronized with BigQuery. Orders are collected day by day; products and categories are collected in full on each run.

## Data schema

The tables below show the data collected from WooCommerce: orders, products and product categories.

<details>

<summary>

Columns of <code>woocommerce_categories</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| count | NULLABLE | INTEGER |
| description | NULLABLE | STRING |
| display | NULLABLE | STRING |
| id | NULLABLE | INTEGER |
| image | NULLABLE | RECORD |
| image.alt | NULLABLE | STRING |
| image.date\_created | NULLABLE | TIMESTAMP |
| image.date\_created\_gmt | NULLABLE | TIMESTAMP |
| image.date\_modified | NULLABLE | TIMESTAMP |
| image.date\_modified\_gmt | NULLABLE | TIMESTAMP |
| image.id | NULLABLE | INTEGER |
| image.name | NULLABLE | STRING |
| image.src | NULLABLE | STRING |
| menu\_order | NULLABLE | INTEGER |
| name | NULLABLE | STRING |
| parent | NULLABLE | INTEGER |
| slug | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>woocommerce_orders</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| billing | NULLABLE | RECORD |
| billing.address\_1 | NULLABLE | STRING |
| billing.address\_2 | NULLABLE | STRING |
| billing.city | NULLABLE | STRING |
| billing.company | NULLABLE | STRING |
| billing.country | NULLABLE | STRING |
| billing.email | NULLABLE | STRING |
| billing.first\_name | NULLABLE | STRING |
| billing.last\_name | NULLABLE | STRING |
| billing.phone | NULLABLE | STRING |
| billing.postcode | NULLABLE | STRING |
| billing.state | NULLABLE | STRING |
| cart\_hash | NULLABLE | STRING |
| cart\_tax | NULLABLE | FLOAT |
| coupon\_lines | REPEATED | RECORD |
| coupon\_lines.code | NULLABLE | STRING |
| coupon\_lines.discount | NULLABLE | FLOAT |
| coupon\_lines.discount\_tax | NULLABLE | FLOAT |
| coupon\_lines.id | NULLABLE | INTEGER |
| coupon\_lines.meta\_data | REPEATED | RECORD |
| coupon\_lines.meta\_data.display\_key | NULLABLE | STRING |
| coupon\_lines.meta\_data.display\_value | NULLABLE | JSON |
| coupon\_lines.meta\_data.id | NULLABLE | INTEGER |
| coupon\_lines.meta\_data.key | NULLABLE | STRING |
| coupon\_lines.meta\_data.value | NULLABLE | JSON |
| created\_via | NULLABLE | STRING |
| currency | NULLABLE | STRING |
| currency\_symbol | NULLABLE | STRING |
| customer\_id | NULLABLE | INTEGER |
| customer\_ip\_address | NULLABLE | STRING |
| customer\_note | NULLABLE | STRING |
| customer\_user\_agent | NULLABLE | STRING |
| date\_completed | NULLABLE | TIMESTAMP |
| date\_completed\_gmt | NULLABLE | TIMESTAMP |
| date\_created | NULLABLE | TIMESTAMP |
| date\_created\_gmt | NULLABLE | TIMESTAMP |
| date\_modified | NULLABLE | TIMESTAMP |
| date\_modified\_gmt | NULLABLE | TIMESTAMP |
| date\_paid | NULLABLE | TIMESTAMP |
| date\_paid\_gmt | NULLABLE | TIMESTAMP |
| discount\_tax | NULLABLE | FLOAT |
| discount\_total | NULLABLE | FLOAT |
| id | NULLABLE | INTEGER |
| is\_editable | NULLABLE | BOOLEAN |
| line\_items | REPEATED | RECORD |
| line\_items.id | NULLABLE | INTEGER |
| line\_items.image | NULLABLE | RECORD |
| line\_items.image.id | NULLABLE | INTEGER |
| line\_items.image.src | NULLABLE | STRING |
| line\_items.meta\_data | REPEATED | RECORD |
| line\_items.meta\_data.display\_key | NULLABLE | STRING |
| line\_items.meta\_data.display\_value | NULLABLE | JSON |
| line\_items.meta\_data.id | NULLABLE | INTEGER |
| line\_items.meta\_data.key | NULLABLE | STRING |
| line\_items.meta\_data.value | NULLABLE | JSON |
| line\_items.name | NULLABLE | STRING |
| line\_items.price | NULLABLE | FLOAT |
| line\_items.product\_id | NULLABLE | INTEGER |
| line\_items.quantity | NULLABLE | INTEGER |
| line\_items.sku | NULLABLE | STRING |
| line\_items.subtotal | NULLABLE | FLOAT |
| line\_items.subtotal\_tax | NULLABLE | FLOAT |
| line\_items.tax\_class | NULLABLE | STRING |
| line\_items.taxes | REPEATED | RECORD |
| line\_items.taxes.id | NULLABLE | INTEGER |
| line\_items.taxes.subtotal | NULLABLE | FLOAT |
| line\_items.taxes.total | NULLABLE | FLOAT |
| line\_items.total | NULLABLE | FLOAT |
| line\_items.total\_tax | NULLABLE | FLOAT |
| line\_items.variation\_id | NULLABLE | INTEGER |
| meta\_data | REPEATED | RECORD |
| meta\_data.id | NULLABLE | INTEGER |
| meta\_data.key | NULLABLE | STRING |
| meta\_data.value | NULLABLE | JSON |
| needs\_payment | NULLABLE | BOOLEAN |
| needs\_processing | NULLABLE | BOOLEAN |
| number | NULLABLE | INTEGER |
| order\_key | NULLABLE | STRING |
| parent\_id | NULLABLE | INTEGER |
| payment\_method | NULLABLE | STRING |
| payment\_method\_title | NULLABLE | STRING |
| payment\_url | NULLABLE | STRING |
| prices\_include\_tax | NULLABLE | BOOLEAN |
| shipping | NULLABLE | RECORD |
| shipping.address\_1 | NULLABLE | STRING |
| shipping.address\_2 | NULLABLE | STRING |
| shipping.city | NULLABLE | STRING |
| shipping.company | NULLABLE | STRING |
| shipping.country | NULLABLE | STRING |
| shipping.first\_name | NULLABLE | STRING |
| shipping.last\_name | NULLABLE | STRING |
| shipping.phone | NULLABLE | STRING |
| shipping.postcode | NULLABLE | STRING |
| shipping.state | NULLABLE | STRING |
| shipping\_lines | REPEATED | RECORD |
| shipping\_lines.id | NULLABLE | INTEGER |
| shipping\_lines.instance\_id | NULLABLE | INTEGER |
| shipping\_lines.meta\_data | REPEATED | RECORD |
| shipping\_lines.meta\_data.display\_key | NULLABLE | STRING |
| shipping\_lines.meta\_data.display\_value | NULLABLE | JSON |
| shipping\_lines.meta\_data.id | NULLABLE | INTEGER |
| shipping\_lines.meta\_data.key | NULLABLE | STRING |
| shipping\_lines.meta\_data.value | NULLABLE | JSON |
| shipping\_lines.method\_id | NULLABLE | STRING |
| shipping\_lines.method\_title | NULLABLE | STRING |
| shipping\_lines.total | NULLABLE | FLOAT |
| shipping\_lines.total\_tax | NULLABLE | FLOAT |
| shipping\_tax | NULLABLE | FLOAT |
| shipping\_total | NULLABLE | FLOAT |
| status | NULLABLE | STRING |
| summary\_page | NULLABLE | STRING |
| tax\_lines | REPEATED | RECORD |
| tax\_lines.compound | NULLABLE | BOOLEAN |
| tax\_lines.id | NULLABLE | INTEGER |
| tax\_lines.label | NULLABLE | STRING |
| tax\_lines.rate\_code | NULLABLE | STRING |
| tax\_lines.rate\_id | NULLABLE | INTEGER |
| tax\_lines.rate\_percent | NULLABLE | INTEGER |
| tax\_lines.shipping\_tax\_total | NULLABLE | FLOAT |
| tax\_lines.tax\_total | NULLABLE | FLOAT |
| refunds | REPEATED | RECORD |
| refunds.id | NULLABLE | INTEGER |
| refunds.reason | NULLABLE | STRING |
| refunds.total | NULLABLE | FLOAT |
| total | NULLABLE | FLOAT |
| total\_tax | NULLABLE | FLOAT |
| transaction\_id | NULLABLE | STRING |
| version | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>woocommerce_products</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| attributes | REPEATED | RECORD |
| attributes.id | NULLABLE | INTEGER |
| attributes.name | NULLABLE | STRING |
| attributes.options | REPEATED | STRING |
| attributes.position | NULLABLE | INTEGER |
| attributes.variation | NULLABLE | BOOLEAN |
| attributes.visible | NULLABLE | BOOLEAN |
| average\_rating | NULLABLE | FLOAT |
| backordered | NULLABLE | BOOLEAN |
| backorders | NULLABLE | STRING |
| backorders\_allowed | NULLABLE | BOOLEAN |
| brand\_name | NULLABLE | STRING |
| button\_text | NULLABLE | STRING |
| catalog\_visibility | NULLABLE | STRING |
| categories | REPEATED | RECORD |
| categories.id | NULLABLE | INTEGER |
| categories.name | NULLABLE | STRING |
| categories.slug | NULLABLE | STRING |
| date\_created | NULLABLE | TIMESTAMP |
| date\_created\_gmt | NULLABLE | TIMESTAMP |
| date\_modified | NULLABLE | TIMESTAMP |
| date\_modified\_gmt | NULLABLE | TIMESTAMP |
| description | NULLABLE | STRING |
| dimensions | NULLABLE | RECORD |
| dimensions.height | NULLABLE | STRING |
| dimensions.length | NULLABLE | STRING |
| dimensions.width | NULLABLE | STRING |
| download\_expiry | NULLABLE | INTEGER |
| download\_limit | NULLABLE | INTEGER |
| downloadable | NULLABLE | BOOLEAN |
| external\_url | NULLABLE | STRING |
| featured | NULLABLE | BOOLEAN |
| has\_options | NULLABLE | BOOLEAN |
| id | NULLABLE | INTEGER |
| images | REPEATED | RECORD |
| images.alt | NULLABLE | STRING |
| images.date\_created | NULLABLE | TIMESTAMP |
| images.date\_created\_gmt | NULLABLE | TIMESTAMP |
| images.date\_modified | NULLABLE | TIMESTAMP |
| images.date\_modified\_gmt | NULLABLE | TIMESTAMP |
| images.id | NULLABLE | INTEGER |
| images.name | NULLABLE | STRING |
| images.src | NULLABLE | STRING |
| manage\_stock | NULLABLE | BOOLEAN |
| menu\_order | NULLABLE | INTEGER |
| meta\_data | REPEATED | RECORD |
| meta\_data.id | NULLABLE | INTEGER |
| meta\_data.key | NULLABLE | STRING |
| meta\_data.value | NULLABLE | JSON |
| name | NULLABLE | STRING |
| on\_sale | NULLABLE | BOOLEAN |
| parent\_id | NULLABLE | INTEGER |
| permalink | NULLABLE | STRING |
| price | NULLABLE | FLOAT |
| price\_html | NULLABLE | STRING |
| product\_brand | REPEATED | RECORD |
| product\_brand.count | NULLABLE | INTEGER |
| product\_brand.description | NULLABLE | STRING |
| product\_brand.filter | NULLABLE | STRING |
| product\_brand.name | NULLABLE | STRING |
| product\_brand.parent | NULLABLE | INTEGER |
| product\_brand.slug | NULLABLE | STRING |
| product\_brand.taxonomy | NULLABLE | STRING |
| product\_brand.term\_group | NULLABLE | INTEGER |
| product\_brand.term\_id | NULLABLE | INTEGER |
| product\_brand.term\_taxonomy\_id | NULLABLE | INTEGER |
| product\_type | REPEATED | RECORD |
| product\_type.count | NULLABLE | INTEGER |
| product\_type.description | NULLABLE | STRING |
| product\_type.filter | NULLABLE | STRING |
| product\_type.name | NULLABLE | STRING |
| product\_type.parent | NULLABLE | INTEGER |
| product\_type.slug | NULLABLE | STRING |
| product\_type.taxonomy | NULLABLE | STRING |
| product\_type.term\_group | NULLABLE | INTEGER |
| product\_type.term\_id | NULLABLE | INTEGER |
| product\_type.term\_taxonomy\_id | NULLABLE | INTEGER |
| purchasable | NULLABLE | BOOLEAN |
| purchase\_note | NULLABLE | STRING |
| rating\_count | NULLABLE | INTEGER |
| regular\_price | NULLABLE | FLOAT |
| related\_ids | REPEATED | INTEGER |
| reviews\_allowed | NULLABLE | BOOLEAN |
| sale\_price | NULLABLE | STRING |
| shipping\_class | NULLABLE | STRING |
| shipping\_class\_id | NULLABLE | INTEGER |
| shipping\_required | NULLABLE | BOOLEAN |
| shipping\_taxable | NULLABLE | BOOLEAN |
| short\_description | NULLABLE | STRING |
| sku | NULLABLE | STRING |
| slug | NULLABLE | STRING |
| sold\_individually | NULLABLE | BOOLEAN |
| status | NULLABLE | STRING |
| stock\_quantity | NULLABLE | INTEGER |
| stock\_status | NULLABLE | STRING |
| tax\_class | NULLABLE | STRING |
| tax\_status | NULLABLE | STRING |
| total\_sales | NULLABLE | INTEGER |
| type | NULLABLE | STRING |
| upsell\_ids | REPEATED | INTEGER |
| virtual | NULLABLE | BOOLEAN |
| weight | NULLABLE | STRING |

</details>

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://witcloud.ai/#website","@type":"WebSite","description":"WitCloud is a marketing and e-commerce analytics platform: connect your data, ask AI and track KPIs in one place.","inLanguage":"en-US","name":"WitCloud","url":"https://witcloud.ai/","publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/woocommerce#webpage","@type":"WebPage","dateModified":"2026-10-08T07:44:37.660Z","description":"Learn how to connect WooCommerce to Google BigQuery using WitCloud to collect orders, products and product categories from your store.","name":"WooCommerce · WitCloud Docs","url":"https://witcloud.ai/docs/integrations/woocommerce","breadcrumb":{"@id":"https://witcloud.ai/docs/integrations/woocommerce#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/docs/integrations/woocommerce"]}],"primaryImageOfPage":{"@id":"https://witcloud.ai/#logo"}},{"@id":"https://witcloud.ai/#identity","@type":"Organization","name":"WitCloud","url":"https://witcloud.ai","logo":{"@id":"https://witcloud.ai/#logo"},"sameAs":[]},{"@id":"https://witcloud.ai/docs/integrations/woocommerce#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integrations","item":"https://witcloud.ai/docs/integrations","position":1},{"@type":"ListItem","name":"WooCommerce","item":"https://witcloud.ai/docs/integrations/woocommerce","position":2}]},{"@id":"https://witcloud.ai/docs/integrations/woocommerce#article","dateModified":"2026-10-08T07:44:37.660Z","description":"Learn how to connect WooCommerce to Google BigQuery using WitCloud to collect orders, products and product categories from your store.","headline":"WooCommerce","inLanguage":"en-US","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/docs/integrations/woocommerce#/schema/person/1"},"image":{"@id":"https://witcloud.ai/docs/integrations/woocommerce#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/docs/integrations/woocommerce#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/docs/integrations/woocommerce#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/woocommerce#/schema/person/1","@type":"Person","name":"WitCloud"},{"@id":"https://witcloud.ai/#logo","@type":"ImageObject","caption":"WitCloud","contentUrl":"https://witcloud.ai/logo.svg","inLanguage":"en-US","url":"https://witcloud.ai/logo.svg"},{"@id":"https://witcloud.ai/docs/integrations/woocommerce#/schema/image/1","@type":"ImageObject","contentUrl":"https://witcloud.ai/og-default.png","inLanguage":"en-US","url":"https://witcloud.ai/og-default.png"}]}
```

## Sitemap

See the full [sitemap](https://witcloud.ai/sitemap.md) for all pages.
