google analytics content experiment without redirect getting no visitors

北城以北 提交于 2019-12-01 14:42:08

Change the ga.src to ga.js experiments don't seem to work with stats.g.doubleclick.net/dc.js

ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';

was changed to

ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

This solution is not optimal since it stops me from getting demographic data but I am at least getting experiment data now.

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