Skip to main content
Talk to an expert
Google Analytics 4 logo

Google Analytics 4 integration for ecommerce reporting

Turn commerce events into governed analytics that teams trust GA4 captures user behaviour and transactions from your storefront, but without a shared event taxonomy, consistent identity resolution and governance gates, dashboards drift and audience exports fail. iWeb designs the event framework, identity layer and data quality practices so your analytics estate grows reliably alongside your commerce platform. Works with Adobe Commerce, Magento Open Source, Shopify Plus, BigCommerce and other storefronts.

Also searched as: reporting integration, analytics connector, API link, extension.

Google Analytics 4iWeb integration layeryour storefront
Works with - Adobe Commerce · Magento Open Source · Shopify Plus · BigCommerce · Other storefronts
01 · What you get

What a Google Analytics 4 integration gives you.

Trusted event data for analytics

Events reaching GA4 follow a defined schema with clear ownership and approval gates. Analysts trust metrics because event taxonomy is versioned, breaking changes are documented and data quality is monitored.

Unified customer view across channels

User identity is consistently resolved from your commerce platform, CRM and ERP into GA4, so dashboards show accurate user counts, cohort composition and journey paths without duplicates or gaps.

Governed audience exports to marketing

GA4 audiences flowing to ad platforms are built on transparent logic, approved by compliance and documented with refresh schedules. Marketing teams execute retargeting with confidence that segments are correct and PII is masked.

Fast analytics iteration without re-plumbing

New metric requests are satisfied by modifying event taxonomy or creating new GA4 segments, not re-integrating systems. Changes propagate through monitoring gates and reach reporting tools within days.

Finance-ready attribution and revenue reporting

GA4 transaction data joins reliably to ERP invoices and payments, enabling finance teams to validate ecommerce revenue in GA4 without manual reconciliation or spreadsheet cross-checks.

02 · When it's worth it

Where a Google Analytics 4 integration earns its place.

If two or more of these are true, the integration usually pays for itself quickly.

Track and analyse customer journeys across web and app touchpoints
Measure campaign effectiveness and attribute revenue to marketing channels
Identify user cohorts and funnel drop-off points for optimisation
Monitor conversion rates, checkout friction and product performance
Feed event data into downstream tools for segmentation and retargeting
03 · The limits

Where off-the-shelf connectors fall short.

Vendor connectors are fine for simple cases. Here's where the real ones need more.

Inconsistent event taxonomy across teams

GA4 allows flexible event naming and property keys, but without a shared governance model, different teams implement tracking differently. This creates duplicate or contradictory event definitions, making cross-team dashboards unreliable and segment definitions fragile.

User identity resolution gaps

GA4 relies on cookies and first-party IDs to stitch sessions, but cross-domain, mobile-to-web and authenticated user flows often create identity mismatches. Commerce platforms, CRM and ERP may use different customer keys, leading to inflated user counts and broken cohorts.

No automated PII redaction or data governance

GA4 accepts any data you send, including email, phone and other sensitive fields in event properties. Without explicit governance rules and masking, PII can leak into reports, triggering compliance risks and making dashboards unsafe for broad distribution.

Attribution model drift and unowned logic

GA4 offers multiple attribution models (first-click, last-click, data-driven), but each team may choose differently for their reporting needs. Without documented ownership and periodic alignment, marketing teams make conflicting decisions about which conversion to credit.

Delayed data availability and query limits

GA4 reporting APIs enforce quota limits and introduce 24-48 hour latency on raw events, making real-time dashboards and rapid incident response difficult. Export to BigQuery bypasses some limits but adds complexity and cost.

04 · The real work

Unowned event taxonomy is the invisible cause of drifting dashboards and broken audiences; without named owners and approval gates, different teams build different versions of 'conversion' and 'customer'.

05 · Where it sits

Where this integration sits in your estate.

Google Analytics 4 holds the commercial record. The iWeb integration layer manages the rules, mappings, monitoring and exceptions. The commerce platform presents the customer-facing experience. The estate map helps agree ownership before anything is built.

Built for your platform, not a specific one. Google Analytics 4 integrates with any ecommerce core through the same contract.

System of record
Source / owner
Google Analytics 4
Central hub for behavioural event collection and audience analytics
  • Event ingestion from web, app and backend sources
  • User identity and session tracking
  • Conversion and attribution reporting
  • Audience segmentation and export
  • Raw event data export to data warehouse
iWeb integration layer
Customer-facing commerce
Commerce platform
Adobe CommerceMagento Open SourceShopify PlusBigCommerceOther storefronts
  • Tracking library implementation on storefront
  • Order and transaction event capture
  • Customer identity handoff to GA4
  • Audience import for checkout messaging or merchandising
  • Event schema versioning and deprecation coordination
