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
-
Create a gateway for the store
A gateway of its own keeps the store's deliveries and domain settings separate from your other sites.
-
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.
-
Connect the ad platforms you use first
Get the platforms you spend on most working before you add the rest.
-
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.