Google 网站优化工具 - 多变体测试 - 将特定页面作为两个实验的测试页面?
我在 Google 网站优化器中设置多变体测试时遇到了一些小问题。
我希望进行两次测试。 其中之一是出现在每个页面上的标题横幅,例如,如果访问者登陆“联系我们”页面,则进行转换。 这很容易设置。
但是,当我打算添加另一个测试时,这将再次出现在每个页面上出现的元素上,并且转换页面是访问者登陆结帐页面时的页面。
但我现在安装控制脚本时遇到问题。 我收到错误:
Expected to find: }(function(){var k='0651116117',d=docum
Found on line 7: (function(){var k='2666211118',d=docum
我假设我遇到此错误,因为我现在标头中有两个控制脚本 - 每个实验一个。但是,我无法将每种变体合并到一个实验中,因为每个变体都是不同的并且具有不同的转换页面?
请指教,谢谢。
Im having a little issue with setting up Multi Variant Tests in Google Website Optimizer.
I wish to have two tests.
One being which is a header banner which appears on every page and the conversion for example would be if the visitor lands on the contact us page.
This was very easy to set up.
However when I intend to add another test, again this will be on a element which appears on every page and the conversion page is if the visitor lands on the checkout page.
But I am now having problems installing the control script.
I get the error:
Expected to find: }(function(){var k='0651116117',d=docum
Found on line 7: (function(){var k='2666211118',d=docum
Im assuming I have this error because I now have two control scripts in the header - one for each experiment. However I cannot combine each variation into just one experiment because each one is different and has a different conversion page?
Please advise, thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我写了一篇博文,解释了如何在同一页面上设置 2 个以上 GWO MVT,我认为这会回答这个问题。
但是,我怀疑您显示的错误是由于您的一些黑客行为造成的,因为我不认为将两个控制脚本复制并粘贴到一个标头会导致错误,一个测试将不起作用,但不应该是一个错误。
I wrote a blog post that explains how to setup 2+ GWO MVTs on the same page(s) which I think will answer this question.
However, the error that you display I suspect is due to some hackery on your part, because I don't think copying and pasting two control scripts to one header would cause an error, one test won't work, but there shouldn't be an error.