Expand my Community achievements bar.

All cookies rejected for site

Avatar

Level 3

I am using the common analytics plugin to initialise getPageLoadTime & also setting some other cookies for prevPageName etc.

It works on dev & stage but on prod gives below warnings

 

Cookie “TEST_AMCV_COOKIE_WRITE” has been rejected for invalid domain - all environments

Cookie “s_plt” has been rejected for invalid domain.

Cookie “s_pltp” has been rejected for invalid domain.

Cookie “prevPageName” has been rejected for invalid domain. 
Cookie “prevPageURL” has been rejected for invalid domain.
Cookie “s_plt” has been rejected for invalid domain. 
Cookie “s_pltp” has been rejected for invalid domain
 
Not sure whats causing this but the eVars for page load time, prev page name/url  which works on dev & stage doesn't work on prod now.
Would really appreciate some help in understanding this issue & resolving it.
2 Replies

Avatar

Community Advisor

Have you set the Cookie Domain Periods correctly in your Analytics extension configuration?

Avatar

Level 4

Sounds like a domain mismatch issue but if you could share how your cookie settings are in the Adobe extension, people might be able to help you.

 

Go to Extensions > Adobe Analytics > Scroll down to Cookies > Screenshot that for us.

 

I would also start with @yuhuisg 's suggestion on checking your cookie settings.

 

More docs on that: 

https://experienceleague.adobe.com/docs/analytics/implementation/vars/config-vars/cookiedomain.html?...

https://experienceleague.adobe.com/docs/analytics/implementation/vars/config-vars/cookiedomainperiod...