Comprehensive UTM tags documentation (backport of #712 to 5.2) - #924
promptless-for-oss wants to merge 4 commits into
Conversation
to 5.2) Replicates user-documentation PR mautic#712 onto the 5.2 branch: adds an 8-page UTM Tags section under docs/utm_tags/, removes the old docs/channels/utm_tags.rst, repoints its two inbound :doc: links, adds the UTM Tags toctree caption, and adds CPC/DWC to the Vale vocabulary. The overview page's screenshot directive points to add_ga_code.png, the Google Analytics ID image present on the 5.2 branch.
| @@ -0,0 +1,166 @@ | |||
| UTM tags overview | |||
There was a problem hiding this comment.
All 8 UTM Tags pages on this branch are a verbatim backport of already-reviewed content from user-documentation PR #712 (base 7.0). Product-behavior claims are inherited from that PR's review; the Mautic app source is not in this docs repo. Backport adaptations for 5.2: the overview page's screenshot directive points to add_ga_code.png (the image present on 5.2). Objective RST-defect fixes applied: flattened a nested .. note:: in utm_tags_landing_pages.rst, corrected a malformed utm_content literal in utm_tags_segment_filters.rst, and lowercased utm_medium=email inside example-URL code blocks.
Source: #712
|
I noticed that some CI checks failed for this PR. I'm investigating whether the failures are caused by this suggestion. If they're unrelated or pre-existing, I'll leave this suggestion unchanged and create a separate suggestion if a standalone docs fix is needed. |
Same sync as the 7.0 follow-up, at adiati98's request: - Add 'UTM tags recorded' timeline screenshot (replaces TODO marker) - Record UTM Tags action-label casing; host swap to example.com - referrer/User_agent -> referer/user_agent; intro grammar; DWC-scope line - 'links in the Email'; bold Yes/No condition paths; terminal period; 'edit its details' GA-ID screenshot on this branch retained as add_ga_code.png (5.2 asset). Vale clean on changed lines.
Follow the actual Campaign Builder UI, which distinguishes the Contact field value condition node's two outputs by green and red connectors rather than 'Yes'/'No' text. Matches the existing green/red path convention in campaigns/campaign_builder.rst. Per maintainer review on mautic#712. (cherry picked from commit eb60fd8)
Open in Promptless
Backports the comprehensive UTM tags documentation from user-documentation PR #712 onto the 5.2 branch, at the maintainer's request. It replaces the single thin
docs/channels/utm_tags.rstpage with a dedicated eight-page UTM Tags section underdocs/utm_tags/— an overview plus per-feature guides for Landing Pages, Asset downloads, Forms, Emails, Dynamic Web Content, Campaign conditions, and Segment filters. The two inbound:doc:links (from Focus Items and Dynamic Web Content) are repointed to the new overview, the old page is removed, the UTM Tags toctree caption is added to the docs index, andCPC/DWCare added to the Vale vocabulary.Adapted for 5.2: the overview page's screenshot directive points to
add_ga_code.png, the Google Analytics ID image that exists on this branch (the 7.x branches use a differently named file).A few objective RST defects present in the source PR (a nested
.. note::, a malformed inline literal, and inconsistent casing inside example-URL code blocks) are corrected in this backport; a placeholder screenshot TODO in the Forms page is carried over as-is.Trigger Events
Synced from #712 code review (2026-08-14)
Applied maintainer @RCheesley's "Apply suggestions from code review" edits from #712 to keep this backport in step: swapped the placeholder example-URL host to
example.comindocs/utm_tags/utm_tags_forms.rstanddocs/utm_tags/utm_tags_landing_pages.rst(three sample URLs total). All three edits were applied verbatim. The third file changed on #712 (utm_tags_segment_filters.rst, an inline-literal typo fix onutm_content) needed no change here — that defect was already corrected in this backport, so it was a no-op.Synced with #712 current head + outstanding review nits (2026-09-07)
At @adiati98's request (cherry-pick #712's newest reviewed commit into the backports, plus apply the outstanding fixes), this backport is brought in step with #712's current head:
.. TODO: add screenshotmarker on the Forms UTM page is replaced with the 'UTM tags recorded' Contact timeline screenshot (docs/channels/images/utm_tags/utm_tags_recorded_timeline.png). (Supersedes the earlier "TODO carried over as-is" note.)Record UTM Tagsaction-label casing — matches the on-screen label (verified againstmautic/mauticLeadBundlemessages.ini):utm_tags_forms.rst,utm_tags_campaign_conditions.rst,utm_tags_overview.rsttable.yoursite.com/your-mautic.com→example.com(utm_tags_emails.rst,utm_tags_asset_downloads.rst).referrer→referer,User_agent→user_agent(utm_tags_overview.rstREST bullet).UTM tags - Urchin Tracking Module - areintro; DWC line narrowed to "tracked links in Dynamic Web Content"; emails "links in the Email"; terminal period on the DWC page.Branch-specific: the Google-Analytics-ID screenshot on this 5.2 branch stays
add_ga_code.png(the 7.x branches useadd_google_analytics_id.png); only the new timeline screenshot is added.Both items previously flagged for your call are now resolved per your reply on #712:
Yes/Nooutput-path references (intro, numbered step, and warning) inutm_tags_campaign_conditions.rstto the green/red path terminology the Campaign Builder UI actually uses (green = match, red = no match). Verified againstmautic/mauticapp/bundles/CampaignBundle/Assets/js/campaign.js: aContact field valuecondition node draws a green connector for the match path (--support-success-inverse) and a red connector for the no-match path (--support-error-inverse), with no literalYes/Notext — confirmed identical across 5.2, 6.0, 7.0, 7.1, and 7.2. Matches this repo's owncampaign_builder.rst("Green paths"/"Red paths").Open the … and edit its details:(dropped the stray "the"; kept the "its" wording).Vale is clean on all changed lines.