Add server-side conversion tracking to BigCommerce with AxiTrace. Capture purchases via webhooks and BODL, forward to Facebook CAPI, TikTok, Google Ads and GA4 - bypassing ad blockers and iOS privacy restrictions.
Coming soon - currently in BigCommerce App Marketplace review

AxiTrace for BigCommerce

Pre-release · BigCommerce App Extension (OAuth) · BODL + server-side webhooks · Facebook CAPI · TikTok · Google Ads · GA4
App under review

AxiTrace for BigCommerce is currently pending review in the BigCommerce App Marketplace. This guide documents the installation and setup flow for early-access merchants. To request early access, email info@axitrace.com.

A complete walkthrough: install the AxiTrace BigCommerce app via OAuth, enable BODL in your store settings, and verify the first server-side purchase event lands in your AxiTrace dashboard. About ten minutes from blank to fully wired.

Before you start

You will need:

  • An AxiTrace account with at least one workspace. Create one for free (10,000 visits/month, no card required).
  • A BigCommerce store on any plan (Essentials or above).
  • Store Owner or Admin access to approve the OAuth consent screen and manage Apps.
  • About 10 minutes.

BODL prerequisite (required)

BODL must be enabled before installing

AxiTrace uses the BigCommerce Order Data Layer (BODL) for client-side storefront events. BODL is not enabled by default. Without it, product views, add-to-cart, and checkout events will not fire. Server-side purchase events (via webhooks) work regardless of BODL status.

To enable BODL:

  1. In your BigCommerce control panel, navigate to Settings → Analytics.
  2. Scroll to the Hosted Analytics section.
  3. Locate BigCommerce Order Data Layer (BODL) and toggle it on.
  4. Click Save.

For full details on BODL, refer to the BigCommerce Hosted Analytics documentation.

1

Install from the App Marketplace

  1. Log in to your BigCommerce control panel.
  2. In the left sidebar, navigate to Apps → App Marketplace.
  3. Search for AxiTrace and click the app listing.
  4. Click Install.
2

OAuth scopes and permissions

BigCommerce presents an OAuth consent screen listing the permissions AxiTrace requests. Review them and click Confirm to proceed.

OAuth scope Why it is needed
store_v2_orders_read_only Read full order details (line items, revenue, currency, customer ID) to enrich server-side purchase events forwarded to Facebook CAPI, TikTok, Google Ads and GA4.
store_v2_customers_read_only Read customer email and phone for hashed PII matching (Facebook CAPI / TikTok EMQ improvement). No raw PII is stored by AxiTrace.
store_v2_information_read_only Read store metadata (domain, currency, timezone) at install time for workspace configuration.
store_content Register and manage the AxiTrace BODL script via the Script Manager API. Enables automatic script injection into the storefront without theme edits.

After clicking Confirm, BigCommerce completes the OAuth flow and redirects you back to the AxiTrace App Extension panel inside the BC admin sidebar. Installation is confirmed when you see your workspace connection status in the panel.

3

Find your public key

The public key (always starts with pk_live_) identifies your AxiTrace workspace. It is displayed in two places:

  • In the BigCommerce App Extension panel - after installation, open the AxiTrace panel from the BC admin sidebar. The public key is shown in the Connection Details section. Click the copy icon next to it.
  • In the AxiTrace admin - sign in at axitrace.com/login, open your workspace, and find the Public Key in the Container Information card of Workspace settings → Tracking & domains.
Keep the secret key private

Only the pk_live_-prefixed public key appears in the App Extension panel and the browser script. Never expose or share the Secret Key - it is reserved for backend SDK calls only.

4

Custom tracking domain (optional)

By default, the AxiTrace browser script sends events to stat.axitrace.com. Some ad blockers and browser extensions block requests to known third-party analytics domains. Setting up a custom tracking domain routes events through a subdomain you control, significantly improving data capture rates.

