Connecting BigCommerce
Install the CookieROAS app for BigCommerce. It adds consent-aware conversion tracking to your store and sends every paid order server-side to Google Ads, with refunds.
The CookieROAS app connects a BigCommerce store in one click, without code. It creates the order webhooks, adds the measuring code to your storefront and order confirmation page, and links every paid order to the ad click that brought the shopper. CookieROAS then sends the purchase server-side to Google Ads and your other ad platforms, and corrects it after a refund or cancellation.
What you need
- A BigCommerce store with a Stencil theme and BigCommerce's own checkout
- A store owner or a user who may install apps
Steps
Install the app
In your BigCommerce control panel, go to Apps › Marketplace, search for CookieROAS and click Install. Confirm the permissions the app asks for:
- Orders: read-only, to read each paid order;
- Information & settings: read-only, for your store name, currency and time zone;
- Content: modify, only to add and remove its own two scripts.
After the install the app page says CookieROAS is connected, with the webhooks and the measuring code in place.
Open your dashboard
Click Open the CookieROAS dashboard on the app page. A new tab opens: sign in or create your CookieROAS account, and the store is added to it. The button works once; open the app again under Apps › My Apps › CookieROAS for a new one.
Turn on the cookie consent banner
The measuring code keeps the ad click (gclid, gbraid, wbraid and the click ids of your other channels) only with the shopper's consent. Turn on BigCommerce's own cookie consent banner in your storefront settings (Cookie consent tracking). The app's scripts are in the Targeting category, so BigCommerce only loads them after the shopper accepts targeting cookies.
Do you use another cookie banner? Then the measuring code reads the choice from Google Consent Mode, or your banner calls this after the shopper's choice:
<script>CookieROAS.consent(true); /* or false */</script>Place a test order
Check out one order in your store and make sure it reaches a paid status. The Place a test order step on the Order source page turns green once the order is in.

Connect your ad platforms
Link Google Ads, Meta and your other channels in the dashboard. Until then CookieROAS collects your orders but sends nothing to an ad platform. Read Connecting advertising channels.
How orders are counted
CookieROAS only sends paid orders. An order counts once it reaches Awaiting Fulfillment, Awaiting Shipment, Awaiting Pickup, Partially Shipped, Shipped or Completed, also when that happens days later (bank transfer). It counts once: shipping it later doesn't count it again.
- Refunds and cancellations. Refunded, Partially Refunded and Cancelled lower the order's value in CookieROAS: a partial refund by the refunded amount, a full refund or cancellation to zero. Where the ad platform supports it, the conversion is corrected too.
- The amount is the order total including tax, in the order's currency.
- The click. BigCommerce's order webhook carries no click id. The order confirmation page reports the order number with the click the shopper consented to, and CookieROAS links it to the order the webhook delivers. Without consent the order still arrives, without the click.
What the app adds to your store
Two scripts, which you see under Storefront › Script Manager:
- CookieROAS in the head of the storefront pages. It loads the measuring code, from your own tracking domain when you set one up. Checkout pages are left alone.
- CookieROAS purchase on the order confirmation page. It reports the order number, amount and currency.
The measuring code sets no cookies, keeps the ad click only after consent, honours Global Privacy Control and sends nothing to ad platforms from the browser. Conversions are sent server-side.
Check that it works
- The Place a test order step on Order source says Received.
- The amount and currency of the test order match your store.
- After a test visit with a
?gclid=in the address and accepted cookies, the order shows the Google click in Orders.
Disconnecting
Uninstall CookieROAS under Apps › My Apps. BigCommerce removes the app's scripts and webhooks, and CookieROAS stops receiving orders at once. Your data in CookieROAS stays until you delete the site.
Without the app: API credentials
You can also connect BigCommerce with a store-level API account, for example on a headless storefront where you place the measuring code yourself.
- In BigCommerce, open Settings › API › Store-level API accounts and create an account with Orders: read-only and Information & settings: read-only. Note the access token and the store hash.
- Choose BigCommerce at Tracking › Setup › Order source and enter them. CookieROAS creates the webhooks; the token is stored encrypted, because BigCommerce's webhook only contains the order number.
- Place the measuring code yourself and send the purchase with the BigCommerce order id as
transaction_id. Read Placing the tracking code.
