How Adriva Connects Google Analytics and Pixels

Adriva connects Google Analytics 4, the Meta Pixel and the Google Ads tag, counts each conversion once, and uses that data for budget and bid decisions.

The Adriva Team10 min read

Adriva connects Google Analytics 4, the Meta Pixel and the Google Ads tag into one measurement layer. It removes duplicate conversions, then uses the result for every budget and bidding decision it makes on Google and Meta. Budget and bid changes are only as accurate as the conversion data behind them, so this step comes first.

Abstract visualization of connected data streams converging into one layer
Adriva joins GA4, the Meta Pixel and the Google Ads tag into one signal layer before it makes any optimization decision.

Why GA4, the Pixel and the Google Ads tag disagree

Most performance teams already run all three. GA4 records what people do on the site. The Meta Pixel fires when someone views a product or checks out. The Google Ads tag links an ad click to a conversion. Each tool is accurate about the part it can see and has no view of the rest. GA4 knows a user browsed four pages, but on its own it does not tell Meta that a sale happened. The Pixel records a purchase in the browser, but misses it when the browser blocks the call. The Google Ads tag knows a click converted, but loses the link when the cookie that connected the two is gone.

Put the reports side by side and the numbers do not match. Meta and Google both count the same sale as their own, and GA4 shows a third number. You spend the first hour of an optimization session reconciling three dashboards before you can change anything. Adriva fixes this before it changes any budget.

Signal sourceWhat it capturesBlind spot
Google Analytics 4On-site behavior, sessions, and funnels across devices via data streamsDoes not push conversions to ad platforms on its own; browser hits are lost to consent and blockers
Meta PixelBrowser-side events — PageView, AddToCart, Purchase — tied to Meta identifiersTracking prevention, ad blockers, and consent gates drop events before they send
Meta Conversions APIServer-side events with fbp / fbc and hashed identifiers that do not depend on the browserNeeds a shared event_id or it double-counts against the Pixel
Google Ads tagAd click to conversion, stitched through the click identifier (GCLID)Cookie loss breaks click-to-conversion matching without Enhanced Conversions
Enhanced ConversionsHashed first-party data matched to signed-in Google accountsOnly recovers what you actually collect first-party at conversion time

What Adriva connects

When you link your accounts, Adriva connects five sources and manages them as one measurement setup, so you do not maintain five separate integrations by hand:

  • Your GA4 property and its data streams. The on-site behavior data. Adriva reads it through the Analytics API and does not replace it.
  • The Meta Pixel. The browser events that already fire on your site.
  • The Meta Conversions API. The server-side version of the Pixel. It sends the same events without going through the browser.
  • The Google Ads tag with Enhanced Conversions. Click data plus hashed first-party identifiers.
  • Consent Mode signals. They make sure collection follows the choice each user made.

The goal is one deduplicated stream of conversions that is accurate enough for Adriva to move budget based on it.

How Adriva connects it

Adriva uses the standard first-party and server-side APIs that Google and Meta publish. Its job is to set them up correctly, keep the identifiers in sync, and remove the manual setup work.

  1. Read GA4 as the behavior layer. Adriva connects to your GA4 property and data streams and pulls the on-site events you already track. GA4 stays the source of truth for how people move through your site. Adriva adds a way for that data to reach the ad platforms.
  2. Pair the Pixel with the Conversions API.Meta’s own guidance is to run the Pixel and the Conversions API together as a redundant setup. Adriva sends the same conversions server-side through the Conversions API, with the fbp and fbc browser parameters and hashed identifiers. The events arrive even when the browser call is blocked.
  3. Send server-side events to GA4. When a conversion has to reach Analytics without a browser, Adriva uses the GA4 Measurement Protocol. It posts events directly to Google’s servers, tied to the same client identifier.
  4. Enrich Google Ads with Enhanced Conversions. At conversion time, first-party data such as email, phone and address is hashed with SHA-256 and sent to Google. Google matches it to signed-in accounts, which recovers attribution that cookies alone can no longer provide, per Google Ads Help.
  5. Deduplicate on a shared event_id. An event can arrive twice: once from the browser and once from the server. Both copies carry the same identifier, so the platform counts them as one conversion. The next section explains how.

Server-side collection matters because it recovers conversions. Browser restrictions and consent gates block a real share of conversions before they reach an ad platform. The modeling that estimates the rest also depends on clean signals reaching Google and Meta.

>50%

of ad-click-to-conversion journeys lost to non-consent are recovered on average by Consent Mode modeling, per Google Ads Help.

2×

more recovery on average from advanced Consent Mode than from basic, according to Google.

5–15%

typical lift in reported conversions after Enhanced Conversions is enabled, per industry reporting.

Sources: Google Ads Help on consent mode modeling and Marin Software. Actual recovery depends on your consent rate, the quality of your first-party data and your setup, so use these numbers only as a rough guide.

How deduplication counts each conversion once

If you send events from both the browser and the server, the same purchase can be reported twice. Deduplication prevents this. When the Meta Pixel and the Conversions API both report a conversion, they send the same event_id and the same event name. Meta matches on that pair and keeps one event, as its deduplication documentation describes. When duplicates arrive, it keeps the first one and drops the rest.

