Skip to content

feat: add organizer tracking pixels with cookie consent#1166

Open
daveearley wants to merge 3 commits intodevelopfrom
feat/tracking-pixels
Open

feat: add organizer tracking pixels with cookie consent#1166
daveearley wants to merge 3 commits intodevelopfrom
feat/tracking-pixels

Conversation

@daveearley
Copy link
Copy Markdown
Contributor

Allow organizers to configure tracking pixels (Facebook Pixel, Google Analytics 4, Google Tag Manager, TikTok Pixel) for their public event pages, organizer homepage, and checkout flow. Pixels are gated behind a cookie consent banner that respects GDPR requirements.

  • Backend: migration, enum, DTO, validation with provider-specific format rules, public resource strips sensitive fields
  • Frontend: plugin architecture with 4 providers, consent manager with Google Consent Mode v2, cookie consent banner component
  • Settings UI: fixed provider cards with icons, enable/disable toggles, format validation, GDPR acknowledgment
  • Funnel events: PageView, ViewContent, InitiateCheckout, Purchase with transaction_id for GA4 deduplication
  • Purchase event deduplication via sessionStorage
  • Env vars: VITE_COOKIE_CONSENT_ENABLED, VITE_COOKIE_CONSENT_TEXT

Allow organizers to configure tracking pixels (Facebook Pixel, Google
Analytics 4, Google Tag Manager, TikTok Pixel) for their public event
pages, organizer homepage, and checkout flow. Pixels are gated behind
a cookie consent banner that respects GDPR requirements.

- Backend: migration, enum, DTO, validation with provider-specific
  format rules, public resource strips sensitive fields
- Frontend: plugin architecture with 4 providers, consent manager
  with Google Consent Mode v2, cookie consent banner component
- Settings UI: fixed provider cards with icons, enable/disable
  toggles, format validation, GDPR acknowledgment
- Funnel events: PageView, ViewContent, InitiateCheckout, Purchase
  with transaction_id for GA4 deduplication
- Purchase event deduplication via sessionStorage
- Env vars: VITE_COOKIE_CONSENT_ENABLED, VITE_COOKIE_CONSENT_TEXT

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@railway-app
Copy link
Copy Markdown

railway-app bot commented Apr 15, 2026

🚅 Deployed to the Hi.Events-pr-1166 environment in Hi.Events

Service Status Web Updated (UTC)
Hi.Events API ◻️ Removed (View Logs) Web Apr 15, 2026 at 8:49 pm
Hi.Events Frontend ◻️ Removed (View Logs) Web Apr 15, 2026 at 8:49 pm
1 service not affected by this PR
  • Maildev

@railway-app railway-app bot temporarily deployed to Hi.Events / Hi.Events-pr-1166 April 15, 2026 20:27 Destroyed
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant