Quick answer

To track affiliate activity in Google Analytics 4, first decide which site you own. A publisher can measure clicks from its site to a merchant, but its GA4 property will not automatically see purchases on the merchant’s site. A merchant can measure referred visits and on-site leads or purchases, but GA4 alone does not approve commissions. Use GA4 for behavior, the affiliate platform for attribution and payouts, and a shared order or lead reference to reconcile the two.

The promise of a single dashboard for affiliate clicks, sales and earnings confuses three records. A click happens on a publisher’s site. A landing session and checkout happen on the merchant’s site. A commission is decided under the program’s attribution and approval rules. Google Analytics 4 (GA4) can help with the first two if the right site is tagged. It is not, by itself, a commission ledger.

Decide whose GA4 property you are configuring

Your role GA4 can show you What GA4 cannot establish on its own
Affiliate publisher Visits to your site and, when configured, clicks on links that leave it. Whether the merchant accepted a lead, received a payment, reversed an order or owes you a commission.
Merchant running a program Tagged partner traffic and events on properties you control, such as a form submission or purchase. Which partner wins a disputed sale, whether an order qualifies under your terms, and whether a commission is approved or paid.

If you publish reviews and send readers to another company’s checkout, start with outbound-click measurement and your affiliate dashboard. If you run the checkout, start with landing and conversion events on your own GA4 property, then compare them with the affiliate platform.

Publisher setup: measure outbound affiliate clicks

1. Check the web stream and outbound-click setting

Install the Google tag on pages where your affiliate links appear. In GA4, open Admin → Data streams → your web stream → Enhanced measurement and check that outbound clicks are enabled. Google’s enhanced-measurement documentation says GA4 records a click event for links leading away from the current domain. It includes link_domain, link_url and outbound parameters. Links to domains configured for cross-domain measurement are an exception, so test your actual links.

A short link on your own domain may not count as outbound at the first hop. Track the short-link redirect or configure a separate click event if needed. A missing GA4 outbound event does not prove nobody clicked a same-domain /go/ link.

2. Test one link before building a report

Open a page on your site, click an approved affiliate link and inspect the event in GA4’s DebugView. Confirm the destination domain and URL. DebugView may not show the event when privacy controls or consent settings prevent analytics collection; that is a real limitation, not a reason to bypass a visitor’s choice.

Check that the merchant’s referral ID or sub-ID survives the final redirect. Your GA4 click event and the merchant’s credited referral answer different questions. You need both checks.

3. Build an outbound-click exploration

Google’s outbound-click tutorial uses Explore → Blank, the Link domain, Link URL and Outbound dimensions, and Event count as the metric. Filter to outbound click events and the merchant domains that matter. Add page or traffic-source dimensions only when they answer a question you will act on.

The report can show which articles send traffic to which merchants. It cannot show whether readers bought. For commissions, use the program’s approved conversion and payout records. If the program offers sub-IDs, assign a consistent one to each placement you need to compare, within its rules. That gives you a bridge from your placement to the merchant’s conversion report without pretending GA4 observed a remote checkout.

Merchant setup: connect partner traffic to real outcomes

1. Keep campaign labels and partner identity separate

A merchant can add utm_source, utm_medium and utm_campaign to links that land on its own site. Google’s campaign URL guidance explains how those values appear in traffic-acquisition reports. Keep the affiliate identifier or coupon code required by your program as well. A UTM source labels a visit; it does not tell the affiliate platform who must be paid. See the site’s UTM setup guide for URL examples and naming rules.

2. Measure the outcome where it happens

Use an event that matches the business event. Google’s recommended-events reference describes generate_lead for an initial lead and purchase for a sale. For ecommerce events, send a unique transaction_id for each order. Google’s transaction-ID guidance explains its role in deduplicating purchases and processing refunds.

For a B2B program, a demo form is rarely the final commission event. Record the lead in your CRM, qualify it, and connect the later opportunity or paid account to the partner under your program rules. If checkout or sales happen outside the tagged site, plan an approved server-side or CRM integration. Marking a GA4 event as a key event does not import a sale that GA4 never received.

3. Add a partner dimension only when it helps reporting

If your implementation sends a non-personal partner identifier with an event, GA4 can report it through an event-scoped custom dimension. Confirm the event parameter arrives; then create the matching dimension in Admin → Custom definitions. Do not send customer names, emails or other personally identifying details as analytics parameters. A partner dimension is a reporting aid, not a replacement for program attribution rules.

4. Reconcile instead of forcing the totals to match

Compare GA4 landing sessions, leads or purchases with affiliate-platform clicks, referred orders, approved commissions and reversals. Differences are expected. Analytics can miss a visit when consent blocks measurement or a tag never loads. The affiliate platform may credit a later purchase within its attribution window. A refund may reverse a commission after GA4 first saw the order. Investigate the difference at the order or lead-reference level before changing a payout.

Do not optimize paid ads for the wrong event

The old advice to import every outbound affiliate click into Google Ads as a conversion is poor by default. A click away from your site is a useful diagnostic; it is not a paid customer. Google Ads distinguishes primary and secondary conversion actions. Primary actions can influence bidding when the campaign uses the goal; secondary actions are normally for observation. If you buy traffic for affiliate content, decide which outcome your economics can support and whether you can measure it reliably before using it for automated bidding. Where only outbound clicks are available, call them clicks.

What to check when reports disagree

Start with one approved link, one real landing page and one test conversion before building dashboards. If you cannot trace that path from click to approved commission, more report columns will only make the gap harder to see.

Frequently asked questions

Can Google Analytics 4 track affiliate sales automatically?

No. GA4 measures events on properties you control. A publisher cannot see a merchant’s checkout in its own GA4 property unless an approved integration sends conversion data. The affiliate platform remains the record for credited sales and commissions.

How do I see affiliate link clicks in GA4?

Enable outbound clicks in Enhanced measurement for your web stream, test a link, and use an Exploration with Link domain or Link URL and Event count. Same-domain short links may need a separate redirect or click measurement setup.

Do I need UTM parameters on every affiliate link?

No. UTMs label incoming traffic in the destination site’s analytics property. A publisher usually will not see merchant-side UTM reports. A merchant may use UTMs for campaign reporting but must keep the separate affiliate identifier or code for commission attribution.

Can GA4 replace affiliate tracking software?

GA4 can analyze visits and on-site events. It does not run partner enrollment, enforce commission rules, resolve attribution disputes, approve refunds or pay affiliates. A merchant needs a separate program record for those tasks.

What is the difference between a GA4 outbound click and an affiliate conversion?

An outbound click records that someone left your site through a link. An affiliate conversion is an eligible lead or sale credited under the merchant’s rules. One click can lead to no conversion, and a later conversion may be approved or reversed.

Should I mark affiliate link clicks as key events in GA4 or conversions in Google Ads?

Only if a click itself is the action you intend to value. Do not label an outbound click as a paid sale. For Google Ads, review whether the action is primary for bidding or secondary for observation and use a conversion signal that matches your economics.