Connected neighbours
Integration layer
ERP
Offline conversion events (orders, returns, adjustments) flow into GA4; GA4 revenue reports join to ERP invoices for reconciliation.
Integration layer
CRM
Customer keys and attributes map from CRM into GA4 user properties; GA4 behavioural segments reverse-sync back to CRM for campaigns.
Integration layer
Data warehouse
GA4 events export to BigQuery or Snowflake; dbt models transform raw events into trusted analytics tables and serve BI tools.
Integration layer
Marketing platforms
GA4 audiences push to Google Ads, Facebook and other channels for retargeting; campaign events flow back into GA4 for attribution.
Integration layer
BI and dashboards
BI tools query GA4 and warehouse tables to build reporting dashboards; analytics teams rely on event taxonomy and data quality SLAs.
Integration layer
Identity platform
Unified customer IDs from identity service are mapped into GA4 user properties; consistent identity enables reliable audience targeting.
Two-way sync where relevant
06 · Surrounding systems

Systems this integration usually sits next to.

Examples, not a closed list. iWeb is platform-agnostic on both sides: we wire this integration into whatever ecommerce platform and surrounding systems your estate already runs.

Ecommerce platforms (examples)
  • Adobe Commerce
  • Magento Open Source
  • Shopify Plus
  • BigCommerce
  • Other storefronts
Surrounding systems (examples)
  • ERP (SAP, Oracle, NetSuite)
  • CRM (Salesforce, HubSpot, Klaviyo)
  • Data warehouse (BigQuery, Snowflake, Redshift)
  • BI tools (Looker, Tableau, Metabase)
  • Marketing platforms (Google Ads, Facebook, TikTok)
  • Customer data platform (mParticle, Segment)
  • Order management system (OMS)
  • Product information system (PIM)
Not sure?

Not sure if this works with your stack?

Tell us what you’re using and what needs to connect. We’ll give you a straight view on what’s possible, what might be awkward, and the safest way to approach it.

07 · Data flows

The data flows we wire.

Each flow has a direction and an owner. We agree both before a line of code is written.

From COMMERCE & OTHER SYSTEMS
OUT TO BI & OUT TO MARKETING & OUT TO COMMERCE
Event stream to GA4: Pageviews, form submissions, cart events, transactions and custom events flow from your storefront via the GA4 tracking library or server-side event API
Each event includes user identity, session context and commerce properties such as product IDs, categories and transaction value.
Offline conversion imports: ERP, CRM or CMS systems send completed orders, returns, customer attributes and marketing interactions into GA4 via the Measurement Protocol or CSV bulk import, joining them to online user journeys for holistic attribution.
Aggregated event tables to warehouse: GA4 exports event logs, user metrics and conversion data into BigQuery or your analytics warehouse, enabling modelled reporting, ad hoc queries and reverse-ETL of audiences back to operational systems.
Audiences and segments to ad platforms: GA4 pushes user audiences and behavioural cohorts into Google Ads, Facebook and other marketing platforms for retargeting, lookalike modelling and campaign optimisation without manual list exports.
Event-triggered rules back to checkout: GA4 event data or audiences feed back into your commerce platform via webhooks or scheduled queries to power dynamic promotions, checkout messaging or stock reservation rules based on user behaviour.
08 · How we build it

How iWeb configures the integration around your business.

Same method on every integration. The decisions come before the code.

  1. 01
    Event taxonomy and schema design

    We work with product, marketing and analytics teams to define a canonical event model covering storefront, app and backend systems. We document event ownership, required vs optional properties and deprecation timelines, then version the schema in code so teams can review and plan changes.

  2. 02
    Identity resolution and customer key mapping

    We build layers that ingest customer IDs from your commerce platform, ERP and CRM, then map them consistently into GA4 user properties. We handle cross-domain and authenticated flows so GA4 audiences match your operational customer base.

  3. 03
    Data governance and PII controls

    We implement approval workflows for new event properties, mask sensitive fields before they reach GA4, and set up audit logging so you can track who sent what data and when. We integrate governance checks into CI/CD so bad events are rejected before production.

  4. 04
    BigQuery modelling and BI layer

    We export GA4 events to BigQuery, build dbt models that aggregate raw events into trusted fact and dimension tables, and expose them via a semantic layer for self-service dashboarding. We handle slowly-changing dimensions (products, categories, attribution rules) so analytics stay accurate as your catalogue evolves.

  5. 05
    Monitoring, alerting and exception handling

    We instrument event pipelines with freshness checks, volume anomaly detection and schema validation, alerting when data quality drops. We maintain exception queues and runbooks so teams can diagnose missing events or broken audiences within hours.

