getNewRepeat plugin being implemented eVars only showing New and No Cookie - Data Collection | Community
Skip to main content
March 25, 2025
Solved

getNewRepeat plugin being implemented eVars only showing New and No Cookie - Data Collection

  • March 25, 2025
  • 3 replies
  • 682 views

I downloaded the Common Analytics Plugin and have initialised getNewRepeat. I then used the adobe analytics extension to set variables and I've put opened editor and have put in s.eVar4 = s.getNewRepeat();

 

When I look at debugger I see that eVar4 is always "New" despite the fact I have used the same browser to re enter my site many times - theres bound to be at least a repeat but when I look at my AA freeform table I'm only seeing "New". From what I read the plug in should be creating a cookie to help AA identify if they are new or repeat customers but the only cookies I am seeing are starting with s_ is s_cc and s_sq. 

 

what to do?

Best answer by Harveer_SinghGi1

HI @humanmystery ,

It looks like your plugin isn't working as the cookie that it is supposed to use is named s_nr which you don't see. Have you tried calling the plugin outside object i.e. s.eVar4 = getNewRepeat(); ?

Other thing to check is if you have tried visiting the site after 30 minutes of inactivity? Basically try to create a second visit and see if you get the repeat visitor?

Cheers!

3 replies

Harveer_SinghGi1
Community Advisor
Harveer_SinghGi1Community AdvisorAccepted solution
Community Advisor
March 25, 2025

HI @humanmystery ,

It looks like your plugin isn't working as the cookie that it is supposed to use is named s_nr which you don't see. Have you tried calling the plugin outside object i.e. s.eVar4 = getNewRepeat(); ?

Other thing to check is if you have tried visiting the site after 30 minutes of inactivity? Basically try to create a second visit and see if you get the repeat visitor?

Cheers!

April 7, 2025

I tried s.eVar4 = getNewRepeat(); and waited 30 mins to revist the page and im still seeing a new visit 

Sukrity_Wadhwa
Community Manager
Community Manager
April 2, 2025

Hi @humanmystery,

Was the given solution helpful to resolve your query or do you still need more help here? Do let us know. In case the given solution was helpful, then kindly choose it as the 'Correct Reply'.

Thanks!

Sukrity Wadhwa
purnimajena
Level 3
April 7, 2025

@humanmystery Ideally, the plugin should be initialized in your Adobe Launch custom code editor—either within the Analytics extension or in a rule that runs before setting variables. The plugin sets a cookie named s_nr, so make sure there are no cookie restrictions, and that you're testing on a proper top-level domain (like example.com, not localhost or an IP address).
It's recommended to place s.eVar4 = s.getNewRepeat(); inside the "Set Variables" action.
Also, for a visitor to be classified as "Repeat," they must return to the site at least 30 minutes after their first visit.