Adobe Analytics - New Vs Repeat always showing new | Community
Skip to main content
Sujeet_Kharote
New Participant
Sep 30, 2024 4:59 PM UTC
Question

Adobe Analytics - New Vs Repeat always showing new

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.

8 replies

bjoern__koth
New Participant
Sep 30, 2024 6:11 PM UTC

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?

Translate
Cheers from Switzerland!
Sujeet_Kharote
New Participant
Sep 30, 2024 9:22 PM UTC

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

Translate
Jennifer_Dungan
Level 2
Oct 1, 2024 2:48 AM UTC

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?

Translate