Setup steps

  1. Choose a subdomain on your own domain, for example axi.yourdomain.com.
  2. In your DNS provider, create a CNAME record:
    • Host / Name: stat (or whatever subdomain you chose)
    • Value / Target: stat.axitrace.com
    • TTL: 3600 or lower
  3. Wait for DNS propagation (typically 5-30 minutes).
  4. In the AxiTrace App Extension panel inside BigCommerce admin, paste the full custom domain (e.g. https://axi.yourdomain.com) into the Custom Tracking Domain field and click Save.

Once saved, the AxiTrace script registered via Script Manager will use your custom domain for all event collection. No theme edits are required.

Domain verification

AxiTrace verifies that the CNAME resolves correctly before accepting the custom domain. If verification fails, check that the CNAME record has propagated with dig axi.yourdomain.com CNAME or an online DNS checker. For more details see the Domain Configuration guide.

5

Place a test order

The fastest way to confirm everything is wired up is a real (or test) order.

  1. Open your storefront in a fresh incognito window.
  2. Browse a product, add it to the cart, proceed to checkout, and complete an order.
  3. BigCommerce fires the store/order/statusUpdated webhook when the order is created. AxiTrace enriches the order via the BigCommerce REST API and dispatches a server-side transaction.charge event. The AxiTrace dashboard should show “last event N minutes ago” within 1-2 minutes.
  4. If BODL is enabled, the client-side order_purchased event fires immediately in the browser on the order confirmation page.
Idempotency

Each purchase event carries a deterministic UUID v5 event_id derived from the BigCommerce order ID (bigcommerce_order:{orderId}). AxiTrace deduplicates events by event_id, so even if the webhook fires more than once, the conversion is never counted twice. Facebook, TikTok and Google Ads also deduplicate against this ID when matching server and browser events.

What gets tracked

The app fires the following events. All propagate to every ad platform you have connected (Facebook CAPI, TikTok Events API, Google Ads, GA4).

EventWhen it firesClientServer
transaction.charge BigCommerce store/order/statusUpdated webhook on order creation - ✓
product.view BODL product_viewed event on product detail page ✓ -
product.addToCart BODL cart_item_added event ✓ -
begin_checkout BODL checkout_began event ✓ -
page.view Every storefront page load ✓ -

Client-side events require BODL to be enabled in Settings → Analytics → Hosted Analytics. The server-side transaction.charge event originates from the webhook handler and is not affected by ad blockers, iOS privacy restrictions, or browser cookie consent.

BigCommerce does not apply the AxiTrace consent switch

The BigCommerce integration is not finished, and cookie consent is one of the parts that is missing. Respect cookie consent in your AxiTrace workspace (Workspace settings → Privacy & consent) is not enforced in the BigCommerce storefront, and events from this integration reach AxiTrace with no consent state.

The practical consequence: with Respect cookie consent on and Forward events that do not report a consent state off (the default pairing), nothing from a BigCommerce store is forwarded to your ad platforms, purchases included. Every blocked event is written to your integration log with the reason, so the effect is visible rather than silent. If you need BigCommerce conversions to keep flowing while consent is required, turn Forward events that do not report a consent state on and gate consent in your storefront instead. See the Cookie consent guide.

Server-side webhook tracking

Even if a visitor’s browser blocks all JavaScript tracking, purchase events still reach your ad platforms. Here is how it works:

  1. When a BigCommerce order is placed, BC sends a store/order/statusUpdated webhook to AxiTrace.
  2. AxiTrace enriches the minimal webhook payload by fetching the full order from the BigCommerce REST API (GET /v2/orders/{id}) - line items, revenue, currency, customer details.
  3. The enriched order is normalised into AxiTrace’s internal event schema and forwarded server-side to Facebook CAPI, TikTok Events API, Google Ads offline conversions, and GA4 Measurement Protocol.
  4. If a browser BODL purchase event also fired, the platforms deduplicate against the shared event_id - only one conversion is counted.
Webhook health monitoring

BigCommerce automatically deactivates webhooks after 90 consecutive days of failed delivery attempts. AxiTrace runs an hourly health-check process that detects dormant webhooks and re-registers them automatically. Webhook status is visible in the AxiTrace App Extension panel inside BC admin.

Troubleshooting

Events are not arriving in the AxiTrace dashboard

Check the following in order:

  • Confirm the app is installed and the connection status shows Connected in the App Extension panel (BigCommerce admin sidebar → AxiTrace).
  • Verify that BODL is enabled: Settings → Analytics → Hosted Analytics → BigCommerce Order Data Layer. This is required for client-side events.
  • For server-side events: check the webhook health status in the App Extension panel. If webhooks show as inactive, click Re-register webhooks.
  • Verify that your server can reach stat.axitrace.com outbound on port 443: curl -I https://stat.axitrace.com/health.
No purchase event - test order not appearing in the dashboard

The server-side transaction.charge event fires from the store/order/statusUpdated webhook. Possible causes:

  • Webhook was not registered at install time. Check webhook status in the App Extension panel and use the Re-register webhooks button if needed.
  • The BigCommerce REST API call to enrich the order failed. Check your AxiTrace workspace logs or contact info@axitrace.com with your store hash.
  • Events appear in the dashboard within 1-2 minutes of the webhook firing. If more than 5 minutes have passed, the webhook may not have been delivered by BC. Check the BigCommerce control panel under Settings → API → Webhooks for delivery status.
BODL client-side events not firing (product views, add-to-cart)

BODL events require Hosted Analytics to be active. Steps to diagnose:

  • Confirm BODL is enabled: Settings → Analytics → Hosted Analytics → ensure BigCommerce Order Data Layer is toggled on and saved.
  • Open your storefront in a private window and check the browser console for AxiTrace script load errors. The script URL should point to stat.axitrace.com (or your custom domain) followed by /axitrack.js.
  • Verify the AxiTrace script is listed in Storefront → Script Manager. If it is missing, uninstall and reinstall the AxiTrace app.
Invalid public key error
The key must start with pk_live_ (or pk_test_ for a test workspace). The most common cause is a leading or trailing whitespace character. Re-copy from the App Extension panel or from axitrace.com/login → Workspace settings → Tracking & domains → Container Information.
Do I need to install a separate Facebook Pixel or TikTok Pixel tag?
No. Once the BigCommerce app is sending events to AxiTrace, AxiTrace forwards them to every ad platform you have connected in Connections - Facebook CAPI, TikTok Events API, Google Ads offline conversions, and GA4. One app, four platforms.

FAQ

Which BigCommerce plans are supported?
AxiTrace works on all BigCommerce plans (Essentials, Plus, Pro, Enterprise) that support the App Marketplace and Script Manager API.
Is BODL mandatory?
BODL is required only for client-side storefront events (product views, add-to-cart, checkout, browser-side purchase confirmation). Server-side purchase events are captured via webhooks and work regardless of BODL status. For the best ad signal quality, enabling BODL is strongly recommended.
Does it work with custom BigCommerce themes (Stencil)?
Yes. The AxiTrace script is registered via the BigCommerce Script Manager API, not injected into theme files. Any Stencil theme that fires BODL events (default BigCommerce themes, Cornerstone, most marketplace themes) will work without modification. Headless / composable frontends need to subscribe to BODL events manually using the browser SDK init.
Does it support multi-storefront (MSF) configurations?
Multi-storefront support is planned for a future release. The current version tracks one storefront per AxiTrace workspace. Contact info@axitrace.com if your store uses MSF - we will prioritise based on demand.
Is the app free?
The BigCommerce app is free to install. Billing is handled entirely by the AxiTrace SaaS at axitrace.com. The free tier covers 10,000 visits/month with access to all nine ad platform integrations; paid plans start at $99/month billed annually for higher visit allowances.
What BigCommerce OAuth scopes does it request?

The app requests exactly four scopes, all read-only except Script Manager:

  • store_v2_orders_read_only - read order details for server-side event enrichment
  • store_v2_customers_read_only - read customer PII for hashed matching (Facebook EMQ, TikTok match quality)
  • store_v2_information_read_only - read store metadata at install
  • store_content - register/delete the BODL tracking script via Script Manager

The more sensitive store_content_checkout scope is not requested - it would trigger a mandatory BC security review. BODL’s order_purchased event fires on the order confirmation page in a normal storefront context, which does not require checkout iframe access.

How long until events appear after a purchase?

It depends on the event source:

  • Client-side events (page view, add-to-cart, checkout, browser purchase confirmation via BODL): appear instantly (within seconds of the browser event firing).
  • Server-side purchase events (webhook → enrichment → forwarding): appear within 1-2 minutes. The delay is due to BigCommerce webhook delivery + AxiTrace REST API enrichment.

Support

For questions, installation help, or early access requests, email info@axitrace.com. Most installs are working within 10 minutes and we will personally help if yours is not.