Skip to content
Sultan Kautsar

Founder & Engineer / Tracking Infrastructure

Measurement is a data system.

I approach tracking as infrastructure: define what an event means, control how it moves, verify what each destination receives, and keep the full path possible to debug.

Tracking is a specialized part of a broader engineering practice, connecting product behavior, application data, delivery systems, and downstream tools.

Measurement propertiesTRK / 01
01

Defined

Events have explicit meaning and ownership.

02

Controlled

Collection and delivery follow known rules.

03

Observable

Failures and transformations can be traced.

04

Useful

Destination data answers a defined question.

Data flow / 01

One event, explicit boundaries from source to destination.

Reliability depends on understanding every handoff. Each layer should have a defined input, transformation, output, and way to inspect failure.

Responsive measurement pipelineBehavior to usable data
  1. 01Observed action

    Source

    Web, application, service, or transaction behavior.

  2. 02Defined meaning

    Event contract

    Named event, trigger, typed properties, identity, and consent state.

  3. 03Collection layer

    GTM

    Data layer intake, client checks, tags, and controlled transport.

  4. 04Server boundary

    Server-side GTM

    Validation, normalization, enrichment, routing, and delivery control.

  5. 05Purpose-built data

    Destinations

    GA4, attribution endpoints, and operational integrations.

Consent and identity rules travel with the event path; they are not repaired after delivery.

Event design / 02

Data quality starts before the first tag fires.

An event model is a contract between product behavior and every system that consumes its data. Clear semantics prevent each destination from developing a different version of the truth.

  1. 01

    Name the behavior

    Events describe a completed product or system behavior. Names should remain meaningful even when the interface or implementation changes.

  2. 02

    Define the trigger

    The specification identifies exactly when an event is emitted, how duplicates are prevented, and which source owns the truth.

  3. 03

    Type the properties

    Required and optional parameters, formats, allowed values, and identifiers are explicit rather than inferred downstream.

  4. 04

    Attach context deliberately

    Identity, session, campaign, consent, and environment context are included only where their meaning and handling are understood.

Delivery / 03

GTM collects. The server boundary governs delivery.

Client and server containers have different responsibilities. Keeping those responsibilities explicit makes transformations easier to reason about and failures easier to locate.

Client boundary

Google Tag Manager

GTM connects the application data layer to collection logic. Variables, triggers, and tags should implement an existing event contract, not become the place where meaning is invented.

  • Read structured application state
  • Enforce trigger and consent conditions
  • Inspect payloads before transport

Server boundary

Server-side GTM

Server-side GTM provides a controlled delivery boundary where requests can be verified, normalized, enriched from trusted context, and routed to defined destinations.

  • Validate incoming event shape
  • Control destination-specific mapping
  • Expose delivery and rejection paths

Destinations / 04

A shared event model, translated for different systems.

Destinations need different schemas and identifiers. Those mappings should be deliberate without allowing tool-specific requirements to redefine source behavior.

01

GA4

Map the event model into GA4 with deliberate parameters, identity handling, and configuration so reports reflect the intended product behavior.

Events / Parameters / Identity / Configuration

02

Attribution

Preserve the identifiers and source context required to connect an observed outcome to its acquisition path without treating attribution as perfect certainty.

Source context / Identifiers / Conversion delivery

03

Integrations

Translate one governed event into destination-specific payloads while keeping transport concerns separate from the event's core meaning.

Mapping / APIs / Routing / Failure handling

Data quality / 05

Debug the path, not only the final report.

When data differs from expectation, the useful question is where meaning, payload, or delivery changed. Debugging follows the same boundaries as the architecture.

  1. 01

    Reproduce

    Start from a known user or system action and record the expected event.

  2. 02

    Inspect

    Check the data layer, browser request, and consent state at the source.

  3. 03

    Trace

    Follow the request through client and server containers, transformations, and routing.

  4. 04

    Reconcile

    Confirm destination acceptance and explain differences without hiding them.

Collaboration / 06

Make the measurement path understandable.

For event architecture, GTM and server-side GTM, GA4, attribution integrations, or data quality investigation.