Why aren't results from Google Analytics Content Experiments showing?

别来无恙 提交于 2019-12-04 08:53:54

So i managed to finally find some info regarding this.

If you're using setDomainName, setAllowHash false, and/or setCookiePath you'll need some extra code just before the Experiments code.

_setDomainName('example.com'); requires _udn="example.com";

_setAllowHash(false); requires _uhash="off";

_setCookiePath('/'); requires _utcp="/";

This should be added just before the Google Analytics Experiment code as such:

<script>
_udn = "example.com";
</script>
<!-- Google Analytics Experiment code -->
... Contents of the experiment code ...
<!-- End of Google Analytics Experiment code --> 

Hope this helps someone else.

Source: http://support.google.com/analytics/bin/answer.py?hl=en&answer=2658141

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!