Time-based session start analytics

session_start is a system event Bloomreach tracks whenever a device connects to a website with Bloomreach tracking enabled. Time-based session_start analytics build on the standard new vs. returning breakdown by splitting returning visitors into segments based on how many days have passed since their last session_start—giving you a clearer picture of retention patterns, re-engagement opportunities, and the overall health of your customer acquisition.

Why use this analysis

This analysis gives you a more complete picture of customer behavior than the standard new vs. returning metric. Specifically, it helps you:

  • Understand retention patterns: See how quickly customers come back and how that changes over time.
  • Identify acquisition trends: A spike in first session_start events points to acquisition activity; growth in short-return segments signals strong retention.
  • Take action: Use the segments directly in email campaigns, UX interventions, or retargeting audiences.

What the output looks like

This analysis measures the time between session_start events in days and groups each session into 1 of 7 segments—from first-ever visits to returns after 30 or more days.

SegmentDescription
1st session_startNo previous session_start on record
Return within 24 hoursPrevious session_start was less than 1 day ago
Return within 1–3 daysPrevious session_start was 1 to 3 days ago
Return within 3–7 daysPrevious session_start was 3 to 7 days ago
Return within 7–14 daysPrevious session_start was 7 to 14 days ago
Return within 14–30 daysPrevious session_start was 14 to 30 days ago
Return after 30+ daysPrevious session_start was more than 30 days ago

Example insight: In a mature ecommerce business, you'd typically expect a higher proportion of returns in the 1–7 day range. A high share of 1st session_start events often indicates heavy paid acquisition activity.

Requirements

SkillssBasic. This guide walks you through each step using an Expression and an Event segmentation.
Data and trackingsession_start event tracking enabled. At least 2 months of data is recommended.

Step 1: Create the expression

The expression calculates the number of days since the previous session_start. You'll use it in the event segmentation in Step 2.

1. Create the expression

  1. Go to Data manager and create a new expression for the session_start event.
  2. Add the timestamp attribute. This returns the timestamp of each session_start event currently being evaluated.
  3. Add an arithmetic operator and then add the running aggregate last session_start timestamp. This returns the timestamp of the previous session_start event, so you can subtract the 2 to get the time difference. If no previous event exists, the expression returns no value—this identifies first session_start events.
  4. Divide the entire formula by 86400 and add brackets. Timestamps are measured in seconds, so dividing by 86400 (the number of seconds in a day) converts the result to days.
  5. Click Save.

Step 2: Create the event segmentation

Create a new event segmentation in the Data manager with seven segments—one for each return-time group.

SegmentCondition
1st session_startExpression returns no value
Within 24 hoursExpression value is less than 1
1–3 daysExpression value is between 1 and 3
3–7 daysExpression value is between 3 and 7
7–14 daysExpression value is between 7 and 14
14–30 daysExpression value is between 14 and 30
30+ daysExpression value is greater than 30

📘

Tip

Copy each segment and edit its properties rather than building each one from scratch.

Click Save when all seven segments are complete. The segmentation is now available to use in analyses and dashboards.

Step 3: Create a daily traffic report

Use a Report to see how each segment contributes to your daily traffic. This view lets you spot shifts in acquisition or retention at a glance.

SettingValue
Date filterSet the period you want to analyze (one week recommended)
RowsSelect timestamp — Grouping: None, Format: Year month day
ColumnsSelect the event segmentation you created in Step 2 (listed under Event segmentations)
MetricsCount event session_start — select First

Example insight: If you see a traffic spike on a particular day, check which segments drove it. A spike in 1st session_start events points to acquisition activity. Increases across 14–30 day and 30+ day return segments suggest a re-engagement campaign is working.

Save the report to a dashboard to monitor traffic patterns over time.


© Bloomreach, Inc. All rights reserved.