09 · Ownership

Who owns what.

The single most important table in any integration. One system owns each field; everything else reads it.

Data
Source / owner
Maintained by
Notes
DataEvent taxonomy and schema
Source / ownerGA4 configuration and dbt models
Maintained byAnalytics or data governance team in collaboration with product and engineering
NotesEvent taxonomy is versioned in code so breaking changes are reviewed and documented before deployment.
DataUser identity and customer key mapping
Source / ownerIdentity resolution service or dbt model joining GA4 to CRM/ERP customer IDs
Maintained byData engineering team with input from commerce and CRM product owners
NotesConsistent customer identity enables reliable audience exports and prevents duplicate user counts in GA4.
DataConversion definitions and attribution rules
Source / ownerGA4 conversion events and BigQuery conversion fact tables
Maintained byAnalytics team or shared governance board including marketing and finance representatives
NotesAttribution logic must be documented and approved to ensure revenue reports align across GA4, marketing platforms and ERP.
DataPII masking and data governance policies
Source / ownerGovernance repository and data classification schema
Maintained byCompliance, security and data governance teams
NotesPolicies are enforced in event collection layer and BigQuery exports so sensitive fields never reach reports or audiences.
DataDashboard and audience ownership
Source / ownerGA4, BI tool metadata and audience platform management
Maintained byDashboard creators and audience managers with approval from data stewards
NotesEach dashboard and audience export lists its owner and refresh schedule so consumers know who to ask if data looks wrong.
DataEvent freshness and data quality SLAs
Source / ownerMonitoring and alerting systems
Maintained byData engineering team with support runbooks shared across analytics
NotesAgreed SLAs define acceptable latency and error rates; monitoring alerts when data quality drops below threshold.
10 · Experienced integrator

Built this before

iWeb has designed and implemented GA4 integrations for ecommerce estates of all sizes, from single-channel sites to multi-brand multi-geography operations. We understand how GA4 sits alongside your ERP, CRM, data warehouse and marketing platforms, and we know where governance breaks down without discipline.

We build shared event taxonomies with versioning, ownership and deprecation timelines so tracking library updates and schema changes don't break downstream dashboards.
We design identity resolution layers that map customer IDs from your commerce platform, ERP and CRM consistently into GA4, fixing audience accuracy and enabling trusted exports to ad platforms.
We implement data governance policies for event approval, PII masking and quality SLAs so GA4 data stays compliant and analytical teams trust the numbers without manual validation.
We architect BigQuery exports with dbt modelling and semantic layers so you can build custom analytics on top of GA4 events without re-plumbing integrations.
We instrument event pipelines with monitoring, alerting and exception handling so teams catch missing events, schema drift and audience export failures before they ripple through reports and campaigns.
11 · Before launch

What we test before launch.

Every one of these is rehearsed before a customer ever sees the integration.

Verify event volume and latency from storefront match expectations; alert if events drop below SLA threshold for 5 minutes.
Validate that user identity from commerce platform consistently maps to GA4 user properties; spot-check ID uniqueness and unmatched rate.
Confirm GA4 conversion definitions are documented and approved by stakeholders; trace each conversion back to the original requirement.
Check that no PII (email, phone, order number) appears in GA4 event properties or exported audiences; scan events for banned fields.
Test BigQuery export pipeline completeness and latency; ensure dbt models rebuild successfully after schema changes.
Validate audience export to ad platforms includes correct identifiers and refresh cadence; verify audience membership against source segment.
Confirm fallback behaviour if GA4 APIs hit quota or become unavailable; test dashboard rendering and data warehouse queries continue.
12 · Failure points

Common risks and where they bite.

We name these on day one. A risk written down is a risk you can plan around.

Stale or incomplete event capture

Tracking library updates, site deployments or API changes can silently break event sending. Without automated freshness monitoring, teams don't notice missing events for days, leading to inaccurate cohorts and broken dashboards.

User identity mismatches across systems

GA4 captures browser-based user IDs, but your CRM and ERP use email or customer number. Without a reliable identity bridge, GA4 cohorts don't map to CRM segments, and audience exports to ad platforms contain duplicates or missing users.

Conflicting attribution and conversion logic

GA4 allows multiple conversion tracking paths (tag manager vs API vs custom events). If different teams define conversions differently or don't agree on which channel receives credit, revenue attribution reports conflict and marketing decisions diverge.

PII leaking into dashboards and exports

Teams send email, phone or order details into GA4 event properties without realising they are exposed in reports and audience exports. Compliance violations and unintended third-party data sharing follow, plus pressure to delete historical data.

Query quota exhaustion and reporting latency

