---
title: "GA4 integration"
description: "GA4 knows sessions, not orders. Session and event data linked to Shopify orders for attribution and customer journey analysis you can actually query."
url: "https://sourcemedium.com/integrations/ga4/"
---

# Session data that joins to orders

GA4 knows sessions, not orders. Session and event data linked to Shopify orders for attribution and customer journey analysis you can actually query.

## Integration Snapshot

- Platform: GA4
- Category: Analytics & Measurement
- Availability: Supported integration
- Documentation: [View docs](https://sourcemedium.com/docs/data-inputs/platform-integration-instructions/ga4-integration)
- MCP server: Official server, checked September 2026 ([GA4 MCP server](https://sourcemedium.com/mcp-directory/ga4/))

## Why teams connect GA4

GA4 is your source of truth for on-site behavior. SourceMedium connects sessions to orders, enabling first-touch attribution, landing page analysis, and conversion rate optimization.

## Key capabilities

- Session-to-order linking: Sessions are enriched with order data for true conversion analysis.
- Landing page performance: See which pages drive orders, not just sessions.
- Traffic source analysis: UTM parameters and source/medium join marketing spend for full attribution.
- Event tracking: Custom events and e-commerce events sync for funnel analysis.

## Example BigQuery tables

- `obt_funnel_event_history`: Unified funnel events (source_system = 'ga4' or 'snowplow_ga4')
- `obt_orders`: Orders for session-to-order linking
- `rpt_funnel_events_performance_hourly`: Hourly event aggregation for conversion monitoring

## Common enrichments

- Session linked to attributed Shopify order
- First-touch and last-touch marketing source
- Customer ID matched to session for cohort analysis
- Conversion rate by landing page and traffic source

## Questions you can ask

- What's our conversion rate by traffic source?
- Which landing pages have the highest order conversion rate?
- Show me session trends for the past 30 days
- What percentage of sessions come from paid vs. organic?
- How does mobile vs. desktop conversion rate compare?

## Joins with

- [Shopify](https://sourcemedium.com/integrations/shopify)
- [Meta Ads](https://sourcemedium.com/integrations/meta-ads)
- [Google Ads](https://sourcemedium.com/integrations/google-ads)
- [Klaviyo](https://sourcemedium.com/integrations/klaviyo)

## How it works

1. Connect GA4: Authenticate with Google and select GA4 property and data stream.
2. Session enrichment: Sessions are linked to Shopify orders using client ID and user ID matching.
3. Attribution analysis: Analyze conversion paths and first-touch/last-touch attribution.

## Related integrations

- [Google Ads](https://sourcemedium.com/integrations/google-ads)
- [Meta Ads](https://sourcemedium.com/integrations/meta-ads)
- [Elevar](https://sourcemedium.com/integrations/elevar)
- [Littledata](https://sourcemedium.com/integrations/littledata)
