
TagLinc for WooCommerce
v0.9.5Mahmudul Hasan · 2026年11月18日 上架
Server-side tracking for WooCommerce: GA4, Meta Conversions API and Google Ads from your own domain, with every paid order sent from your server.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 152
- 最近更新
- 2026年11月18日
贡献者
TagLinc for WooCommerce connects your store to a server-side Google Tag Manager container hosted by TagLinc. Your tags load from your own domain, purchases are sent from your server, and your ad platforms receive complete, accurate conversion data, even when browsers and ad blockers get in the way.
Setup takes a few minutes: create a connection key in your TagLinc dashboard, paste it into the plugin, and click Connect. No code, no theme edits.
Why server-side tracking?
Browser-only tracking misses sales. Ad blockers stop the Google tag, Safari deletes cookies after 7 days, and many buyers never return from the payment page, so the purchase event never fires. Your ad platforms then optimise on incomplete data. TagLinc fixes this by moving tracking to your own first-party server.
Features
- Google Tag Manager from your own domain. Your web GTM container loads from your tracking subdomain (for example track.yourstore.com), so it is first-party and harder for ad blockers to stop.
- Every paid order, sent from your server. When an order becomes Processing or Completed, a copy goes straight from WooCommerce to your server container, even if the buyer closes the tab on the payment page. Failed sends are retried.
- Refunds included. Full and partial refunds are sent to GA4 automatically, so your revenue reports stay correct.
- Complete GA4 ecommerce data layer. view_item, view_item_list, search, add_to_cart, remove_from_cart, view_cart, begin_checkout, add_shipping_info, add_payment_info and purchase, built in. No GTM4WP or extra plugin needed.
- Works with any theme. Classic templates, AJAX add-to-cart buttons and the WooCommerce Cart and Checkout blocks.
- Meta Pixel + Conversions API deduplication. Every event carries an event_id, so Meta counts each sale once when both the Pixel and the Conversions API send it.
- Better match rates. With consent, the buyer’s email, phone, name and address are hashed with SHA-256 and added to purchase events for higher Event Match Quality in Meta and Enhanced Conversions in Google Ads.
- Respects your cookie banner. Works with Complianz, CookieYes, Cookiebot, Borlabs Cookie, Real Cookie Banner, iubenda and other common consent plugins. Google Consent Mode v2 is supported.
- Payment method in every purchase. payment_type is included, so you can treat cash on delivery differently in Tag Manager.
- Safe with GTM4WP. If GTM4WP is active, TagLinc does not add a second GTM snippet.
- Settings stay in sync. The plugin reads your container settings once a day, and on demand with Refresh now.
Power-Ups
Power-Ups are switched on in your TagLinc dashboard and work with this plugin automatically. Some need a paid TagLinc plan.
Resilience
- Custom Loader: serves gtm.js from a custom path on your domain, so ad blockers do not recognise Google Tag Manager.
- Cookie Keeper: restores first-party cookies such as _ga and _fbp that Safari deletes after 7 days, keeping returning visitors recognised for up to 400 days. The plugin serves it from your own domain with no extra setup.
- First Party Domain: tracking from a subdomain of your own site.
- Multi Domain: several tracking domains on one container.
- Bot Detection: flags bots and crawlers so you can keep them out of analytics and ad platforms.
- Preview Header: keeps Tag Manager preview and debug mode connected.
Data and insights
- EMQ Enricher: fills in missing customer details in Meta events for a higher Event Match Quality.
- User ID: a stable, anonymous visitor ID when cookies are lost, so returning visitors are recognised more often.
- Click ID Restorer: brings back gclid and msclkid that Safari and Brave remove from page addresses.
- GEO Headers: the visitor’s country, region and city, from the IP address.
- POAS Data Feed: sends the profit of each purchase to your ad platforms instead of revenue.
- COD Order Protection: cash-on-delivery orders reach your ad platforms only after you confirm them, with the original order time and click, so fake and returned orders never train your campaigns.
- Real-time Event Logs: see every request as it arrives.
- Event Analytics: charts for volume, events and trends.
Who is it for?
WooCommerce store owners and agencies who run ads on Google, Meta, TikTok or Microsoft and want accurate conversions without managing their own servers.
Requirements
- A TagLinc account (free plan available).
- WooCommerce, WordPress 6.0 or later, PHP 7.4 or later.
External services
This plugin connects to the following services. Nothing is sent until you paste a TagLinc connection key in the plugin’s settings.
TagLinc API (api.taglinc.com)
Used to check your connection key and read your container settings (tracking domain, plan, usage). Sent: your connection key and your site’s home URL. When: when you click Connect or Refresh now, and once a day after that.
Terms: https://taglinc.com/terms
Privacy policy: https://taglinc.com/privacy
Your TagLinc tracking domain (for example track.yourstore.com)
Your own server-side GTM container, hosted by TagLinc.
- In the visitor’s browser: your Google Tag Manager script is loaded from this domain on storefront pages, once you enter a web GTM container ID.
- From your server: a copy of each paid order and each refund is sent to it (Google Analytics 4 Measurement Protocol format), only if you enter a GA4 Measurement ID. Sent: order ID, value, currency, items, the buyer’s IP address and browser user agent, analytics cookie IDs saved at checkout, and, where consent allows, the buyer’s email, phone, name and address hashed with SHA-256. When: when an order becomes Processing or Completed, and when a refund is made.
Terms: https://taglinc.com/terms
Privacy policy: https://taglinc.com/privacy
Google Tag Manager (www.googletagmanager.com)
If your tracking domain is not ready yet, the GTM script is loaded from Google instead, in the visitor’s browser, with your GTM container ID.
Terms: https://marketingplatform.google.com/about/analytics/tag-manager/use-policy/
Privacy policy: https://policies.google.com/privacy