Drupal is a registered trademark of Dries Buytaert

link_param_propagator

16 sites No security coverage
View on drupal.org

Automatically carries UTM and other query parameters across your site’s links for reliable campaign attribution and cleaner analytics no code needed. Configure multiple rules by selector.

Introduction
Link Param Propagator appends selected query parameters (e.g., utm_source, utm_medium, ref) to links as visitors browse your site. This preserves campaign data across internal navigation, improving marketing attribution and analytics accuracy. Editors manage everything from a simple configuration page.

Features

  • Rule-based propagation: Create multiple rules, each with its own parameter list and CSS target selector (e.g., #main-content, .promo).
  • Non-invasive: Stored content is untouched; parameters are appended client-side at render time.
  • Editor-friendly UI: Add, rename (label), or delete rules with AJAX controls.
  • Selective scope: Apply parameters only within chosen DOM regions to avoid over-tagging.
  • Broad use cases: Marketing UTMs, partner/referral IDs, form flows, donation funnels, and checkout journeys.

When and why to use

Use this module whenever incoming URLs include tracking data you need to keep throughout the user journey especially from campaign landing pages to conversions. It ensures consistent attribution without manually editing every link.

Post-Installation

  1. Go to Configuration → System → Link Param Tracking.
  2. Click Add another rule, give it a Rule Label, enter comma‑separated Tracking Parameters, and set a Target DOM Selector.
  3. Optionally add multiple rules for different sections/blocks.
  4. Save configuration. The module appends matching params to links inside the selected DOM elements.

No new content types or text format changes are required. The module uses a small JS behavior and drupalSettings.

Additional Requirements

  • No extra modules required beyond Drupal core.
  • Visitors must have JavaScript enabled.

Supporting this Module

Found it helpful? Support by filing issues, sharing use cases, or contributing patches

Activity

Total releases
2
First release
Aug 2025
Latest release
6 months ago
Release cadence
1 day
Stability
100% stable

Releases

Version Type Release date
1.0.1 Stable Aug 10, 2025
1.0.0 Stable Aug 9, 2025