crispstats.identify, and anonymous visitors on sites with persistent visitors turned on. Daily anonymous ids reset every day, so they are not counted.
Open it from the sidebar under Analytics, Retention, or press g then t. The report follows the date range and filters in the top bar.
Get data into the report
Retention stays empty until the site has stable identities. Do one or both:1
Identify signed-in users
Call See identify users.
identify with your own user id when someone signs in. Their sessions are then linked across days and devices.2
Or turn on persistent visitors
In Settings, General, turn on Persistent visitors, then add This stores an identifier on the visitor’s device, which may need their consent. See persistent visitors.
data-persist to your script tag. Anonymous visitors are then recognised across days through a random id kept in the browser.3
Wait for a second period
Retention needs at least one cohort that has reached its next period, for example a week that has ended with the following week under way. Until then the screen shows Not enough history to show retention yet. A longer date range or a shorter interval can help.
Choose an interval
The interval control switches between Daily, Weekly (the default) and Monthly. It is kept in the URL as?interval=day or ?interval=month.
Periods use the site’s timezone.
Read the report
Headline. Average retention at period 1, 4 and 8, such as Week 1, Week 4 and Week 8, with the number of cohorts and new visitors behind them. A period no cohort has reached yet shows Not reached. Average return rate. A curve of the average from period 1 on, shown once cohorts reach period 2. Hover a point for its value. Cohorts. One row per cohort, with the cohort’s start date and size, and one cell per period. Use Show cells as to switch between Percent and Visitors. Cell shading runs from Fewer came back to More came back. How the numbers are counted:- Cohort. The visitors whose first visit ever falls in that period and inside the selected date range. With filters on, only visitors with a matching session in the range are included.
- Size. The number of visitors in the cohort.
- Period 0 is always 100%.
- Period N is the share of the cohort with at least one session N periods after the cohort’s period.
- Future periods that have not happened yet are left empty, not counted as zero.
- Average for a period is weighted by cohort size, over the cohorts that have reached that period.
Why daily ids are left out
By default, CrispStats recognises a visitor with a hash that rotates every day and stores nothing in the browser. The same person gets a new id the next day, so there is no way to tell that they came back. Counting those ids would show every cohort dropping to zero after period 0, which is not a real measurement, so the report leaves them out.
For returning visitors within a single day, use the Returning segment on the Visitors screen.
Next steps
Identify users
Link sessions to your own user ids.
Persistent visitors
Recognise anonymous visitors across days, and what it means for consent.
Visitor profiles
Follow one visitor’s sessions step by step.