
Customer Segmentation Analysis: RFM Example With Data
Follow a customer segmentation analysis example using RFM. Download the dataset, check refunds and duplicates, and build a customer review list.
Marketing Analytics — Guide · 2026
Build the same traffic-source report in Library or Free-form, then check its definitions, team visibility and delivery options.
You need a report showing which traffic sources bring sessions that complete an important action. In Google Analytics 4 (GA4), the first choice is where that report should live.
Quick answer
Build a GA4 custom report in Reports → Library when your team needs to find it again in Reports navigation. Use Explore → Free form when you need a flexible table for a particular analysis. Library reports must be added to a published collection before they appear in navigation. Explorations start private, and sharing one gives colleagues read-only access rather than a jointly editable report. To build the report through a conversation, connect GA4 to Anomaly AI and describe what you need.
This guide carries the same question through both paths: What is the session key-event rate by traffic source for the last 30 days? The settings stay consistent so you can compare the resulting reports, not two different definitions of conversion.
| What you need | Reports → Library | Explore → Free form |
|---|---|---|
| A report colleagues can reopen from Reports navigation | Create a report, add it to a collection and publish the collection. | A saved Exploration lives in Explore, not Reports navigation. |
| Permission to build | Editor or Administrator. | Viewer can create a personal Exploration; Analyst is required to share it. |
| What colleagues receive | Access through Reports, subject to their property permissions and any applicable collection restrictions. | A shared, read-only Exploration; they must duplicate or copy it to edit. |
| Recurring email from GA4 | An Administrator can schedule standard or custom Reports. | GA4's native recurring email feature does not schedule Explorations. |
| A flexible analytical workspace | Configure the report's dimensions, metrics, filters and charts. | Rearrange a table, apply segments, or use another exploration technique for a different question. |
These differences follow Google's report-creation, access, Explorations and scheduling documentation.
Older tutorials may tell you to use Customization → Custom Reports. That is the old Universal Analytics path, not either GA4 workflow below.
Use the same property and the same dates in both versions. For the last 30 days, choose 30 completed calendar days ending yesterday. Write down the start and end dates in the property's reporting timezone, then enter those exact dates in both builders.
For the screenshots, we fixed the dates at 29 September–28 October 2026 inclusive in the low-volume Anubhav Portfolio property. It contains just five sessions and no key events in that period. These are real results, not synthetic data or evidence of conversion performance. Keep zero values and (not set) visible rather than removing inconvenient rows.
The example needs three fields. A dimension supplies a label to group the data; a metric supplies a number. A session groups someone's interactions during a visit.
| Field | What it tells you |
|---|---|
| Session source / medium | Where a session came from, such as a search engine and its traffic type. |
| Sessions | How many sessions that source brought during the chosen period. |
| Session key event rate | The share of those sessions during which at least one key event happened. |
A key event is an event marked as important to your business. This example uses all key events, not one selected event. It therefore answers whether a session included any action marked as a key event. It does not specifically measure purchases or qualified leads unless your key-event setup makes that interpretation valid.
Google defines the rate as:
Session key-event rate = sessions containing a key event ÷ total sessions × 100%.
Here, the denominator is all sessions for that traffic source. Do not replace sessions containing a key event with the Key events metric. That metric counts how many times key events occurred; a session can contain more than one. Also avoid First user source / medium, which describes the user's original acquisition rather than the source of the current session. See Google's dimension and metric definitions.
Do not add an event-name filter to imitate an event-specific rate. Filtering the underlying data can change the population being measured. Start with the all-key-events version and keep its meaning explicit.
Select the correct GA4 property, open Reports, then choose Library near the bottom of its navigation. Creating or customizing reports requires the Editor or Administrator role.
In the Reports section, select + Create new report → Create detail report. Choose a traffic-acquisition template when available, or Blank to start empty. A template supplies a starting configuration; it does not decide the question your report should answer.
Choose a detail report for this example because you need a table of traffic sources and metrics. An overview report is a different format: a set of summary cards based on detail-report definitions. You do not need an overview to build this table. Google documents detail-report creation and overview reports separately.
Find the detail-report builder in Library
In the Customize report panel, open Dimensions. Add Session source / medium, set it as the default dimension, and apply the change.
Open Metrics and add Sessions and Session key event rate. Remove unrelated columns if they distract from this question. Where GA4 offers a key-event selection, keep the rate across all key events rather than selecting an individual event. Use that same definition in both versions.
Leave report filters off for the initial comparison. A filter restricts the data, so a saved country, device or channel filter would make this a different report. If you later add one, record its definition and apply the same restriction in the Exploration.
Choose charts that help you read the table, or hide charts that do not. Sorting by Sessions helps you examine rate differences alongside the amount of traffic behind them. A high rate on very little traffic is not enough, by itself, to decide where to move budget.
Google's customization instructions cover the dimension picker, metrics, filters and charts. A detail report supports up to 12 metrics, but this example only needs two.
Keep the two metrics and all key events
Save the new report with a descriptive name, such as Session key-event rate by source. If you began by customizing an existing report instead of creating one in Library, choose Save as a new report to preserve the original.
The saved report now exists in Library. That does not mean colleagues can find it in their Reports menu. The next step puts it there.
Our saved report, Session key-event rate by source — article test, kept its configuration when reopened. It shows 3 sessions for (direct) / (none) and 2 for (not set), with a 0% session key-event rate on each row and the five-session total. GA4's data-quality indicator said, “This report uses mostly complete data.” That is the observed result, not an independent check against the underlying events.
Reopen the saved report and check its results
A collection groups reports in GA4's navigation; a topic groups related reports inside that collection.
Return to Library and find a suitable collection. Choose Edit collection, locate the new detail report in the list on the right, and drag it under the relevant topic on the left. Save the collection.
If you need a new collection, choose Create new collection → Blank, name it, create a topic, and add the detail report. Then save it.
Place the saved report under the right topic
Check the collection's publication state. If it is unpublished, open its More menu and choose Publish. Saving alone does not publish it. An existing published collection does not need to be recreated just to add a report.
Find Publish on an unpublished collection
Open the report again through Reports navigation, not directly from Library. Confirm that the right table appears and enter the exact dates chosen earlier. Ask an intended colleague to verify access before relying on it as a shared report. Analytics 360 can apply additional collection-access restrictions. These steps follow Google's navigation and collection instructions.
Test boundary: We did not complete collection publication or verify a colleague's access. The attempted collection was discarded without saving; the report's Collection field remains empty and no default navigation was changed. The collection instructions above follow Google's documentation, not a completed publication test.
From the report, choose Share this report → Share Link to copy its link. Recipients still need appropriate Analytics access; the link does not make the report public.
For a file, use Share this report → Download File and choose PDF, CSV or Google Sheets. Viewer access is sufficient for sharing and exporting. If those controls are missing, leave customization mode and reopen the saved report through Reports navigation. Google explicitly identifies Library customization mode as a reason sharing and export are unavailable.
For recurring delivery, an Administrator can choose Share this report → Schedule Email. Set the recipients, first send date, frequency, active period and PDF or CSV format. Recipients must have property access. Available frequencies are daily, weekly, monthly and quarterly; schedules remain active for 1–12 months rather than indefinitely. Check Google's current scheduling requirements before setting one up.
Open sharing, export and scheduling options
For a broader recurring stakeholder report, use the separate GA4 weekly report template. If the goal is an ongoing team view rather than this one table, the GA4 dashboard guide covers that job.
For the captured example, we used Open this report as an exploration from the saved Report and acknowledged the compatibility warning. We checked that the dates and fields carried over. The manual setup below follows Google's instructions; its individual import-and-drag actions were not separately tested in this run.
Open Explore and select Free form. Name the Exploration Session key-event rate by source and choose a table visualization.
The Variables panel holds the fields available for the analysis. The Settings panel, called Tab settings in Google's guide, determines which of those fields appear in the current table. Importing a field does not automatically put it into the table.
In Variables, open the date selector and enter the same explicit start and end dates used in Reports. Matching calendar dates avoids comparing different rolling presets.
Use the + beside Dimensions to import Session source / medium. Use the + beside Metrics to import Sessions and Session key event rate.
Drag Session source / medium into Rows in Settings. Drag the two metrics into Values. Leave segment comparisons, filters and column dimensions empty for this first version.
Check that the rate still describes all key events. Do not substitute event count divided by sessions if a field is unavailable. An incompatible field combination needs to be resolved, not disguised with a different calculation.
Google's Free-form guide explains the table controls, while its Explorations overview covers importing fields and applying them to Tab settings.
Compare the same fields in Free-form
Check a few matching source/medium rows, their session counts and their rates. Confirm the property, dates, key-event selection and filters before investigating any difference.
In our example, both GA4 surfaces returned the same two rows and five-session total, all with a 0% rate. This confirms agreement for this small case only; it does not establish how they will compare on a larger property.
Matching settings do not guarantee identical numbers. Explore's available history, the fields and filters used, privacy rules, estimated data and processing of recent activity can affect the comparison. Google's explanation of Reports and Explorations differences describes these conditions. Do not treat either table as wrong merely because the totals differ.
If your next question is where people leave a sequence, a Funnel exploration is a different analysis. If it is which pages or events people visit next, consider Path exploration. Neither replaces the source-and-rate table built here.
A new Exploration is private. With at least Analyst access, choose Share exploration to make it available to other property users. Recipients can view the shared original but must duplicate or copy it to edit.
Use Export data for Google Sheets, TSV, CSV, PDF or PDF for all tabs. Explorations are not natively schedulable through GA4's recurring email feature. Use a Report if that delivery method is required. Google's Explorations documentation covers sharing and export; its scheduler documentation applies to standard and custom Reports.
Once you have checked the unfiltered table, you can use a segment to investigate a subset of users, sessions or events. For example, a session segment can focus the Exploration on sessions from a particular device category.
In Variables, select the + beside Segments. Create a new segment, choose its scope, name it and add the conditions you need. Select Apply, then drag the segment from Variables into Segment comparisons in Settings. To compare groups, add another segment. Segments apply to Explorations; adding one changes the population, so remove it before comparing the table with the unfiltered Library report. See Google's segment builder and segment comparison instructions.
If a field you need is not available as a built-in dimension, you may need a custom dimension. For example, an event-scoped dimension can make a custom event parameter available for reporting. First ensure your website or app sends the parameter and GA4 is collecting it; creating a definition does not start collection.
With Editor or Administrator access, go to Admin → Data display → Custom definitions → Custom dimensions and select Create custom dimension. Enter a name, choose Event scope, select or enter the event parameter, and save. After the data is collected and the definition is created, Google says to allow 24–48 hours for reporting. In Free form, select + → Custom beside Dimensions, import the new field and drag it into Rows or Columns. For a detail Report, an Editor or Administrator can add an available custom dimension when customizing its dimensions. See Google's event-scoped dimension instructions and custom-dimension overview.
Test boundary: These optional segment and custom-dimension steps follow Google's documentation; we did not perform them in the captured example.
You do not need a downloadable template to recreate this report. The reusable recipe is:
GA4 provides native report templates and exploration starting points. A report linked to a Google template can receive later template updates; a blank report starts without that link. Review that behavior before unlinking a template, rather than treating a template as a frozen download. See Google's template-linking guidance.
When a report looks incomplete, inspect the data-quality indicator before changing the calculation. Sampling means GA4 uses part of the data to estimate a result. Thresholding withholds data to protect privacy. They are different explanations for an incomplete-looking table.
For standard properties, an Exploration query involving more than 10 million events may be sampled. Reports are not governed by that Exploration limit, but “Reports are never sampled” would also be inaccurate. Google's sampling and data-quality documentation explains what to inspect.
An (other) row is different again: some dimension values are grouped together when the report's underlying table cannot retain every distinct value. A wider date range or more detailed breakdown can therefore affect what you see. See Google's explanation of the (other) row.
Finally, a source's higher key-event rate does not prove that the source caused better outcomes. Check the amount of traffic, the actions marked as key events and the business context before making a budget decision.
With Anomaly AI, you describe the report you want in plain language. Anomaly uses your connected GA4 data to produce the analysis, with a table, chart and supporting calculation you can inspect. You specify the result you need without selecting and arranging each field in GA4's report builder.
Connect your GA4 property. For this example, we connected the same property and synced its native GA4 Traffic Acquisition Session Source Medium Report for 29 September–28 October 2026. The report is built in your Anomaly project using GA4 data.
Connect GA4 and choose your reporting dates
Describe your report. For a report like this, ask:
Example prompt
Show Sessions and Session key-event rate by Session source / medium for 29 September–28 October 2026. Include each traffic source and the overall total. Use all key events, with no added filters, and show the supporting data and calculation.
With GA4 already connected, our first response returned the traffic-source breakdown in about two minutes. To complete the overall total, we asked a follow-up to retrieve the native GA4 rate without grouping by traffic source. That response took about one minute and updated the existing report.
Complete the report with a follow-up
Review the matching results. The final report shows 3 sessions at 0% for (direct) / (none), 2 sessions at 0% for (not set), and an overall total of 5 sessions at 0%. The source rows and the overall session key-event rate match GA4 for the same property and dates.
The overall rate comes from a separate native GA4 request, not an average of the source rows. The updated table also shows 0 sessions containing a key event, clearly labelled as derived from the raw native values: 5 sessions × 0 = 0.
Review the completed report and its calculation
You can ask for a different breakdown or another check in the same conversation. The workflow stays focused on the report you need: describe it, refine it and review the result.
The successful total query reads the native whole-period result. GA4's raw rate is a fraction, so the derived session count is Sessions multiplied by that unrounded rate:
SELECT t."sessions", t."sessionKeyEventRate",
t."sessions" * t."sessionKeyEventRate"
AS "sessions_with_key_event_derived"
FROM "session_key_event_rate_period_total_windowed/2026-09-29..2026-10-28" t;
We checked the native total table directly: property 350192784, start date 2026-09-29, end date 2026-10-28, Sessions 5 and raw Session key event rate 0. This verifies agreement with GA4's reported metrics, not an independent reconstruction from raw events.
The first response on 29 October was still generating after about 89 seconds and complete by about 126 seconds. The follow-up on 30 October completed in about 62 seconds. These response times exclude connection setup, prompt entry and the gap between requests; they are not a head-to-head speed benchmark against GA4.
The connector did not expose the property's named reporting timezone; the requests use GA4's property-based reporting dates. This example covers report generation and checking the result in Anomaly, not export, scheduled delivery or writing a report back into GA4.
A property can contain up to 150 custom Reports. Explorations have separate limits: 200 individual Explorations per user per property and 500 shared Explorations per property. Publishing a collection does not turn an Exploration into one of those Reports. Sources: custom Reports and Exploration limits.
Check that you are sending the custom data and have created the corresponding custom-dimension definition. Google says to allow 24–48 hours after both are in place before reporting on it. A report builder cannot supply data that has not become available. See Google's custom-dimension guidance.
In Explorations, Sheets, TSV and CSV exports can include data beyond the currently displayed rows. PDF captures the displayed visualization, with additional limits for large all-tab tables. Reports and Explorations have a 100,000-row export ceiling; unsampled Exploration exports also have a 10-million-cell limit. See export behavior and configuration limits.
No universal on-screen maximum is specified in Google's documentation for detail Reports. Free-form has a Show rows setting, but its Help page does not state a numeric maximum. Do not confuse visible rows with export ceilings or underlying table limits. Sources: Free-form controls and report table behavior.
Connect GA4 to Anomaly AI and build your custom report in plain English.
Continue exploring AI data analysis with these related insights and guides.

Follow a customer segmentation analysis example using RFM. Download the dataset, check refunds and duplicates, and build a customer review list.

Export the report you need, refresh it when necessary, and check the numbers before turning it into a weekly traffic update.

One weekly marketing question, asked from Claude Code through Anomaly’s MCP server and traced to its SQL and rows, with the daily-users trap worked out in the open.
