Skip to content

Fix booking CTA attribution and preserve interrupted checkout identity - #73

Merged
ChristFollower873461 merged 1 commit into
mainfrom
codex/website-booking-attribution-20260927
Sep 27, 2026
Merged

ChristFollower873461 merged 1 commit into
mainfrom
codex/website-booking-attribution-20260927

Conversation

@ChristFollower873461

Copy link
Copy Markdown
Owner

Booking links such as the Contact sidebar lose their page/button labels or inherit an earlier visit's labels. Validate each route and CTA as one approved pair in the browser and server, covering all 31 combinations currently emitted by public pages. Explicit invalid or partial URL values clear stale attribution; visits without those parameters retain only a valid saved pair. Existing campaign URL limits remain unchanged.

Keep an interrupted checkout's original body, key, and measurement. Since measurement participates in the stored request fingerprint, eligible existing records can match the complete original request under the previous normalization rules. New records carry a server-owned normalization version and cannot use that compatibility path. Changed contact, intake, consent, amount, or meaningful attribution still cannot reuse an accepted checkout identity.

Validation: offline regressions cover emitted links, stale/invalid storage, cross-page browser retries, legacy full-request matching, and new-record conflict protection. The full repository suite passes 548 tests, required source/public-truth/migration/preview checks pass, and the local D1 recovery case resumes the original booking/Session with unchanged Stripe body/key/version and one synthetic Session total. No live checkout or payment is used for validation.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying aissisted-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: d873cd7
Status: ✅  Deploy successful!
Preview URL: https://9cad8606.aissisted-website.pages.dev
Branch Preview URL: https://codex-website-booking-attrib.aissisted-website.pages.dev

View logs

@ChristFollower873461
ChristFollower873461 merged commit 0eb584b into main Sep 27, 2026
5 checks passed
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