Heavy dashboard usage, real-time dashboards or data warehouse queries against GA4 APIs hit rate limits or quota caps, causing dashboards to stall. If BigQuery export pipelines fail silently, data warehouse tables grow stale while teams debug quota errors.

Schema drift breaking downstream consumers

A team adds a new event property or renames a field without notifying analytics. Downstream dashboards, dbt models and audience definitions break until someone notices and rewrites the logic, creating a period of silent data corruption.

14 · Questions

Common questions about Google Analytics 4 integrations.

How do we define which events and properties should be captured in GA4?

Work with product, engineering, marketing and analytics teams to design a shared event taxonomy. Document each event (name, when it fires, required properties) and assign ownership to a team. Version the schema in code so changes are reviewed before rollout and teams can plan transitions.

How does GA4 know who the customer is if we use email in our CRM but a hash in GA4?

Build an identity resolution layer that joins GA4 user IDs to your CRM and ERP customer keys. This can be a dbt model that matches users based on email, order history or authenticated login events. Export the unified ID back to GA4 via the User-ID feature so audiences and reporting use consistent customer identity.

What is our data quality SLA for GA4 event delivery?

Define acceptable latency (e.g. events visible in GA4 within 5 minutes) and completeness (e.g. <0.1% data loss). Implement automated monitoring that alerts if events drop below the SLA threshold. Document who owns investigating and fixing issues.

Who owns the definition of 'conversion' in GA4 and how do we handle conflicts?

Establish a governance board (marketing, finance, analytics) that approves conversion definitions and attribution rules. Document why each conversion was chosen and which business metric it represents. If teams disagree, the board resolves the conflict before implementation.

How do we prevent sensitive data like email or phone from leaking into GA4 reports?

Classify customer data by sensitivity, define masking rules (e.g. hash email before sending to GA4), and enforce rules in your tracking library. Audit GA4 events regularly to catch accidental PII. Implement governance checks so new event properties are reviewed before production deployment.

Can we export GA4 data to our data warehouse and build custom analytics on top?

Yes, use GA4's BigQuery export to stream raw events into your warehouse. Build dbt models on top to create fact and dimension tables, apply business logic and expose a semantic layer for BI tools. This also enables reverse-ETL of audiences back to your commerce platform or ad systems.

How do we handle user journeys that span web, app and offline (e.g. in-store or email)?

Use GA4's User-ID feature to stitch sessions across devices and platforms based on authenticated login or customer ID. For offline events (returns, in-store purchases), upload them via the Measurement Protocol or bulk import API, joining them to online user IDs based on email or customer number.

What happens if we change our event schema - do old dashboards break?

Yes, if you rename or remove event properties, dashboards and dbt models using those properties will error. To avoid this, deprecate old properties gradually (e.g. send both old and new names for a period), then remove them only after downstream consumers have migrated. Version your schema in code so teams can plan transitions.

How do we know which GA4 audiences are safe to export to Facebook or Google Ads?

Document the audience logic (filters, properties, refresh schedule) and require data governance approval before export. Ensure the audience contains no PII and that identifiers (email, phone, customer ID) are hashed according to the platform's requirements. Maintain an audit log of all audience exports.

How do we validate that GA4 revenue matches our ERP and invoice records?

Export GA4 transaction events to BigQuery and join them to ERP invoices on order ID. Document the reconciliation process and acceptable variance (e.g. <1% difference). Run the reconciliation monthly and alert if variance exceeds threshold. Investigate discrepancies (failed payments, refunds, tax handling) and update data governance rules.

What is our fallback if GA4 APIs hit quota limits or become unavailable?

For reporting dashboards, implement caching and rate-limiting so quota is consumed predictably. For BigQuery export, ensure the pipeline is resilient to API failures and retries with exponential backoff. Monitor export lag and alert if data warehouse data becomes stale. For real-time dashboards, fall back to read-only pre-aggregated tables.

How often should we audit our event tracking to ensure data quality?

Implement continuous automated checks (volume anomalies, schema validation, freshness) that alert on issues. Conduct quarterly reviews where analytics, product and engineering teams inspect event definitions, confirm they still match business logic and identify dead or overlapping events. Document findings and update the taxonomy.

How do we onboard a new team or vendor to GA4 tracking without breaking existing events?

Require new event proposals to be reviewed and approved against the shared taxonomy. Provide sample implementations and testing environments so teams can validate tracking before production. Enforce a code review process for any changes to tracking libraries or event definitions.

Next step

Have a Google Analytics 4 integration brief?

Send the brief, or tell us what is breaking. You will get a written response from a senior expert: the integration boundary, the realistic shape, the risks worth naming, and what it takes to support after launch.
Talk to an expertOr browse all integrations →