fromholdio / silverstripe-superlinker-redirection-utm
Adds UTM tracking parameters to Silverstripe Superlinker Redirection targets
Package info
github.com/fromholdio/silverstripe-superlinker-redirection-utm
Type:silverstripe-vendormodule
pkg:composer/fromholdio/silverstripe-superlinker-redirection-utm
Requires
- fromholdio/silverstripe-superlinker-redirection: ^3 || ^4
- unclecheese/display-logic: ^3 || ^4
This package is auto-updated.
Last update: 2026-05-05 01:51:38 UTC
README
Adds optional UTM tracking parameters to sitetree and file targets in fromholdio/silverstripe-superlinker-redirection.
Requirements
- Silverstripe CMS 5.2 or 6
fromholdio/silverstripe-superlinker-redirection3 or 4
Installation
composer require fromholdio/silverstripe-superlinker-redirection-utm
Run dev/build after installation so the UTM fields are added to redirection records.
Usage
The module adds a "UTM tracking parameters" field group to redirection links whose target type is "Page on this website" or "Download a file". Entered values are appended to the generated destination URL as:
utm_sourceutm_mediumutm_campaign
Values are trimmed and spaces are converted to underscores before being stored. Query parameter values are encoded before being appended to the URL.
Configuration
UTM fields and URL output are enabled by default. To disable them:
Fromholdio\SuperLinkerRedirection\Model\RedirectionSuperLink: enable_utm_parameters: false