GA4 sees what happens on your website. It doesn't see what happens after a form submission, after a sales call, after someone walks into a store. For businesses where the valuable conversion happens offline — a qualified lead becoming a customer, a phone enquiry turning into a signed contract — GA4's native event tracking captures the beginning of the journey but misses the outcome that actually matters.

GA4 data import addresses this gap by letting you upload external data that gets joined to existing GA4 events and sessions. There are three meaningfully different import types, each solving a different problem.

The Three Import Types

Offline event data High value

Lets you upload conversions that happened offline — phone sales, in-person purchases, deals closed by a sales team — and associate them with the original GA4 session or user that preceded them. This is the most powerful import type for lead-gen and B2B businesses.

The mechanism: when a user submits a form or takes an action on your site, GA4 assigns it a session ID and client ID. Your CRM or sales platform captures the same identifiers (you send them via hidden form fields or cookie reads). When the offline conversion happens, you export a CSV with those identifiers plus the event name and timestamp, and GA4 joins the offline event back to the original session.

The result: GA4 can show you which traffic sources, campaigns, and landing pages produce actual customers — not just form submissions. For businesses where lead quality varies dramatically by source, this is the difference between optimizing for the right metric and optimizing for volume at the expense of quality.

User data (CRM attributes) Useful

Lets you import user-level attributes from your CRM — customer tier, lifetime value, product category, account type — and attach them to GA4 users via a shared identifier (typically user ID). Once imported, these attributes become available as user dimensions in GA4 reports.

Practical uses: segmenting GA4 behavior by customer tier (do enterprise customers navigate differently than SMB?), analyzing engagement by LTV cohort, or building GA4 audiences based on CRM data that GA4 couldn't observe directly (e.g., users who have churned, users who have been sales-qualified).

Requirement: you must have User-ID enabled in GA4 and your site must be passing user IDs to GA4 for authenticated sessions. Without a shared identifier, GA4 can't match the imported attributes to the right users.

Cost data (non-Google ad spend) Useful

Lets you import ad spend data from platforms GA4 doesn't natively connect to — Meta, LinkedIn, TikTok, Bing, programmatic DSPs — so you can see cost, clicks, and impressions alongside GA4 sessions in the same interface. GA4 already has Google Ads cost data via the property link; this fills in everything else.

The import matches on UTM source, medium, and campaign. Your ad platform export needs to include those fields, the date, cost, clicks, and impressions. GA4 then shows ROAS and cost-per-conversion in the Advertising workspace for non-Google channels.

Limitation: this is reporting convenience, not attribution improvement. The imported cost data doesn't change how GA4 attributes conversions — it just lets you calculate efficiency metrics in one place.

Setting Up Offline Conversion Import

Offline event import is the most technically involved but highest-value import type. Here's the setup sequence:

Step 1: Capture session and client identifiers on form submission

You need to capture the GA4 client_id and optionally the session_id at the point of the online interaction (form submission, phone click, demo request). The client ID is stored in the _ga cookie. Read it with JavaScript and pass it as a hidden form field or include it in your form submission API payload.

// Read the GA4 client_id from the _ga cookie
function getGAClientId() {
  const match = document.cookie.match(/_ga=GA\d+\.\d+\.(\d+\.\d+)/);
  return match ? match[1] : null;
}

Store this value alongside the lead record in your CRM. It's the join key that connects the CRM record to the GA4 session when you upload the conversion.

Step 2: Configure the data import in GA4

  1. In GA4, go to Admin → Data Import → Create data source
  2. Select Offline event data
  3. Name it something descriptive (e.g., "Qualified leads from CRM")
  4. Map the import fields: client_id, event_name, event_timestamp, and any custom parameters you want to attach (deal value, lead quality score, etc.)

Step 3: Prepare and upload the CSV

When an offline conversion happens in your CRM, export a CSV with these required columns:

client_id,event_name,event_timestamp,value,currency
1234567890.0987654321,qualified_lead,1720224000000000,500,USD

The event_timestamp must be in microseconds since the Unix epoch. The offline event should be timestamped at the time the offline conversion occurred — not the time of upload. GA4 applies the event retroactively to the correct date in reports.

Offline events can only be imported within a 72-hour window of the event timestamp — at least for the standard import. For longer lookback windows, the Measurement Protocol API is the alternative, though it has its own complexity. Batch your CRM exports frequently if you're working within the standard import window.

Step 4: Mark the event as a conversion in GA4

After uploading, the imported event name (e.g., qualified_lead) will appear in GA4's Events report within a few hours. Mark it as a conversion in Admin → Conversions so it appears in acquisition and campaign reports alongside your other conversion metrics.

Common Problems and Audit Checks

Data imports fail silently more often than they fail loudly. These are the most common issues:

Setting Up Cost Data Import

Cost data import is simpler than offline events — the main requirement is consistent UTM tagging across all non-Google campaigns.

  1. In GA4, go to Admin → Data Import → Create data source → Cost data
  2. Download the CSV template and fill in columns: date, source, medium, campaign, cost, clicks, impressions
  3. The source, medium, and campaign values must exactly match the UTM values on your ad links — case-sensitive
  4. Upload the CSV and verify the date range appears in the Advertising workspace

Most ad platforms (Meta, LinkedIn, TikTok) let you export campaign performance reports with these fields. The main ongoing maintenance is keeping the export → upload cycle on a schedule — weekly or monthly depending on how actively you monitor cross-channel efficiency.

GA4 Health Check's configuration audit checks for data import setup and flags common issues with offline event configuration. Run a 60-second audit to see what's set up and what's missing in your property.

Travis Gunn
Founder of GA4 Health Check. Working with Google Analytics since 2013, with over 250 clients audited across almost every industry vertical. 100% Job Success on Upwork for over a decade.