Data and performance charts showing conversion metrics across multiple channels
After deduplication, overlapping browser and server events become one conversion count. Every later decision uses that count.

A wrong identifier causes errors in both directions. If the IDs do not match, the same sale counts twice and your reported results look better than they are. If the IDs are too broad, separate conversions merge into one and part of your revenue disappears from the report. Adriva keeps the shared identifier consistent across the Pixel and the Conversions API, so browser and server events fill each other’s gaps and no sale is counted twice.

On Google, Enhanced Conversions does the same job for linking clicks to conversions. Hashed first-party identifiers let Google connect a conversion to the ad click that led to it, even after third-party cookies are gone. Without them, that attribution is lost. For more on building measurement on first-party and server-side data, see our guide on conversion tracking in a first-party world.

From clean data to budget decisions

A unified signal layer would be useful for reporting alone. In Adriva it is also the input for automation. Each conversion is counted once and keeps its real source, so Adriva can compare a Google Ads campaign and a Meta campaign on the same metric: real cost per real conversion. It does not have to trust two platforms that both claim the same sale.

If both platforms can claim the same conversion, you cannot compare them fairly or split budget between them correctly.

The rest of the product runs on that shared number. Adriva keeps shifting spend toward whatever produces conversions at the lowest cost, across campaigns and across platforms. We explain how in how Adriva rebalances budget every hour. When Google and Meta report from one signal layer, Adriva can move budget to the platform that converts better, using data where each sale appears once. This is the main reason for running Google Ads and Meta Ads together instead of as two separate budgets.

Cleaner conversion data also helps the platforms’ own bidding. Google Smart Bidding and Meta’s delivery system both optimize toward the conversions you report. More complete, deduplicated events give their models more accurate data to learn from. Adriva improves the input, and every automated bid that uses it benefits.

What you see in one deduplicated view

In the native ad managers, Google reports the conversions it can attribute to its clicks, and Meta reports the conversions it can attribute to its own. You cannot see where the two overlap. If you add the numbers together, you double-count. If you trust only one, you undercount what the other channel contributed. A deduplicated signal gives you one number per sale.

Analytics dashboard with cross-channel performance metrics and trend lines
One deduplicated view shows real conversions and their sources, with both platforms compared on the same metric.

What the unified layer shows you

  • True cost per conversion by platform, with each sale attributed once. A channel that only looks good in its own reports no longer hides the channel that actually performs.
  • Assisted paths across platforms. A Meta impression before a branded Google search shows up as part of the same path instead of two unrelated events.
  • Recovered conversions in the report. Server-side and modeled conversions appear in the same view as browser-tracked ones. They no longer go missing without anyone noticing.
  • Faster decisions. Adriva acts on the same number you would get after an hour of manual reconciliation, without spending the hour.

Getting connected

Connecting is part of setup and does not need a separate project. You authorize Adriva on your ad accounts and your GA4 property through each platform’s standard OAuth flow. Adriva then sets the Pixel and the Conversions API to use the same event identifier, checks that Enhanced Conversions and Consent Mode are in place, and starts reading one deduplicated stream. The same connection feeds both your reporting and Adriva’s automation.

The rest of Adriva runs on this measurement: launching campaigns on Google and Meta from one workflow, benchmarking them against real standards, and moving spend to what converts. Book a call to see it on your own numbers.

Frequently asked questions

Does Adriva replace my GA4?
No. Adriva reads from your existing Google Analytics 4 property and data streams. GA4 stays your main record of on-site behavior. Adriva connects it to your Meta and Google Ads data so all sources show up in one place.
How does event deduplication work?
The Meta Pixel (in the browser) and the Conversions API (on the server) send the same conversion with the same event_id and event name. When Meta receives both, it treats them as one event and keeps a single copy, so the purchase is not counted twice. Adriva manages that shared identifier so the two sources cover each other's gaps without inflating your numbers.
Do I need the Conversions API if I already have the Meta Pixel?
Yes, if you want accurate measurement. The browser Pixel alone loses events to ad blockers, tracking prevention and consent gates. The Conversions API sends the same events from the server, so conversions still reach Meta when the browser call is blocked. Deduplication makes sure events reported by both are counted once.
What is the difference between platform-reported conversions and deduplicated signal?
Google and Meta each report the conversions they can attribute to their own clicks. The same sale can appear in both accounts, and neither account sees the full path. A deduplicated signal layer counts each real conversion once and keeps its real source. Cross-channel comparisons and budget decisions then use one number per sale.
Is first-party conversion data privacy-safe?
First-party identifiers used for Enhanced Conversions and the Conversions API are hashed with SHA-256 before they are sent. The platforms match them against signed-in accounts on their side. You still control consent. When a user declines, Consent Mode signals decide what is collected, and modeling estimates the conversions that cannot be observed.

Try Adriva

Run Google and Meta ads in one place.

Adriva launches your campaigns, checks them every day, and moves budget to what works.

Get started

Keep reading