GA4 Data Import: Cost, CRM and Item Data That Make Reports Complete
By Samarth Analytics · Published · Updated · GA4 Implementation · 7 min read
Summary: Out of the box, GA4 knows what happened on your site and what Google's own ad platforms cost. It does not know what you spent on Meta or LinkedIn, the margin on each product, or which leads your sales team qualified. GA4's data import feature can fill many of those gaps without a warehouse. This guide explains each import type, how the join keys work, the difference between query-time and collection-time imports, common pitfalls, and when BigQuery is the better tool.

What GA4 is missing by default
A GA4 property linked to Google Ads knows the cost of Google campaigns and can show return on ad spend in its reports. For every other channel it knows sessions and conversions but not cost. It knows item IDs and prices but not margins, suppliers or seasonal categories that live in your product system. It knows that a lead form was submitted, but not whether the lead was qualified, became an opportunity or closed.
Those gaps push teams into spreadsheets and blended dashboards. Some of that is unavoidable, but GA4's data import feature can bring a surprising amount of business context into the property itself, where every report and exploration can use it. Used well, it is one of the most underrated parts of a GA4 implementation.
The import types
GA4 supports several kinds of data import, found under data import in the admin settings:
- Cost data: impressions, clicks and cost for non-Google advertising, joined to sessions by campaign parameters and date.
- Item data: additional attributes for products, joined by item ID.
- User data: attributes about users, joined by user ID or client ID.
- Offline events: events that happened outside the website, such as in-store purchases or phone orders.
- Custom event data: extra attributes for events, joined by a custom dimension.
Data can be uploaded manually as files or on a schedule from an SFTP server, which is how most production setups keep it current.
Query-time versus collection-time imports
The most important concept in data import is when the imported data is joined. Cost, item and custom event data are joined at query time: GA4 combines them with your data when a report runs. That means they apply to historical data, and deleting the import removes them from reports. User data and offline events are applied at collection time: they are attached to data as it is processed, apply only from the upload onwards, and cannot be removed once processed.
This difference shapes how cautious to be. A mistaken cost import can be corrected by uploading a fixed file. A mistaken user data import permanently attaches wrong attributes to users. Test collection-time imports with a small sample first.
Warning: Data import must not contain personally identifiable information such as names, email addresses or phone numbers. Use pseudonymous IDs and attributes only.
Cost data: ROAS for every channel
Cost data import is the import most teams should start with. Each row describes a date and a campaign, identified by the campaign parameters your links already carry - source, medium and campaign name, with campaign ID as an option - along with impressions, clicks and cost. GA4 then shows cost and return on ad spend for Meta, LinkedIn, Microsoft and any other channel in the same reports as Google Ads.
It only works if the parameters match exactly. "summer_sale" in the cost file and "Summer_Sale" in the links will not join. A strict naming convention, described in advanced UTM and campaign structuring, is the prerequisite. Upload cost in the property's currency, schedule it daily, and compare imported totals against each platform weekly.
Item data: margins and merchandising attributes
Item data import adds attributes to products by item ID: margin band, supplier, brand, collection, launch season or any classification your merchandisers use. Because it is applied at query time, a new attribute is immediately available across historical e-commerce reports.
The most valuable attribute is usually a margin band. Revenue rankings and margin rankings of products often differ sharply, and seeing them side by side in GA4 changes which products get promoted. Keep exact cost prices out if the property is widely shared; bands are usually enough for marketing decisions.
User data: CRM attributes on users
User data import attaches attributes to users through user ID or client ID: lifecycle stage, customer segment, subscription plan, account tier. Once imported, they become user properties available for segmentation, comparisons and audiences.
For B2B and subscription businesses this is how CRM context reaches GA4 without a warehouse - for example, building an audience of website visitors who are already customers on the starter plan. Remember the collection-time behaviour: attributes apply to data processed after the upload, so refresh the file regularly, and do not expect historical sessions to gain the new properties.
Offline events and custom event data
Offline event import records events that happened elsewhere - store purchases, phone orders, signed contracts - against a client ID or user ID. For anything that needs to be timely or high-volume, the Measurement Protocol is usually more flexible, as described in GA4 offline conversions from CRM and call centres. File-based offline import suits periodic batches.
Custom event data import enriches events with attributes keyed on a custom dimension. A content site can upload article metadata - author, topic, word count - keyed on an article ID sent with page views, and analyse content performance by any of those attributes without adding them to the tag. The design of the underlying dimensions is covered in custom dimensions B2B sites need.
Pitfalls we see most often
- Join keys that do not match the data, so imports appear to succeed but attach to nothing.
- Cost uploaded in the wrong currency or with tax included inconsistently.
- Imports set up once and never refreshed, so cost stops at the month someone left.
- Collection-time imports tested on the whole user base instead of a sample.
- Personal data included by accident in user or offline imports.
- File size and upload frequency limits ignored until a scheduled upload starts failing silently.
A sensible rollout order
For most properties we recommend rolling out data import in three steps over a month:
- Week one: cost data for the two or three largest non-Google channels, uploaded manually for the last ninety days and then scheduled daily. Check that the imported cost matches each platform within a few percent.
- Week two: item data with a margin band and the merchandising categories your team actually uses, scheduled to refresh when the product catalogue changes.
- Weeks three and four: a user data import for one well-defined CRM attribute, such as customer status, tested on a sample before the full file.
Each step is useful on its own, and each builds the habits - consistent keys, scheduled refreshes, reconciliation - that the next one depends on. Offline and custom event imports can follow once the basics are stable.
When to use BigQuery instead
Data import is ideal when the goal is making GA4's own reports and audiences more complete. When the joins become complex - many-to-many relationships, lead stages that change over time, cost at ad level across a dozen platforms - a warehouse is the better tool. Model the joined data in BigQuery and report from it, as in ROAS that finance trusts, and keep data import for the attributes your marketing team needs inside GA4 every day. If you are joining sources in a dashboard tool instead, the rules in Looker Studio blending done right apply.
Final thoughts
GA4 does not have to be limited to what the tag collects. Cost, item, user, offline and custom event imports bring spend, margins and CRM context into the property, so the reports people already use become complete. Start with cost data, add item margins, treat collection-time imports with care, and move to a warehouse when the joins outgrow the feature.
If you want data import set up properly, our team can help, and a free audit will show which business context your GA4 property is missing.
Topics: CRM integration, GA4 strategy, GA4, marketing attribution
More articles on the Samarth Analytics blog · Markdown version of this article