How to calculate returning visitors in AA | Community
Skip to main content
Level 4
September 9, 2021
Solved

How to calculate returning visitors in AA

  • September 9, 2021
  • 3 replies
  • 5231 views

Hi Team,

 

How can I create calculated metric for returning visitors or do I need to create segment for this. If yes, how can I do that.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Pankaj_Sabharwal

Hi Bindu

 

You can create a segment as mentioned appropriately by Andrey. I am adding a few more ways to keep a track of new and repeat visitors. One way is to simply create the ‘rule’ in adobe launch by adding the extension Common Analytics Plugins. Attaching the screenshot of steps that you need to follow.

 


 

Then further you can set the variables as in the corresponding eVar that will store the new/Repeat visitor value.

 

Another way is to create a Data Element newRepeat and add the following code snippet :

 

var newRepeat = document.cookie.indexOf('s_nr') > -1;

 

if(newRepeat) {

  return "Repeat";

} else {

  return "New";

}



 

It’ll help in tracking the returning visitors. Let me know if this answers your question.

 

Thanks

3 replies

Andrey_Osadchuk
Level 10
September 9, 2021

Returning visitors are those whose Visit Number > 1.

Create a metric with the corresponding segment.

 
BrianTophamAdobe
Adobe Employee
Adobe Employee
September 16, 2021

One point of clarification: Andrey's suggestion is spot on for finding users that have every been to your tracked property before. If the question is return visitors *during* the selected date range, you'll need to create a sequential segment to look for visitors that had more than 1 visit. 

Pankaj_SabharwalAccepted solution
Level 5
January 12, 2022

Hi Bindu

 

You can create a segment as mentioned appropriately by Andrey. I am adding a few more ways to keep a track of new and repeat visitors. One way is to simply create the ‘rule’ in adobe launch by adding the extension Common Analytics Plugins. Attaching the screenshot of steps that you need to follow.

 


 

Then further you can set the variables as in the corresponding eVar that will store the new/Repeat visitor value.

 

Another way is to create a Data Element newRepeat and add the following code snippet :

 

var newRepeat = document.cookie.indexOf('s_nr') > -1;

 

if(newRepeat) {

  return "Repeat";

} else {

  return "New";

}



 

It’ll help in tracking the returning visitors. Let me know if this answers your question.

 

Thanks