Before you begin
- A verified tracking hostname for this container.
- Admin access to the WordPress dashboard.
- A Google Tag Manager web container and server container.
1. Install the plugin
Install the BonicBD WordPress plugin and activate it. The plugin carries the identity and click-ID configuration that the tracker uses, including the default identity lifetime, click-ID lifetime, UTM lifetime, redundant storage setting, and server refresh interval.
Those are defaults, not guarantees. A browser can refuse storage, clear it, or apply its own retention limits, so a declared lifetime is a configuration value rather than a promise that the value will still be there later.
2. Add the snippets
When the BonicBD plugin is configured with your container ID, it injects the loader and tracker itself — check the rendered page source before adding anything by hand, and do not paste duplicate snippets on top of the plugin. Only on the manual path (no BonicBD plugin) add the head loader, body noscript and integrated tracker through a header-and-footer plugin or your theme’s custom code area: head loader in the header field, noscript and tracker in the footer field.
Do not add the snippets through a caching or optimisation plugin’s script-combination feature. Deferring or bundling the tracker changes when it runs, and it needs to run before the events it captures.
3. The add-to-cart event
For a normal page load, the plugin stashes the item details in the WooCommerce session and emits them on a later footer render. Stashed entries older than five minutes are dropped.
AJAX, REST, cron, and command-line requests do not use that server-side stash, because the click-time JavaScript path is expected to handle those. Reproduce the same kind of add-to-cart action when testing, or you will be checking a path the plugin does not use.
4. The purchase event
Which moment fires Purchase is a plugin setting, not fixed behaviour. With the default Thank You trigger the browser purchase is emitted from the order-confirmation flow using the order ID kept in the WooCommerce session. With Processing or Completed selected, the order payload is captured at checkout and the purchase is replayed only when the order reaches that status — which is the COD path, and it needs no custom hook or backend code. Failed, cancelled and refunded orders never fire, and an order meta marker prevents the same purchase path from sending twice.
If the purchase event is missing, check the confirmation-page behaviour, the order status, whether the session continued across the checkout, and whether the order was already marked as sent.
Avoid testing with a real customer order unless the store owner has authorized it. Use a test order that follows the same flow.
5. Verify the whole path
Place a test order, then check four places in order: the browser Network panel for the collection request, the BonicBD realtime view for the recorded event, the server container preview for the matched tag, and the destination platform’s own test-events panel for receipt.
The presence of an event in BonicBD proves collection, not delivery. Only the destination diagnostic proves the destination received it.
Reviewed against the BonicBD documentation source on 2026-11-07. Dashboard labels can change; follow the current setup guide shown in your account.