| 开发者 | sifatul92 |
|---|---|
| 更新时间 | 2026年10月29日 03:19 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
view_item, view_item_list, search, add_to_cart, remove_from_cart, view_cart, begin_checkout, add_shipping_info, add_payment_info and purchase with items, value and currency. Works with the classic checkout and the Cart and Checkout Blocks, including AJAX add to cart and quantity changes.event_id (the WooCommerce order ID for purchases), which Meta and TikTok use to deduplicate them.fbclid from an ad click into the _fbc cookie on the landing page, keeps _fbp and _fbc as first-party cookies set by your server, and saves them on the order.gtm.js from your sGTM domain instead of googletagmanager.com, for servers set up to serve it (Tagioo-hosted servers are).sgtm.yourstore.com, with a GA4 client and the server tags you want (for example GA4, Meta Conversions API and TikTok Events API). You can host it yourself or use Tagioo, which sets up both containers for you.GTM-XXXXXXX). If your theme or another plugin already adds GTM, untick Inject GTM snippet so it doesn't load twice.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.view_item event with the product's name, price and currency.tagioo.No. The plugin works with any server-side GTM container you control. Tagioo is one way to host one.
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.
Yes. Events fire on both the classic shortcode checkout and the Cart and Checkout Blocks.
Yes. Use the tagioo_server_purchase_params filter. Return modified parameters, or false to skip the hit for an order.
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.
view_item_list, search, view_cart, remove_from_cart, add_shipping_info and add_payment_info events.