WebmasterID logoWebmasterID
Data quality

Server time vs client time

An event's timestamp can come from the client (the browser's clock at the moment of the action) or the server (when the collector received the hit). The two differ because of clock skew, network delay, and offline buffering, and the choice affects ordering, attribution windows, and which day an event lands on. This page contrasts the two clocks.

Verified against primary sources

What this means

Client-side timestamps reflect the device clock when the event occurred, which can be wrong if the user's clock is misconfigured. Server-side timestamps reflect when the collection endpoint received the request, which is consistent but lags the real action by network and buffering time.

GA4's Measurement Protocol lets callers supply a `timestamp_micros`; without it the server stamps arrival time, and large client/server gaps can be rejected or reassigned.

Why it matters

If a report uses client time, a single device with a wrong clock can scatter events across days. If it uses server time, offline or queued hits collapse onto their arrival moment rather than when they happened. Knowing which clock a metric uses prevents misreading ordering and daily totals.

How it appears in analytics and logs

Events that arrive out of sequence or on the wrong day often reflect client-vs-server timestamp differences — a wrong client clock or a delayed, buffered hit, not corrupted data.

Diagnostic use case

Decide which timestamp a report uses and account for skew when events appear out of order or land on an unexpected day.

What WebmasterID can help detect

WebmasterID applies a consistent server-side timestamp, so event ordering does not depend on the accuracy of each visitor's device clock.

Common mistakes

Privacy and accuracy notes

Timestamps are not personal data, though a precise client clock can be a fingerprinting input; collectors typically normalize to server time. WebmasterID timestamps server-side for consistency.

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.