WebmasterID logoWebmasterID
Event tracking

The login event

login is a GA4 recommended event that fires when a returning user authenticates into an account. It carries a method parameter naming how they signed in. It measures engagement of existing users and, paired with sign_up, distinguishes new registrations from returning authentications — but it must never record credentials.

Verified against primary sources

What this means

login is a GA4 recommended event fired when a returning user signs in. Its `method` parameter names the authentication option used. GA4 reports it as a standard event, useful for understanding how often your existing users return and authenticate.

It is the recurring counterpart to sign_up: the same person can fire login many times but should fire sign_up only once.

Login as an engagement signal

Login frequency is a proxy for active engagement of registered users. A sudden fall in logins can mean a broken authentication flow, expired sessions, or a cookie/consent change logging people out. Keep login and sign_up distinct so neither metric is inflated. As with all auth events, capture only the method — never credentials, tokens, or session identifiers.

How it appears in analytics and logs

A login event means an existing user authenticated. A drop in logins among an active base can signal session/cookie problems or friction in the sign-in flow.

Diagnostic use case

Track returning-user authentication to gauge logged-in engagement and compare which sign-in methods people use.

What WebmasterID can help detect

WebmasterID can record login events first-party with the method label, so authenticated engagement is measurable without storing credentials.

Common mistakes

Privacy and accuracy notes

login should record that an authentication happened and the method, never the username, password, or token. This is educational, not legal advice.

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.