Skip to main content

Solution: Experiment Code Missing the cookie domain name

Error Looks like:

Experiment code missing the cookie domain name declared in tracking code

This error happens when you have the old Google Analytics Code and the Content Experiments Code is of a later version. 

We recommend that you update the GA Code but if you cannot, add a domain declaration just above the Google Content Experiments Code like:

 

<script> _udn = ".example.com" </script> <!-- Google Analytics Content Experiment code -->