New/Returning visitors criterion

This article will show you how to use this Segment criterion.

The New/Returning visitors criterion is a segmentation criterion that enables defining a segment.

To learn how to create a segment, please refer to this article.

📖 Definition:

The New/Returning visitors criterion enables you to segment your audience based on the presence (or absence) of the AB Tasty cookie (for more on this, please refer to our article on AB Tasty cookies).

🔎 How Does It Work?

The information comes from a specific ABTasty cookie. AB Tasty sets a value for each visitor in a specific variable (key is ns for the number of sessions). This variable is incremented each time a visitor is initiating a session when the session’s first page loads. A new visitor is a visitor with an ns value of 1.

See Consent policy, cookies and storages documentation

⚙️ Configuration

From a practical standpoint, ever since you placed the AB Tasty tag on your website, AB Tasty has started collecting your visitors’ browsing data (sessions, page views, behavior). Each visitor is assigned an AB Tasty cookie with a unique visitor ID (uid) when they go to your website and accept cookies. This cookie is valid for 13 months, unless the visitor uses incognito browsing or clears their cookies.

This method, which complies with current regulations (GDPR), enables us to identify first-time visitors (since the AB Tasty tag was placed) and returning visitors, and to create 2 complementary segments to be used for targeting personalization campaigns.

💡 Use case

Using the “New visitor” value, you can deliver a welcome message (modal, banner, etc.) which will only be seen by first-time visitors.

Need additional information?

Submit your request at [email protected]

Always happy to help!

Ali_love.png

Last updated

Was this helpful?