TagLinc for WooCommerce

Description

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

Installation

  1. Plugins Add New Plugin, search for “TagLinc”, Install Now, Activate.
  2. In the TagLinc dashboard, open your container and click “Create connection key” in the WooCommerce plugin box.
  3. TagLinc (in the WordPress admin menu), paste the key, Connect.

FAQ

Do I need a TagLinc account?

Yes. The plugin connects your store to a server-side Google Tag Manager container hosted by TagLinc (https://taglinc.com). A free plan is available, so you can try it without a card.

What is server-side tracking, and why do I need it?

Normally your tags run only in the visitor’s browser, where ad blockers, Safari’s cookie limits and closed payment tabs cause lost conversions. With server-side tracking, events go through your own server container first, on your own domain, and are then sent to GA4, Meta, Google Ads and other platforms. You get more complete data and more control over what each platform receives.

Do I need to know Google Tag Manager?

No for the basics. Create a connection key in your TagLinc dashboard, paste it in the plugin and you are connected. To build your own tags you use Google Tag Manager as usual, and TagLinc can set up ready-made GA4, Meta and Google Ads tags for you.

Which platforms can I send data to?

Any platform your server GTM container supports, including Google Analytics 4, Google Ads, Meta Conversions API, TikTok and Microsoft Ads. The plugin sends standard GA4 ecommerce events, which the server container forwards to each platform.

Are purchases tracked if the buyer never returns from the payment page?

Yes. When an order becomes Processing or Completed, the plugin sends a copy of the purchase from your server, so it is counted even if the buyer closes the tab on PayPal, Stripe or any other payment page. Each order is counted once, with the same event ID as the browser purchase.

Does it work with my cookie banner and GDPR?

Yes. It supports Google Consent Mode v2 and works with Complianz, CookieYes, Cookiebot, Borlabs Cookie, Real Cookie Banner, iubenda and other common consent plugins: TagLinc leaves the consent defaults to your banner and loads Tag Manager after it. Buyer details are only added, hashed with SHA-256, where consent allows.

Does it work with GTM4WP?

Yes. When GTM4WP is active, TagLinc does not add a second GTM snippet and shows a notice instead. You do not need GTM4WP: TagLinc has its own GA4 ecommerce data layer.

Does it support block checkout and HPOS?

Yes. It works with classic themes, AJAX add-to-cart buttons and the WooCommerce Cart and Checkout blocks, and it is compatible with High-Performance Order Storage (HPOS).

Will it slow down my store?

No. The plugin adds a small data layer script and loads Google Tag Manager as usual, from your own domain. Server copies of orders are sent in the background and do not delay checkout.

What happens if I uninstall the plugin?

Tracking stops and the plugin removes its settings from your database. Your TagLinc container and its data stay in your TagLinc account until you delete them there.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“TagLinc for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.9.5

  • More answers in the FAQ. No code changes.

0.9.4

  • New plugin description: features and the full Power-Ups list. No code changes.

0.9.3

  • Plugin page on WordPress.org: icon and banner. No code changes.

0.9.2

  • Works with your cookie banner: when Complianz, CookieYes, Cookiebot, Borlabs Cookie, Real Cookie Banner, iubenda or another common consent plugin is active, TagLinc leaves the Consent Mode defaults to it and loads GTM after it, so a visitor who declined is never tracked before their choice applies.

0.9.1

  • Cookie Keeper without any extra setup: when the Power-Up is on in your TagLinc container, the plugin serves /tl-cookie on your own domain and keeps _ga, _fbp and your other chosen cookies alive for up to 400 days in Safari.

0.9.0

  • Taglinko is now TagLinc (taglinc.com). Settings from the Taglinko plugin are copied over the first time this plugin runs; deactivate and delete the old Taglinko plugin after.

0.8.1

  • Fix: Consent Mode defaults are now granted for every visitor. The EEA/UK/Swiss “denied until the visitor agrees” default is a separate opt-in setting: through the tracking domain Google cannot see the visitor’s country, so it applied to every visitor.

0.8.0

  • Every storefront event now carries an event_id, so a browser Meta Pixel and the server Conversions API count each event once.

0.7.3

  • The purchase event now includes payment_type (the WooCommerce payment method).
  • Fix: with the COD Power-Up on, cash-on-delivery purchases are sent again (with payment_type cod, so Tag Manager can hold them) instead of being skipped.

0.7.2

  • Tested with WordPress 7.1 and WooCommerce 11.3.
  • Readme: external services, FAQ.

0.7.1

  • Fix: connect to the API at the right address.

0.7.0

  • Refunds (full and partial) sent to GA4 from your server.

0.6.0

  • Server copy of every paid order (GA4 Measurement Protocol to your tracking domain), retried if it fails.

0.5.0

  • begin_checkout, add_shipping_info, add_payment_info and purchase (event_id purchase_, once per order, hashed buyer data).

0.4.0

  • add_to_cart, remove_from_cart and view_cart for any theme, AJAX buttons and the cart/checkout blocks.

0.3.0

  • Own GA4 ecommerce data layer: view_item, view_item_list, search, view_search_results (no GTM4WP needed).

0.2.1

  • TagLinc has its own item in the admin menu, with the TagLinc icon.

0.2.0

  • Loads your web GTM container from the tracking domain, with Google Consent Mode v2 defaults.
  • Warns and steps aside when GTM4WP is active.

0.1.0

  • Connection key, status box, daily sync.