Linux 软件免费装
Banner图

Tagioo Server-Side Tracking for WooCommerce

开发者 sifatul92
更新时间 2026年10月29日 03:19
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce google tag manager ga4 server-side tracking conversions api

下载

2.7.0

详情介绍:

Ad blockers, Safari's tracking limits and closed browser tabs stop many purchases from ever reaching GA4, Meta or TikTok. Tagioo Server-Side Tracking for WooCommerce sends every paid order from your WordPress server to your own server-side Google Tag Manager (sGTM) container, so the sale is recorded even when the browser pixel never fires. It also gives your Google Tag Manager web container a complete GA4 ecommerce dataLayer, so you don't need a separate GTM plugin. What it does What you need Every feature in the plugin is free. Nothing is locked behind a licence or account, and it works with any server-side GTM container, not only Tagioo's.

安装:

  1. Make sure WooCommerce is installed and active.
  2. In WordPress, go to Plugins → Add New Plugin, search for "Tagioo Server-Side Tracking", click Install Now, then Activate.
  3. Go to WooCommerce → Tagioo.
  4. GTM: enter your GTM container ID (GTM-XXXXXXX). If your theme or another plugin already adds GTM, untick Inject GTM snippet so it doesn't load twice.
  5. Server-side GTM: enter your sGTM domain (for example https://sgtm.yourstore.com), your GA4 Measurement ID (G-XXXXXXXXXX) and a GA4 Measurement Protocol API secret. To create the secret, go to GA4 → Admin → Data streams → your web stream → Measurement Protocol API secrets → Create. The server-side purchase hit only runs when all three are filled in.
  6. Events: all events are on by default. Untick any you don't want.
  7. Cookie consent: leave it Off, choose Show Tagioo consent banner, or choose Use my own cookie banner plugin if your store already has one.
  8. Click Save Settings.
Check that it works
  1. Open a product page with GTM Preview mode (Tag Assistant) running. You should see a view_item event with the product's name, price and currency.
  2. Place a test order and make sure it is paid or Processing. Within a few minutes the purchase should appear in GA4 Realtime, and in Meta Events Manager as a server event if your sGTM container sends to Meta.
  3. If it doesn't, check WooCommerce → Status → Logs for entries with the source tagioo.
The server-side purchase hit is sent by WP-Cron, which runs when your site gets visits. On a store with very little traffic, a real server cron job makes the hit arrive sooner.

屏幕截图:

  • Server-side GTM settings and the ecommerce events to send to the dataLayer.
  • The optional Tagioo cookie consent banner on a WooCommerce store.

升级注意事项:

2.7.0 Security hardening and a fix for Bangladesh phone numbers sent to Meta.

常见问题:

Do I need a Tagioo account?

No. The plugin works with any server-side GTM container you control. Tagioo is one way to host one.

Will purchases be counted twice?

No. The browser purchase event and the server-side hit share the same event_id (the WooCommerce order ID), which Meta and TikTok use to keep only one of them. Make sure your browser pixel tags in GTM pass the event_id from the dataLayer. Both hits also carry the same GA4 transaction_id.

Does it work with the Checkout Block?

Yes. Events fire on both the classic shortcode checkout and the Cart and Checkout Blocks.

Can I change or skip the server-side hit?

Yes. Use the tagioo_server_purchase_params filter. Return modified parameters, or false to skip the hit for an order.

Where do I see errors from the server-side hit?

The plugin tries each purchase up to five times, waiting a little longer each time (1, 2, 3 and 4 minutes). Failed attempts are logged in WooCommerce → Status → Logs under the source tagioo.

更新日志:

2.7.0 2.6.0 2.5.0