Skip to content
BonicBD
Store platform integration

WordPress on your own domain

The plugin adds the tracking snippet to every page, keeps the container ID in one place, and fires the ecommerce events from WordPress hooks — so the site does not depend on a theme file or the thank-you page to report a purchase.

Last reviewed: 2026-11-07 For Bangladesh stores and agencies First-party delivery
Setup path

How the WordPress setup works

1

Install the plugin

Download the BonicBD WordPress plugin from the panel and install it through Plugins → Add New → Upload Plugin. It is a normal WordPress plugin, activated like any other.

2

Add your tracking subdomain

Point a CNAME for your subdomain at the BonicBD container and add the domain in your panel. The plugin then loads the container from your own domain rather than a third-party one.

3

Let the plugin place the snippet

The plugin injects the tracking snippet into every page automatically. You do not paste it into the theme header by hand, and it survives a theme change.

4

Fire the ecommerce events

With WooCommerce, the plugin wires the order hooks so purchases and other ecommerce events are sent server-side with the order data attached. The purchase dispatches on a confirming status change (processing/completed), which is what cash-on-delivery orders need — order creation alone does not count as the sale.

5

Point your server container at that hostname

In Google Tag Manager, set the server container URL to the verified hostname and let the order event trigger your platform tag. The plugin does the collection; the tag does the delivery.

6

Verify what arrived

Open the event log in your panel and check the order payload that arrived, then check the platform tag in GTM Preview. A missing event can then be traced to the store, the collection path, or the tag.

The split

What BonicBD does, and what you build in GTM

BonicBD gives you

  • A server-side Google Tag Manager container on your own hostname
  • The collection endpoint your site and your store report events to
  • Identity and click-ID storage, so a conversion can be tied back to the ad click that started it
  • The protection and enrichment modules — bot filtering, traffic filtering, consent state, EMQ enrichment, Click ID Restorer
  • An event log that shows exactly what arrived, so a missing event can be traced

You build the tag in Google Tag Manager

  • The tag itself — Meta CAPI, GA4, TikTok Events API, LinkedIn Conversions
  • Its trigger, and the payload mapping from the collected event to the platform format
  • The API credentials for the platform, held in your own GTM account
  • The deduplication key that stops one purchase being counted twice
There is no destination screen in the BonicBD panel. The platform tag and its credentials live in your own Google Tag Manager server container, exactly as they would with any other server-side tagging provider.
Questions

Common questions about WordPress

What does the WordPress plugin do exactly?

It adds the tracking snippet to every page without editing your theme, keeps the container ID configured in one place, and — with WooCommerce — fires the ecommerce events from the order hook instead of a template.

Is the plugin required for server-side tracking?

No, but without it you have to place the snippet yourself and fire the events from your theme. The plugin is the supported path, and it keeps working when the theme changes.

Do I configure Meta or GA4 inside the plugin?

No. The plugin collects the events and reports them to your BonicBD container. The platform tag, its trigger and its credentials stay in your Google Tag Manager server container.

Does the plugin work with WooCommerce?

Yes. The WooCommerce integration is part of the plugin. It captures the order at checkout and dispatches the server-side purchase when the order reaches a confirming status (processing/completed) — cancelled or refunded orders are skipped, so a cash-on-delivery order is reported when the sale is confirmed rather than on the thank-you page alone.