Retention analysis for your website

The retention report in Loogika shows how many visitors come back in the weeks after their first visit.

What is retention?

Retention is the share of visitors who return after their first visit. A retention report groups visitors by the week they first arrived. Each group is called a cohort.

The report then shows how much of each cohort came back in the weeks that followed. You can group cohorts by day or by week. For logged-in users you can send your own user ID.

How do you read a retention table?

Each row is a cohort, and each column is a later week. Read across a row to see how quickly a cohort fades. Read down a column to compare cohorts at the same age.

Which sites need retention data?

Retention matters most for sites people should return to. Software products, news sites, communities and shops with repeat customers belong here.

A campaign landing page is different. Most visitors come once, and the conversion rate says more than retention does.

How do you set up the retention report in Loogika?

The retention report needs the Loogika tracking script and one setting. User ID Salting must be off, and it is on for a new site. With salting on, Loogika forgets every visitor at midnight UTC, and the report tells you so in a notice.

Turn User ID Salting off under the privacy switches in Site Settings. The visitor ID then stays the same from day to day, so you must assess whether your site needs consent.

Retention gets more accurate when you identify logged-in users. Without a user ID, one person on two devices counts as two visitors. When your site calls identify() after login, Loogika gathers that person's sessions in one profile across visits and devices. See how to send your own user ID.

You can fetch the cohort table through the API. The retention endpoint takes a mode of day or week, with week as the default. The range parameter sets how far back to look, from 7 to 365 days, and the default is 90. A value of null in the response means that the period has not happened yet.

Questions about retention

Is the retention report included in every plan?

Yes. Every Loogika plan includes it.

Related features

Try Loogika on your own site

The free trial lasts 7 days. You add one script tag to get started.

Start your free trial