是否可以对 URL 重写的页面执行 Google 网站优化?
我有一种页面格式,我想使用 google 网站优化器对其进行 A/B 比较。
网址如下所示 - 我想要比较的第一页...
<mywebsite.com>/request1/([a-zA-Z0-9\-]*)_([0-9]+).htm
与
<mywebsite.com>/request2/([a-zA-Z0-9\-]*)_([0-9]+).htm
目标页面是
<mywebsite.com>/request-sent.htm
如何在谷歌网站优化器中设置它?如果不可能,是否有其他解决方案可用于在线进行此类比较报告?
I have a format of pages that I want to perform an A/B comparison on using google website optimizer.
the URLs look as follows - the first page I want to compare...
<mywebsite.com>/request1/([a-zA-Z0-9\-]*)_([0-9]+).htm
vs
<mywebsite.com>/request2/([a-zA-Z0-9\-]*)_([0-9]+).htm
the goal page is
<mywebsite.com>/request-sent.htm
How can I set this up in google website optimizer? If it's not possible, are there alternative solutions available for doing such comparison reports online?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 Google 网站优化工具执行您所描述的操作,但无法使用 A/B 测试来执行此操作,您必须运行 MVT 测试来模拟 A/B 测试。
要让 MVT 测试模拟 A/B 测试,您必须创建一个部分,然后将部分代码直接包裹在控制脚本下方的空白处,然后为该部分创建一种替代方案,其中包含一些将用户重定向到 B 页面的 javascript与 window.location.replace( newURL );其中 newURL 是页面 B(记住也传递查询字符串和哈希字符串)。所以 newURL 看起来像: pageB + window.location.search + window.location.hash
You can do what you want you describe with Google Website Optimizer, but you cannot do it with an A/B test, you will have to run a MVT test to simulate an A/B test.
To have a MVT test simulate an A/B test you must create one section, then wrap the section code around blank space directly under the control script, then make one alternative for that section which has some javascript which redirects the user to the B page with window.location.replace( newURL ); where newURL is page B (remember to pass the query string and hash string too). So newURL would look something like: pageB + window.location.search + window.location.hash
我不确定 A/B 测试,但多变量测试应该有效,据我所知,它更多地依赖于您在页面中插入的 JS,而不是 URL。
设置时,只需输入您的网址重写页面之一 get /request1/hello_3.htm,以便它可以解析它并查找您想要更改的块。这应该适用于所有重写,例如 /request1/hello_6.htm。
I'm not sure about A/B testing, but the Multivariate test should work, as far as I know that relies on the JS you insert in the page more than the URL.
When setting it up, just enter one of your url rewritten pages get /request1/hello_3.htm so it can parse through it and look for the blocks you want to vary. This should then work on all the rewrites also such as /request1/hello_6.htm.