TagBuni

By wasikastudio

0+ active installationsVersion 0.9.3

Consent-aware marketing tracking for WordPress and WooCommerce. Free, no upsells, no telemetry.

Description

TagBuni by Wasika Studio sends marketing events to the platforms you choose. Everything is off by default: nothing loads and nothing is sent until an administrator turns a platform on with their own account ID and the visitor has given consent.

Platforms:

  • Meta Pixel (browser) and Meta Conversions API (server purchases), deduplicated with a shared event ID.
  • Google Analytics 4 ecommerce events and Google Ads purchase conversions through the Google tag, with Consent Mode v2 signals.
  • Google Tag Manager container with a GA4-style ecommerce dataLayer.
  • Pinterest tag and Pinterest Conversions API (server purchases).
  • OpenAI (ChatGPT ads) Measurement Pixel and Conversions API (server purchases), where your account has access.
  • Awin advertiser MasterTag and conversion tag.
  • TikTok Pixel and TikTok Events API (server purchases), deduplicated with a shared event ID.
  • Microsoft Advertising UET tag (page views, custom events, purchase revenue) with UET Consent Mode.
  • Reddit Pixel (page visits, product views, add to cart, purchases, custom events) with conversion IDs for deduplication.
  • Custom events: page path, element click, or successful Contact Form 7 submission. Rules are data only; no code is stored or run.

Not available yet: server-side delivery for Microsoft Advertising and Reddit (their Conversions API references could not be verified), GA4 Measurement Protocol, and Google enhanced conversions.

How it works:

  • Consent first: platform scripts load, and purchases are sent, only after the visitor accepts the category they need (“marketing” or “statistics”) in a cookie banner connected through the WP Consent API. No consent plugin, or a removed one, means nothing is sent. An administrator whose visitors do not legally have to be asked can turn this off, but only by ticking an explicit confirmation; updates and imports can never turn it off.
  • WooCommerce events: product views, add to cart, checkout started, purchase. Compatible with HPOS and with classic and block checkout.
  • Purchase values come from the WooCommerce order, never from the browser. Each order is sent once per platform, from a background job.
  • Access tokens and API keys stay on the server: wp-config.php constants, or encrypted database storage with a key kept outside the database.
  • Tracking is off for administrators and non-production environments by default.
  • Health check: finds Pixel, Conversions API, consent, background-job, duplicate-tracking, and optimizer problems and explains how to fix each one. Also reported in Tools → Site Health.
  • Settings export/import (never includes credentials; an import switches every platform off and sets consent to “Wait for consent”).

All features are free. There is no Pro version, license key, quota, or Wasika Studio server. Meta may apply its own account requirements and terms.

TagBuni does not by itself make a site legally compliant. You remain responsible for your privacy notice and consent setup.

External services

TagBuni is a connector for advertising and analytics services that the site owner already uses. It has no server of its own and never sends any data to Wasika Studio. Every service below is OFF until an administrator turns it on in TagBuni → Platforms and enters their own account ID; nothing is contacted before that.

When a service is on, its tag (script) is loaded in visitors’ browsers and, for purchases, TagBuni may also send the order from your server. Both happen only after the visitor has given consent through a consent plugin connected with the WP Consent API. Without such a plugin nothing is loaded or sent, unless an administrator has ticked the confirmation that visitors do not have to be asked. Administrators and non-production sites are not tracked by default. The plugin never tracks the WordPress admin area. The “Save & send test event” button sends one made-up test event, with the administrator’s own browser user agent and IP address, only when the administrator clicks it.

