Skip to content

vizuh/click-trail-handler

Repository files navigation

ClickTrail

Keep campaign context attached to WooCommerce orders, WordPress forms, and event flows across cached pages, dynamic forms, cross-domain journeys, repeat visits, and consent-aware sites.

Vizuh logo

Read in English
Leia em Portugues (Brasil)
Contributor Guide
Guia de Contribuicao
Technical Docs
WordPress Readme

What ClickTrail Solves

  • WooCommerce orders lose campaign context before revenue is reported.
  • UTMs and click IDs disappear after the landing page.
  • Cached or dynamic forms submit without attribution.
  • Cross-domain flows reset the source trail.
  • Teams need consent-aware capture and optional server-side delivery in one plugin.

ClickTrail is designed to keep first-touch and last-touch context alive until the point where WordPress actually needs it: WooCommerce orders, form submissions, browser events, and optional downstream delivery.

Core Capabilities

  • Capture: first-touch and last-touch attribution, referrers, classic and extended UTMs, click IDs, browser identifiers, retention, and cross-domain continuity.
  • WooCommerce: order attribution, enriched purchase payloads, thank-you page purchase pushes, optional list-view and cart storefront events, richer Woo dataLayer support, and post-purchase milestones.
  • Forms: automatic hidden-field enrichment for Contact Form 7 and Fluent Forms, compatible hidden-field population for Gravity Forms and WPForms, cached-page fallback, dynamic-content support, and WhatsApp continuity.
  • Events: browser collection, dataLayer pushes, sGTM compatibility mode, webhook intake, lifecycle updates, and optional Woo storefront signals.
  • Delivery: optional server-side transport, retries, diagnostics, conflict scanning, backup/restore, and consent-aware dispatch.

Latest Release: 1.5.2

This maintenance release cleans up coding-standards noise and packaging consistency without changing runtime behavior.

  • Mixed line endings were normalized in the consent, attribution-token, and privacy handlers.
  • Remaining PHPCS findings in those handlers were resolved or documented where the behavior is intentional.
  • Runtime behavior is unchanged from 1.5.1.
  • Full release notes are available in changelog.txt and the public WordPress listing in readme.txt.

Documentation By Audience

Repository Map

Contributor Quick Start

  1. Read CONTRIBUTING.md.
  2. Use docs/README.md to find the canonical doc for the area you will change.
  3. Keep product docs, technical docs, and changelog entries aligned with the implementation.

Requirements

  • WordPress 6.5+
  • PHP 8.1+

License

GPL-2.0-or-later. See LICENSE.

About

Keep attribution attached to forms, WooCommerce orders, and event flows across cached pages, dynamic forms, cross-domain journeys, and consent-aware sites.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors