First Party Cookie CNAME in test environments | Community
Skip to main content
joeyh8365667
Level 2
March 23, 2020
Solved

First Party Cookie CNAME in test environments

  • March 23, 2020
  • 1 reply
  • 4440 views

Hi, 

I have begun the process for the recommended first party cookie implementation using CNAME entries. Those are in place and Adobe has purchased the certificates. However, I'm wondering how this implementation will work correctly in test environments. For example, I test my implementation on  www.mywebsites.test  however the CNAME is setup with the domain  smetrics.mywebsites.com  so the first party cookies would not work because the domains are different, correct? 

Is there a recommended way to implement this for non-production environments? 

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 PratheepArunRaj

Dear Joey,

For Production and Non-Production environments, the implementation is the same.

Check out my blog: https://terrynwinter.com/adobe-analytics-google-announcement-and-cross-domain-tracking/

It has the answer to track Cross Domains: Using appendVisitorIDsTo.

But by default cross domains work with Third-Party Cookie and through ID sync. Above is needed only if the browsers block third-party cookies.

Thank You, Arun.

1 reply

PratheepArunRaj
Community Advisor and Adobe Champion
PratheepArunRajCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
March 23, 2020

Dear Joey,

For Production and Non-Production environments, the implementation is the same.

Check out my blog: https://terrynwinter.com/adobe-analytics-google-announcement-and-cross-domain-tracking/

It has the answer to track Cross Domains: Using appendVisitorIDsTo.

But by default cross domains work with Third-Party Cookie and through ID sync. Above is needed only if the browsers block third-party cookies.

Thank You, Arun.

Thank You, Pratheep Arun Raj B (Arun) | Xerago | Terryn Winter Analytics
joeyh8365667
Level 2
March 24, 2020

Thanks Arun, your blog post was very helpful!

My only remaining question, is for test environments do I need still point the recording to my smetrics.mywebsite.com ?  Or do I need to setup CNAME entries and have Adobe purchase certs for my test environments as well (i.e. smetrics.mywebsite.test,  smetrics.mywebsite.dev) ?