Skip to content

Add event-specific UTM tracking to sponsor links - #87

Merged
jfversluis merged 2 commits into
mainfrom
tonyedwardspz-sponsor-link-tracking
Oct 25, 2026
Merged

jfversluis merged 2 commits into
mainfrom
tonyedwardspz-sponsor-link-tracking

Conversation

@tonyedwardspz

Copy link
Copy Markdown
Contributor

Summary

  • Add UTM tracking to sponsor and supporter links on current and archived event pages: utm_source=maui-day, utm_medium=website, utm_campaign=<event-id>, and utm_content=sponsor-section.
  • Define event IDs for named conference configs and reuse existing archive IDs.
  • Preserve existing destination query parameters and fragments; return the original URL unchanged when an event ID is missing or blank.
  • Document tracking behavior and add focused regression tests.

Validation

  • node --experimental-strip-types --test tests/sponsor-url.test.mjs (6 passing tests)
  • npm run build
  • Verified 72 rendered sponsor/supporter links across 14 event pages against the expected tracking parameters.

@jfversluis
jfversluis merged commit c44c30f into main Oct 25, 2026
2 checks passed
@jfversluis
jfversluis deleted the tonyedwardspz-sponsor-link-tracking branch October 25, 2026 15:10
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.

2 participants