Skip to content

Use Donate Form custom event for donate_form_variant tracking#376

Merged
mohanadft merged 1 commit intomainfrom
fix/donate-plausible-custom-event-v2
Mar 4, 2026
Merged

Use Donate Form custom event for donate_form_variant tracking#376
mohanadft merged 1 commit intomainfrom
fix/donate-plausible-custom-event-v2

Conversation

@mohanadft
Copy link
Collaborator

Switches donate.astro and donate-2.astro from firing a second pageview event to a Donate Form custom event for variant tracking. This eliminates the (none) entries caused by Plausible auto-firing a pageview alongside the manual one.

Plausible setup required

Add a new Custom Event goal in Plausible named Donate Form (no custom property filter needed — just the event name). The donate_form_variant breakdown will appear automatically when viewing the goal.

@cloudflare-workers-and-pages
Copy link

Deploying website with  Cloudflare Pages  Cloudflare Pages

Latest commit: e56aec3
Status: ✅  Deploy successful!
Preview URL: https://9f16ec0e.website-aun.pages.dev
Branch Preview URL: https://fix-donate-plausible-custom-80or.website-aun.pages.dev

View logs

@mohanadft mohanadft merged commit 74cd0a5 into main Mar 4, 2026
5 checks passed
@mohanadft mohanadft deleted the fix/donate-plausible-custom-event-v2 branch March 4, 2026 08:26
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