Linux 软件免费装
Banner图

ClickTrail – UTM, Click ID & Ad Tracking (with Consent)

开发者 hugoc
更新时间 2026年10月24日 00:16
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce utm attribution consent mode server-side tracking

下载

1.8.14 1.2.0 1.8.4 1.4.0 1.5.0 1.5.1 1.3.0 1.3.7 1.5.2 1.8.2 1.8.5 1.8.6 1.3.1 1.8.16 1.1.0 1.10.0 1.2.1 1.2.2 1.3.9 1.8.13 1.8.17 1.8.7 1.9.1 1.10.2 1.10.3 1.3.8 1.8.12 1.8.15 1.8.3 1.8.8 1.1.1 1.10.5 1.7.0 1.10.1 1.10.4 1.11.0 1.2.3

详情介绍:

Someone clicks your ad. Three pages later, they send a form or place an order. By then the campaign is usually gone, and the lead looks like it came from nowhere. ClickTrail keeps what the visitor arrived with: the UTMs, the ad click ID, the referrer. It carries that context to the form entry or the WooCommerce order, and to a Calendly booking. You open the record and see where it came from. ClickTrail records what arrived. It does not decide what caused the sale. Start here Pick the path that matches your site. Then place one test order or send one test form, and look at what was stored. The use-case guide and tutorials walk through each path. What it does ClickTrail only acts on the paths you turn on and set up in its settings. That is what "configured" means everywhere in this readme. Consent and privacy When consent is required, nothing is stored until the visitor agrees. ClickTrail listens to its own banner, Cookiebot, OneTrust, Complianz, GTM, or a custom source, or detects the source for you. ClickTrail follows Cookiebot and Complianz decisions, including changes the visitor makes on the page. On withdrawal, ClickTrail clears its storage and removes the parameters it added to links. Queued deliveries check current consent again right before they are sent, and the consent decision stays in sync across tabs. Consent behavior can be strict, relaxed, or geo-based. ClickTrail helps you implement consent; compliance still depends on your legal requirements and your settings. What it does not do Having code for an integration is not proof that it works in production. Current status lives in the integration reference and the machine-readable ledger. The release-phasing plan shows what gets checked next. Supported click IDs Integrations

安装:

Before you configure anything ClickTrail can be rolled out in layers. A basic attribution setup for forms or WooCommerce does not require server-side delivery on day one. Recommended first setup
  1. Install the plugin through WordPress or upload it to /wp-content/plugins/click-trail-handler/.
  2. Activate the plugin.
  3. Open ClickTrail > Settings.
  4. In Capture:
  5. keep attribution enabled
  6. choose a retention window that matches your sales cycle
  7. enable cross-domain continuity only if visitors move between approved domains or subdomains
  8. In Forms:
  9. enable only the integrations you actually use
  10. for Contact Form 7 and Fluent Forms, ClickTrail can add attribution hidden fields automatically
  11. for Gravity Forms and WPForms, add the matching ct_* hidden fields you want to preserve, such as ct_ft_source, ct_lt_source, or ct_gclid (latest click; use ct_ft_gclid or ct_lt_gclid to pin a touch)
  12. In Events:
  13. leave browser events enabled only if you want dataLayer pushes and on-site event capture
  14. enable WooCommerce storefront events only if you want view_item, view_item_list, view_cart, add_to_cart, remove_from_cart, and begin_checkout in the browser event layer
  15. enable the richer Woo dataLayer contract only if you want event_id and consent-aware user_data for GTM-first flows
  16. add a GTM container ID only if your site does not already inject GTM somewhere else
  17. switch GTM to sGTM compatibility mode when you want a tagging-server URL, first-party script delivery, or a custom loader path, then run the preview checks before rollout
  18. In Delivery:
  19. leave server-side delivery off if you do not have a collector, sGTM, or advertising endpoint yet
  20. if you do use server-side delivery, configure the adapter, endpoint, and timeout here
  21. if consent is required, choose the correct consent source and mode before going live
  22. Open ClickTrail > Diagnostics and run the relevant checks, especially Endpoint Test, Conflict Scan, and Woo Order Trace Lookup when applicable.
