WooCommerce integration15 minutesFree: 1 gateway, 10,000 signals a month

WooCommerce integration: gateway and order checks

What Anacoic connects for WooCommerce: a gateway that sends purchases to Meta's Conversions API, and Watch, which checks your orders against Meta.

Outcome

Your WooCommerce store sends its events to the gateway, and you can see deliveries, blocked requests and recent errors in one place.

WooCommerce setups often drift as plugins and pixels pile up. The gateway gives you one route for events and one log of what each platform received.

Supported events

  • Page view
  • Product view
  • Add to cart
  • Checkout
  • Purchase

Destinations

  • Meta Conversions API
  • Google Ads (Data Manager API), on request
  • TikTok Events API (beta)
  • Snapchat Conversions API (beta)
  • LinkedIn Conversions API (beta)
  • Pinterest Conversions API (beta)
  • Reddit Conversions API (beta)
  • X Conversions API (beta)
  • Microsoft Advertising Conversions API (beta)
  • Custom webhooks

Before you start

Prerequisites

  • An Anacoic gateway
  • Access to WordPress or your theme
  • The IDs and access tokens for the ad platforms you plan to use
Best fit
WooCommerce stores and performance teams

Setup flow

Setup steps

  1. Create a gateway for the store

    A gateway of its own keeps the store's deliveries and domain settings separate from your other sites.

  2. Add the tracker and an order hook

    The ana.js tracker covers browser events. For paid orders, a short hook on woocommerce_payment_complete posts each order from your server, with the same event ID as the browser.

  3. Connect the ad platforms you use first

    Get the platforms you spend on most working before you add the rest.

  4. Check with a test event

    Send a test event from the app and confirm that each destination accepted it.

FAQ

Questions before you start

Does WooCommerce need a plugin?

Not for the gateway: add the tracker or post events from your backend, then set up destinations in the app. Watch, which checks your orders against Meta, uses two WooCommerce webhooks and nothing to install. Watch is in early access.

Do I need a server-side tag manager?

No. The tracker and the order hook send events straight to the gateway, which sends them on to each platform. The WooCommerce server-side tracking guide has the hook, the event ID rules and the checks.

Is the setup different from Shopify?

Only where the tracker goes. The gateway, destinations, custom domain and test event work the same way.

Recommended next step

Start with one event, then add the rest

Set up the gateway, get one destination working with a test event, then add more once the delivery log shows the traffic you expect.

  • 1. Create a gateway

    Keep the new setup separate while you test it.

  • 2. Send a test event

    Check the request, the security checks and each destination's reply.

  • 3. Move real traffic

    Switch your real events over only once the delivery log shows what the test did.