Repository navigation
Website: carry a post's utm_* onto links into BuildCloud - #6061
Merged
Merged
Conversation
Posts link to the website with utm_* parameters, but the console, IDE, sign-up and pricing links on these pages went to cloud.codenameone.com without them, so those arrivals reached BuildCloud unattributed. The first tagged landing in the tab (24h, BuildCloud's first-touch window) is now added to every cloud.codenameone.com link, at load and again at click time for links whose href the page rewrites (the pricing toggle). Links that already carry utm_* keep their own. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shai-almog
marked this pull request as ready for review
October 20, 2026 11:17
Contributor
Cloudflare Preview
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Posts tagged with utm_* land on codenameone.com, but links from the site into cloud.codenameone.com dropped the parameters, so BuildCloud recorded those arrivals as unattributed. A small footer script keeps the tab's first tagged landing (24h, matching BuildCloud's first-touch window) and adds it to every cloud.codenameone.com link, at load and at click time (the pricing page rewrites its signup link). Verified in a local hugo build with Playwright: tagged landing, untagged second page, later tag not replacing the first, untagged visitor untouched, pricing signup click carries the tags.
π€ Generated with Claude Code