Skip to content

Add GA4 cta_click event tracking and Write the Docs announcement banner#274

Merged
InlinePizza merged 4 commits intomainfrom
analytics
Feb 27, 2026
Merged

Add GA4 cta_click event tracking and Write the Docs announcement banner#274
InlinePizza merged 4 commits intomainfrom
analytics

Conversation

@InlinePizza
Copy link
Contributor

Add structured GA4 event tracking to all CTAs using data-track-* attributes and a global delegated click listener (AnalyticsClickTracker). Add a dismissable announcement banner for the Write the Docs pre-conference campaign with localStorage persistence.

Add structured GA4 event tracking to all CTAs using data-track-* attributes
and a global delegated click listener (AnalyticsClickTracker). Add a
dismissable announcement banner for the Write the Docs pre-conference
campaign with localStorage persistence.
@vercel
Copy link

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
promptless-docs Ready Ready Preview, Comment Feb 26, 2026 10:44pm

Request Review

@prithvi2206
Copy link
Contributor

@InlinePizza the banner looks kinda gross—want to iterate on the UI or want some help?

@InlinePizza
Copy link
Contributor Author

i should just split the banner thing out into separate PR. Both got in because I was trying to figure out what the design of events and custom dimensions in GA should be to support the time limited call to actions. I'm trying out hand written arrows pointing to the book demo buttom.

image

InlinePizza and others added 2 commits February 26, 2026 13:10
Replace the top-of-page AnnouncementBanner with an inline hero callout
featuring a hand-drawn SVG arrow. Reuses the same localStorage dismiss
key and data-track-* attributes. Adds Caveat font preconnect for the
callout styling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@InlinePizza InlinePizza merged commit 76849aa into main Feb 27, 2026
3 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.

2 participants