UTM auto-tagging for shared links #154
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Automatically append UTM tracking parameters to article URLs in cross-posted content. Every major SaaS tool (Hootsuite, Sprout Social) offers this. No Joomla competitor does.
Implementation
Add UTM parameters to the
{url}placeholder inCrossPostDispatcher::buildArticleMeta():Configuration
Component config fields:
utm_enabled(Yes/No, default No)utm_source(default:{platform}-- auto-replaced with service type)utm_medium(default:social)utm_campaign(default:mokosuitecross)utm_content(optional, default empty)Template Placeholders
{url}-- already exists, would get UTM params appended when enabled{url_raw}-- new placeholder for URL without UTM paramsAcceptance Criteria
{platform}token resolved in UTM values{url}when enabled{url_raw}placeholder for clean URLs&in URLs handled correctlyImplemented in commit
7e5ff12. UTM config fieldset added to config.xml with utm_source (default{platform}), utm_medium, utm_campaign, utm_content.{platform}token resolved per-service inrenderTemplate().{url_raw}placeholder added for clean URLs. UTM params appended inbuildArticleMeta()viahttp_build_query().