Adobe Analytics - New Vs Repeat always showing new | Community
Skip to main content
Sujeet_Kharote
September 30, 2024
Question

Adobe Analytics - New Vs Repeat always showing new

  • September 30, 2024
  • 1 reply
  • 1330 views

I am currently implementing Adobe Analytics using AppMeasurement for a client. On the staging site, the "new vs. repeat visitor" metric always shows as "new," while it works correctly as "repeat" on the production site. The e_mcid (Marketing Cloud ID) is the same for both environments. Could this issue be related to the cookie domain or its expiration period? What additional settings should I check to resolve this issue?

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

1 reply

bjoern__koth
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
September 30, 2024

Hi @sujeet_kharote 

This sounds less like an issue with the analytics integration, more like cookies cannot be written, and hence, every hit is interpreted as new user. Do you have any functionality that could potentially impact if cookies are written like a consent management platform? Else, any ad blockers or similar installed?

 

Alternatively, is your stage environment's domain structure fundamentally different from PROD?

Maybe worthwhile checking the cookieDomainPeriods settings - though nowadays this should be detected automatically.
https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/config-vars/cookiedomainperiods#:~:text=The%20cookieDomainPeriods%20variable%20helped%20AppMeasurement,cookies%20in%20the%20correct%20location.

 

And to clarify, is the prod version the same as staging or is it an old implementation that shall be replaced by stage?

Cheers from Switzerland!
Sujeet_Kharote
September 30, 2024

Thankyou for the reply.

The prod version is same as staging. Cookie domain for stage is 3 and prod is 2 I have already set s.cookiedomainperiods based on URL. When I run the same launch script on prod, everything is working fine i.e. I can see repeat visitors

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
October 1, 2024

Some QA environments don't allow JS to write cookies... I have had that issue before.. there wasn't anything I could do about it either...  can you see other s_ cookies being set in your QA environment?