Quick setting of Customer journey data
by Guillaume de Benaze
€0+
🚀 Overview
Are you struggling to prepare your Google Analytics 4 data for customer journey analysis?
Have you already paid expensive tools or services just to visualize user paths?
You don’t have to.
Datama shows you how to leverage GA4 data freely available in BigQuery to quickly build a standardized customer journey dataset, ready to be used in most visualization libraries (Python, R, or JavaScript).
All of this is based on a ready-to-use SQL template, built by Datama and adapted to GA4’s data structure.
🚀 What is a Journey?
A Journey is a data visualization that reveals how users truly navigate through your website — from their first interaction to conversion… or drop-off.
Instead of analyzing isolated KPIs, Journey analysis uncovers real user paths, helping teams understand:
how users move through the site
where they hesitate or loop
where and why they abandon
across pages, features, and funnel steps.
😣 Your pain points
Journey visualizations exist in many BI tools and open-source libraries (Python, R, JS).
However, preparing the right dataset to make them work properly is:
technically complex
time-consuming
highly dependent on SQL skills
BigQuery is powerful for this use case, but not everyone is comfortable writing complex SQL queries.
That’s exactly where we help.
📂 The available SQL query
Datama provides a standard SQL template designed specifically for:
GA4 data structure
BigQuery environment
journey & sunburst visualizations
This query allows you to prepare your dataset in just a few steps.
How to use it
Make sure your GA4 property is connected to BigQuery
Copy–paste the file GA4_Journey_Sunburst.sql into BigQuery
(or clone the repository if you use Git)
Update the date range for your analysis (typically the last week)
Replace the GA4 event table name
(your_project.your_GA4_ID.events_20*)
Adjust the key page grouping field (content_group) to match your setup
Run the query and export the results
Visualize journeys and start extracting insights
🔍 Go further with Datama Journey
Datama also offers Datama Journey, a dedicated journey & process mining solution that fully leverages this dataset.
With Datama Journey, you can:
🧭 Map real user paths, including loops and alternative routes
⚠️ Identify friction points and drop-off moments
🏆 Compare high- vs low-conversion journeys
🎨 Measure the impact of UX, content, filters, or structure changes
⏱️ Detect unnecessary steps slowing down conversions
👥 Segment users contributing the most (or least) to your KPIs
🎯 Who is Datama Journey for?
Datama Journey is built for teams focused on measurable performance impact:
🛍️ E-commerce & DTC teams
📈 Growth & CRO managers
🧠 Product managers
📊 Web & data analysts
💼 Digital decision-makers
If conversion optimization matters, Datama Journey fits your stack.
🆓 Try the Journey SQL query for free
Getting started is simple:
👉 Click “I want this” to get the SQL query instantly
👉 Contact us to create your account and enjoy a 2-week free trial of Datama Journey
Let’s start exploring your users’ journeys — the right way.