How to Link AdSense to Google Analytics 4: Step-by-Step Guide
Updated November 20, 2026 · 7 min read
Until AdSense and GA4 are linked, you will never know which post earns what. The setup takes ten minutes, but it is not retroactive: every day you wait is a day of per-page history you will never get back. Here are the steps, how to check the data, and the mistakes I see most often on r/Adsense.
What linking gives you
Once the link is active, GA4 receives the ad revenue attached to each page view, plus ad impressions and clicks. You get:
- the Total ad revenue metric (
totalAdRevenuein the API), which you can break down by page, traffic source, country and device; - the Publisher ads report under Reports > Monetization;
- the ability to calculate the RPM of each URL, which AdSense alone cannot do (see AdSense earnings per page).
It is also the only reliable way to know which acquisition channel actually pays. 1,000 visits from Google Search and 1,000 visits from Pinterest or Facebook almost never have the same value, and the gap gets even wider when one channel brings US readers and the other brings traffic from India or the Philippines.
Before you start: prerequisites
Permissions
You must be signed in with one Google account that has both:
- the Editor or Administrator role on the GA4 property;
- admin access to the AdSense account.
If AdSense lives on your personal Google account and GA4 was set up by a developer or agency on their account, first add your personal account as an Editor in GA4 (Admin > Property access management). Doing it the other way round, giving the agency account access to AdSense, also works, but you usually want to keep control of the link yourself.
The GA4 tag on the right pages
GA4 attributes revenue to the pages where its tag fired. Check that the GA4 tag (via gtag.js, Google Tag Manager or your CMS plugin, such as Site Kit on WordPress) is present on every page that shows ads, including AMP versions if you still serve them. A page with ads but no GA4 tag generates revenue that will never appear anywhere in GA4.
Currency and time zone
In the GA4 property settings, check the currency and the reporting time zone. Align them with your AdSense account where possible. All figures in this guide are in dollars; yours will display in your account currency. Time zone matters more than people think: if AdSense runs on Pacific Time and GA4 on London time, each "day" is shifted by eight hours and daily comparisons become meaningless.
The steps in GA4
The link is created from GA4, not from AdSense.
- Open GA4 and click Admin (the gear icon at the bottom left).
- In the property column, find the Product links section and click AdSense links.
- Click Link.
- Choose the AdSense account from the list. If it does not appear, it is a permissions problem (see above).
- If prompted, select the web data stream for your site.
- Review the summary and submit.
The link then appears in the list with its creation date. Write that date down: it is the first usable day of your per-page history, and you will need it later when an RPM comparison over "the last 90 days" looks oddly low.
Check that it works
After 24 to 48 hours
Go to Reports > Monetization > Publisher ads. You should see revenue and ad impressions. Switch the table's primary dimension to Page path and screen class: every post that shows ads should have its own row.
If the Monetization section is missing from the left menu, it may have been removed from the property's report library. An Administrator can add it back in the Library, or you can skip the report entirely and build an Explore > Free form exploration with Page path and screen class as the row dimension and Views plus Total ad revenue as metrics.
Compare with AdSense
Pick a complete day, ideally two days ago so the data has settled. Compare total revenue in GA4 with estimated earnings in AdSense for the same site.
Example: AdSense shows $64.20 for November 14, GA4 shows $59.10. The gap is ($64.20 − $59.10) ÷ $64.20 = $5.10 ÷ $64.20 = 7.9%. That is normal. A gap of 3 to 10% comes from visitors who refuse analytics cookies, ad blockers that also block GA4, and late AdSense adjustments.
Above 20%, look for pages with ads but no GA4 tag, a time zone mismatch, or a misconfigured consent setup (more on that below).
Common mistakes
The AdSense account does not appear
Almost always a Google account problem: you are signed in to GA4 with an account that has no access to AdSense. Check the avatar at the top right of both interfaces. People with a work Google Workspace account and a personal Gmail hit this constantly.
Revenue stays at zero after linking
Three likely causes: the link is too recent (wait 48 hours), the GA4 tag is not on the same pages as the ads, or you are looking at a different data stream or property than the one tied to the monetized site.
Revenue attributed to "(not set)"
Part of the revenue can show up with no page attached. This happens when the ad was served but GA4 could not tie the event to a page view, usually because of consent. If that row is above 15% of the total, review your consent configuration and the order in which your tags load.
Yesterday's numbers keep changing
Expected. Revenue for the last two days can still move in GA4. For any analysis, stop your date range at two days ago.
Consent: the setting that makes the difference
If a meaningful share of your traffic comes from the EEA, the UK or Switzerland, your consent banner is the single biggest source of gaps between AdSense and GA4. Google requires a Google-certified consent management platform (CMP) to serve ads to those visitors, and AdSense's own Privacy & messaging tool is one option. US-heavy sites are less exposed, but not immune: US state privacy laws and opt-out banners can have a smaller version of the same effect.
The problem: if your CMP blocks the GA4 tag entirely until the visitor accepts, every page view from visitors who decline disappears from GA4, while AdSense keeps serving them limited or non-personalized ads. That revenue is attributed to no page.
Consent Mode v2 addresses this. In its advanced implementation, the GA4 tag loads in a restricted state and sends cookieless signals for visitors who decline, which GA4 can then model. In the basic implementation, nothing is sent until consent is given. Version 2 also adds the ad_user_data and ad_personalization parameters, which certified CMPs set for you. Whether you choose basic or advanced depends on your CMP and your legal position; that is not a call a technical guide should make for you.
Keep the order of magnitude in mind. Say 25% of your views come from the EEA and UK, and 30% of those visitors decline with GA4 fully blocked: 0.25 × 0.30 = 7.5% of your views vanish from GA4, along with a slice of revenue. Comparisons between pages remain valid, but your absolute RPM will be underestimated.
Several sites on one AdSense account
Many publishers run two or three sites on a single AdSense account. Two setups work:
- One GA4 property per site, each linked to the same AdSense account. This is the clearest option: each property only receives revenue for its own pages, and you calculate RPM site by site.
- One property for all sites, with one data stream per site or a hostname dimension. More compact, but you must filter on Hostname in every exploration, otherwise two
/contactpages from two different sites get merged into one row.
In both cases, check after linking that the sum of revenue across your GA4 properties stays close to the AdSense total, give or take the consent gap.
What you can do next
With the link in place, you can:
- calculate the RPM of every page, following AdSense RPM by page in GA4, or double-check a figure with the RPM calculator;
- compare the value of your traffic sources (Search, Discover, social, newsletters);
- spot pages whose RPM is falling, using the method in AdSense RPM dropped.
And with Revrolo
Revrolo needs this link to work at page level. Once it is active, you connect with your Google account in one click, read-only: Revrolo reads AdSense, GA4 and Search Console but cannot change anything. It pulls up to 12 months of per-page history (limited by your link date), calculates each page's RPM, and uses it to estimate your earnings in real time, recalibrated every 20 minutes against the official AdSense figure.
If the link is missing or the GA4 tag covers your site poorly, Revrolo tells you at connection time. The tool is free; you can browse the live demo first.
Frequently asked questions
Is the AdSense and GA4 link retroactive?+
No. GA4 only receives AdSense revenue from the moment the link is active. Earlier days stay without per-page revenue, which is why it is worth setting up today rather than next month.
What permissions do I need to link AdSense to GA4?+
You need the Editor (or Administrator) role on the GA4 property and admin access to the AdSense account, both on the same Google account. Otherwise the AdSense account will not show up in the list.
How long before AdSense revenue shows up in GA4?+
Allow 24 to 48 hours after linking for the first data. After that, per-page revenue arrives every day with roughly a 24-hour delay.
Can one AdSense account be linked to several GA4 properties?+
Yes. Each property receives the revenue for the pages it measures. This is the usual setup when you run several sites on one AdSense account, each with its own GA4 property.