Skip to content

Website: carry a post's utm_* onto links into BuildCloud - #6061

Merged
shai-almog merged 1 commit into
masterfrom
feature/website-forward-utm
Oct 20, 2026
Merged

shai-almog merged 1 commit into
masterfrom
feature/website-forward-utm

Conversation

@shai-almog

Copy link
Copy Markdown
Collaborator

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

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
shai-almog marked this pull request as ready for review October 20, 2026 11:17
@github-actions

Copy link
Copy Markdown
Contributor

Cloudflare Preview

@shai-almog
shai-almog merged commit efc0bd1 into master Oct 20, 2026
@shai-almog
shai-almog deleted the feature/website-forward-utm branch October 20, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant