CBCesar Baz
Insights Arquitectura de Adquisición
Arquitectura de Adquisición

Tracking and attribution:
the infrastructure nobody builds properly

Without clean conversion data the system cannot optimize — it can only spend. Meta Pixel + CAPI, enhanced conversions, GTM without redundancy: this is how the measurement foundation is built.

Cesar Baz·Mayo 2026·7 min

Badly configured tracking is worse than no tracking. Broken tracking produces data that looks valid — the dashboard shows numbers, conversions climb, the reports look fine — but the algorithm is optimizing toward a phantom. It is learning from data that doesn't represent what actually happened.

The result is a system that improves its own platform metrics while the real business deteriorates: low CPL with mediocre conversion, "conversions" that never appear in the CRM, high ROAS that never shows up in actual revenue.

Why platform tracking is not enough

The Meta Pixel, in its basic setup, depends on third-party storage and the browser's JavaScript. iOS 14+ restrictions, ad blockers and shortened attribution windows mean the Pixel sees only 50-70% of real conversions in many scenarios.

The algorithm optimizes on the data it receives. If it receives 60% of real conversions, it is deciding on incomplete information. Ad sets that produce more real conversions but sit on devices or in contexts where the Pixel loses signal look less efficient than they are. Budget shifts toward ad sets that "convert better" in the dashboard — which is not the same as converting better in reality.

The core principle: The quality of an acquisition system has a ceiling set by the quality of its tracking. You can optimise creative, audiences and budget indefinitely — if the tracking is poor, the system runs against an artificially low efficiency ceiling.

The correct tracking architecture

Layer 1 — Meta Pixel (client-side)
Browser-side signal for baseline coverage

The Pixel is still necessary because it captures behavioural signal in real time: PageView, ViewContent, InitiateCheckout. Not as the primary source of conversions — as complementary signal. Configure it through GTM for granular control over which events fire and when.

Layer 2 — Conversions API (server-side)
Server-side signal — the source of truth

CAPI sends conversion data straight from the server, without depending on the user's browser. It is unaffected by ad blockers, iOS 14+ or lost browser storage. Event Match Quality (EMQ) measures how well server events can be matched to Meta profiles — target: EMQ ≥ 7.0. It requires sending user parameters (hashed email, hashed phone, fbclid) to achieve a high match rate.

Capa 3 — Deduplicación de eventos
Prevenir conteo doble de conversiones

When Pixel and CAPI run at the same time, the same event can arrive twice: once from the browser, once from the server. Meta deduplicates automatically if the events share an event_id, but that requires the implementation to be configured correctly. Without deduplication, dashboard "conversions" can be inflated 2x, and the algorithm is optimizing toward an artificially high signal.

Capa 4 — CRM Loop
Retroalimentación de calidad de lead al algoritmo

The end goal is not for the algorithm to optimize for "lead received" — it is to optimize for "lead that became a customer". That means closing the loop: when a lead converts in the CRM, that signal goes back to Meta through CAPI as a qualified conversion event. The algorithm starts learning which user profile completes the whole cycle, not just which one fills out a form.

GTM: the most frequent mistake

Google Tag Manager makes tracking easier to implement, and just as easy to fill with conflicting rules. The most common problems:

  • The Meta Pixel installed twice — once in the site code and once in GTM — duplicating every event
  • Conversion triggers firing on a visit to the confirmation page, when that page is reachable directly (inflating conversions with organic traffic)
  • Google Ads and Meta conversion tags firing the same event without the right deduplication parameter
  • Different Pixel versions live at once because of badly applied updates

A GTM audit has to review every live tag, its triggers and the firing order. Meta Pixel Helper and Google's Tag Assistant are basic tools — but they do not catch every server-to-browser deduplication problem.

Cobertura real = Conversiones CAPI ÷ Conversiones reales en CRM
If you see 500 conversions in Meta but only 200 in your CRM, you have an attribution problem. If you see 200 in Meta and 500 in the CRM, the algorithm is deciding on 40% of the available signal — and budgets are being misallocated.

Enhanced Conversions in Google Ads

In Google, the CAPI equivalent is Enhanced Conversions: it sends hashed user data from the server to improve the conversion match rate in restricted environments. The impact on signal quality is comparable to CAPI in Meta — without it, Google's system runs on partial data and optimizes Search and Performance Max campaigns badly.

The difference between technical and strategic tracking

Technical tracking answers "is the event firing?". Strategic tracking answers "is that the right event to optimize for?".

A telecom company with perfect technical tracking optimizing for "lead form submitted" has precise data about the wrong signal. Form leads are not the goal — completed port-ins are the goal. Strategic tracking means defining which event in the funnel correlates most with the real customer, and making sure that is the event the algorithm receives.

In practice this means building a taxonomy of events by funnel stage — not a single conversion event — and feeding the system with what happens offline: in the store, in the call center, in the CRM.

Does your tracking reflect what actually happens?

The first diagnosis always starts with the measurement infrastructure. If the data is wrong, everything built on top of it is wrong. I review the current state and build the right foundation.

View full methodology

References

Primary documentation for the platforms cited on this page:

Case figures refer to the periods and accounts described in each one; they are not promises of replicable results.

Por — Performance marketing, data and AI consultant

Publicado el · Actualizado el