WebmasterID logoWebmasterID
Event tracking

Custom events: tracking what matters to you

Custom events capture meaningful actions a pageview cannot — a CTA click, a signup, a video play, a form submit. The value is in a consistent naming taxonomy and well-chosen properties. The risk is putting personal data into event names or properties, which turns analytics into surveillance. This page covers both.

Verified against primary sources

What this means

A custom event is any action you choose to record beyond a pageview: cta_click, form_submit, signup, purchase, video_play. Each can carry properties (which CTA, which form) that give the action context.

Naming and safety

Pick one naming convention — lowercase, underscore- or hyphen-separated — and document the allowed event names so different people produce the same ones. Keep properties generic and non-identifying: a CTA id, not a user id. Anything that could identify a person does not belong in an event.

How it appears in analytics and logs

A custom event tells you a specific action happened. Inconsistent names (signup vs sign_up) fragment the same action across rows; PII in properties is a compliance problem.

Diagnostic use case

Design a small, consistent set of custom events with stable names and non-identifying properties, so reports stay clean and privacy-safe.

What WebmasterID can help detect

WebmasterID supports tagged CTA and form events (data-wmid-cta, data-wmid-form) with stable, semantic ids — no PII — so custom events stay useful and safe.

Common mistakes

Privacy and accuracy notes

Custom event names and properties are stored and often visible in tooling — never encode names, emails, or IDs. WebmasterID rejects PII-shaped event attributes by convention.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.