How to verify your setup
  1. Visit your site with a test URL such as ?utm_source=test&utm_medium=cpc&utm_campaign=clicktrail-install-check.
  2. Browse to another page, then place a test WooCommerce order or submit a configured form.
  3. Confirm the expected result:
  4. the WooCommerce order or form entry contains attribution values
  5. Woo purchase events appear in your GTM preview or dataLayer
  6. if Woo storefront events are enabled, view_item, view_item_list, view_cart, add_to_cart, remove_from_cart, and begin_checkout appear in GTM preview or the dataLayer
  7. if sGTM mode is enabled, the Events-tab preview checks reach the configured loader or collector URLs
  8. Diagnostics and Logs show intake or delivery activity if Delivery is enabled
Good default rollout Start with Capture plus the forms or WooCommerce integrations you already use. Add Events next if you want browser analytics signals. Add Delivery only when you are ready to send data to a collector or advertising endpoint.

屏幕截图:

  • Forms: client-side capture for cached and dynamic pages, WhatsApp, and external form sources.
  • Events: browser event collection and Google Tag Manager loading options.
  • Delivery: optional server-side transport and privacy and consent controls.
  • Diagnostics: queue, dispatch, and error status with endpoint test and conflict scan.

常见问题:

Where does WooCommerce attribution appear?

ClickTrail stores attribution on the WooCommerce order. The plugin also adds Woo attribution views inside the Woo admin experience where supported, and purchase events carry the same campaign context into the dataLayer and optional server-side delivery.

Does ClickTrail support WooCommerce HPOS?

ClickTrail now declares compatibility with WooCommerce custom order tables (HPOS) and keeps WooCommerce runtime storage on Woo order APIs for order attribution and purchase tracking.

What do the WooCommerce storefront events do?

When you enable WooCommerce storefront events in the Events tab, ClickTrail emits view_item, view_item_list, view_cart, add_to_cart, remove_from_cart, and begin_checkout through the same browser event layer used for other ClickTrail events. They are off by default on upgrades.

What does sGTM mode change?

sGTM mode changes how ClickTrail loads the GTM container and how the Events tab validates a GTM-first rollout. You can configure a tagging-server URL, first-party script delivery, or a custom loader path, then run preview checks before switching Delivery to the sGTM adapter when needed.

Does ClickTrail replace GA4 or GTM?

No. ClickTrail complements them. It preserves attribution inside WordPress, pushes event data to the dataLayer, and can optionally deliver events through its server-side pipeline.

Does it work only with WooCommerce?

No. WooCommerce is one documented conversion surface; ClickTrail also has lead-form, webhook-ingress, and broader WordPress attribution paths.

What happens if my site uses aggressive caching?

ClickTrail includes a client-side fallback and dynamic-content support so attribution can still reach supported form fields when server-rendered fields are not enough.

Do I need to add hidden fields to every form?

No. Contact Form 7 and Fluent Forms can receive attribution hidden fields automatically. Gravity Forms and WPForms work best when you add the matching ct_* hidden fields you want stored or exported. Elementor Forms (Pro) and Ninja Forms use their submission hooks and stored attribution paths rather than automatic hidden-field injection.

Can I use it without server-side delivery?

Yes. Attribution capture, WooCommerce order attribution, purchase event pushes, and form enrichment all work without enabling server-side delivery.

Is consent mode required?

Consent mode is optional in configuration. When enabled, ClickTrail applies the configured behavior; the current audit found a legacy require_consent mismatch when mode is disabled, so optional mode is not a compliance or delivery guarantee until the next runtime release passes its tests.

Can I keep using my existing consent platform?

Yes. ClickTrail can listen to its own banner, Cookiebot, OneTrust, Complianz, GTM, or a custom source. You do not need to replace an existing CMP just to use the plugin.

更新日志:

The entries below are historical release notes. They do not replace the current source/evidence status in docs/reference/INTEGRATIONS.md and docs/guides/SECURITY-PRIVACY.md; earlier claims may describe intended behavior that still requires current runtime verification. In particular, older wording that calls platform-named server paths “first-class native delivery adapters” predates the current evidence classification: those paths are configured-endpoint relays whose provider authentication, acceptance, and runtime delivery remain unverified. 1.11.0 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.1 1.9.0 1.8.19 1.8.18 1.8.17 1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.8 1.8.7 1.8.6 1.8.5 1.7.2 1.7.1 1.7.0 1.6.0 1.5.2 1.5.1 1.5.0 1.3.9 1.3.8 1.3.7 1.3.6 1.3.5