👉 Day(s) Since First Session criterion

The Day(s) since first session criterion is a segmentation criterion that enables you to create a segment

 📖 Definition

The Days since first session criterion enables you to create an audience segment based on the date of your visitors’ first visit (or session).

⭐ Good to know

A session ends after 30 minutes of inactivity.

⚙️ Configuration

To use this criteria, drag and drop the Number of sessions label inside the middle column of the segment builder. You will have to choose from the following operators to configure your segment, which will determine the operation behind the value you will declare:

  • is equal or greater than: will include the submitted value as long as every other superior values
  • is equal or lower than: will include the submitted value as long as every other inferior values  

Then indicate the required value inside the number field. 


Let’s assume a user made his first visit five days ago. If you have created a segment based on the Days Since First Session criteria with the value 7 and with the operator is equal or greater than, the user will join your segment precisely two days after its creation, as soon as he returns to your website.

 💡 Use case

Basing yourself on the “Days since first session” criterion could enable you to create an audience segment targeting all former users. Imagine that a massive partnership email campaign has attracted new visitors to the website for the first time. If you would like to send a message with a promo code to returning users, you can use this criterion while excluding visitors whose first session took place less than 60 days ago.

🔎 How Does It Work?

AB Tasty records the date of their first session using a specific ABTasty cookie placed on the visitor’s browser. AB Tasty sets a value for each visitor in a specific variable (key is = fst for “first session timestamp”). When the visitor returns to the website, AB Tasty checks the amount of time that has passed between this timestamp and the current date and approves visitor inclusion into the segment (or not).
This segmentation criterion is based on the AB Tasty cookie that saves the number of sessions. If the user clears their cookies, uses a new browser, another device, or the incognito mode to visit your website, they will be considered as a new user and AB Tasty will be unable to acknowledge them as part of the segment or to count their new session.


Need additional information?

Submit your request at product.feedback@abtasty.com

Always happy to help! 


Was this article helpful?