Each service’s own script may also set cookies and collect data such as IP address and browser details under that service’s terms.

  • Meta (Facebook/Instagram) Pixel and Conversions API — used to measure ads on Meta. Browser: loads https://connect.facebook.net/en_US/fbevents.js and sends page views and shopping events (product IDs, quantities, prices, currency, event IDs, page URL). Server (only if “Send purchases from the server” is on and an access token is saved): sends each paid WooCommerce order to https://graph.facebook.com/ (order value, currency, items, order number, event ID, customer IP address and user agent recorded by WooCommerce, _fbp/_fbc cookies, and — only if the administrator enables it — SHA-256-hashed billing email, phone, name and address). Service: https://www.facebook.com/business/tools/meta-pixel — Terms: https://www.facebook.com/legal/terms/businesstools — Privacy: https://www.facebook.com/privacy/policy/
  • Google tag (Google Analytics 4 and Google Ads) — used for analytics and ads conversion measurement. Browser: loads https://www.googletagmanager.com/gtm.js with your Google tag ID and sends ecommerce events (product IDs, prices, quantities, currency, order number) and Consent Mode signals. Service: https://marketingplatform.google.com/ — Terms: https://marketingplatform.google.com/about/analytics/terms/us/ — Privacy: https://policies.google.com/privacy
  • Google Tag Manager — loads the administrator’s own container from https://www.googletagmanager.com/gtm.js and pushes ecommerce events to it. What the container then sends depends on the tags the administrator added in Tag Manager. Service: https://tagmanager.google.com/ — Terms: https://marketingplatform.google.com/about/analytics/tag-manager/use-policy/ — Privacy: https://policies.google.com/privacy
  • Pinterest Tag and Conversions API — used to measure ads on Pinterest. Browser: loads https://s.pinimg.com/ct/core.js and sends page visits and shopping events (product IDs, prices, quantities, currency, event IDs). Server (only if server sending is on and a token is saved): sends each paid order to https://api.pinterest.com/ (value, currency, items, order number, event ID, customer IP and user agent, _epik cookie, and optionally hashed billing email, name, city and country). Service: https://business.pinterest.com/ — Terms: https://policy.pinterest.com/en/terms-of-service — Privacy: https://policy.pinterest.com/en/privacy-policy
  • TikTok Pixel and Events API — used to measure ads on TikTok. Browser: loads https://analytics.tiktok.com/i18n/pixel/events.js and sends page views and shopping events (product IDs, prices, quantities, currency, event IDs). Server (only if server sending is on and a token is saved): sends each paid order to https://business-api.tiktok.com/ (value, currency, items, order number, event ID, page URL, customer IP and user agent, ttclid/_ttp cookies, and optionally SHA-256-hashed billing email and phone). Service: https://ads.tiktok.com/ — Terms: https://ads.tiktok.com/i18n/official/policy/business-products-terms — Privacy: https://www.tiktok.com/legal/page/global/privacy-policy/en
  • Microsoft Advertising (UET tag) — used to measure ads on Microsoft/Bing. Browser: loads https://bat.bing.com/bat.js and sends page loads, event names, purchase revenue and currency, and a consent signal. Service: https://ads.microsoft.com/ — Terms: https://www.microsoft.com/en-us/servicesagreement — Privacy: https://privacy.microsoft.com/privacystatement
  • Reddit Pixel — used to measure ads on Reddit. Browser: loads https://www.redditstatic.com/ads/pixel.js and sends page visits and shopping events (product IDs, quantities, prices, currency, conversion IDs). Service: https://ads.reddit.com/ — Terms: https://redditinc.com/policies/user-agreement — Privacy: https://www.redditinc.com/policies/privacy-policy
  • OpenAI ads (ChatGPT) Measurement Pixel and Conversions API — used to measure ads in ChatGPT. Browser: loads https://bzrcdn.openai.com/sdk/oaiq.min.js and sends page views and shopping events. Server (only if server sending is on and a key is saved): sends each paid order to https://bzr.openai.com/ (amount, currency, items, event ID, customer IP and user agent, __obref cookie, and optionally hashed billing email, phone, name and city/region/postcode/country). Service: https://openai.com/ — Terms: https://openai.com/policies/ — Privacy: https://openai.com/policies/privacy-policy/
  • Awin (affiliate network) — used to record affiliate sales. Browser: loads https://www.dwin1.com/{your advertiser ID}.js and, on the order confirmation page, sends the order reference, commissionable amount, currency and coupon code. Service: https://www.awin.com/ — Terms and privacy: https://www.awin.com/gb/privacy

Installation

  1. Upload the plugin ZIP under Plugins → Add New → Upload Plugin, then activate.
  2. Open TagBuni in the left admin menu. The Platforms page lists every platform.
  3. Open a platform, tick “Turn on”, and paste its ID.
  4. For server-side purchases (Conversions API), paste the access token in the same card. It is stored encrypted with your site’s wp-config.php security keys (or define it as a constant, e.g. define( 'TAGBUNI_META_CAPI_TOKEN', 'your-token' );).
  5. Paste the platform’s test event code and click “Save & send test event”. Confirm the event on the platform’s test screen, then clear the test code and save.
  6. Choose how consent works on the Platforms page: connect a cookie banner that supports the WP Consent API (for example SureCookie or Complianz, plus the free WP Consent API plugin), or, only if your visitors do not legally have to be asked, tick the confirmation to track without asking.
  7. Practising on a development or staging copy? Click “Turn on tracking on this practice site” at the top of the Platforms page.

FAQ

Does TagBuni send any data to Wasika Studio?

No. TagBuni has no server and no telemetry. It only connects to the advertising and analytics services you turn on yourself, using your own account IDs (see “External services”).

Does TagBuni install, activate or change other plugins?

No. When it finds something to fix in another plugin (for example a duplicate Meta Pixel in a code-snippet plugin), it explains the problem and links to the right page; you make the change.

Why is nothing being sent?

Open TagBuni → Health & test. Every problem found is listed with step-by-step fixes. Click “Check my pages” to also scan your pages for missing, delayed, or duplicate pixel code. In a visitor’s browser, type tagbuniStatus in the developer console to see the consent state and which events were sent.

Will purchases be counted twice?

TagBuni sends each order once from the server and once from the thank-you page with the same event ID, which Meta uses to deduplicate. If another plugin also sends Meta events, choose one tool for Meta.

Is tracking guaranteed?

No. Consent refusal, ad blockers, browser restrictions, and platform processing all affect what is recorded.

Changelog

0.9.3

  • First public release.