Google 网站优化工具是否会忽略我的查询数据传输?
症状:我正在网页上运行 Google Website Optimizer AB 测试,该测试是在用户填写表单后到达的。当 GWO 未触发重定向时(提交 Web 表单后到达默认页面时),表单数据似乎已成功到达。然而,当到达备用页面时(即,当 GWO 重定向用户时),数据似乎没有到达。
详细信息:我不会将此归因于 GWO,除非在我的开发环境中,我不得不注释掉 GWO javascript,一切都按其应有的方式运行。 (当然,必须省略 GWO 代码,以防止浏览器将我重定向到生产环境,即我的网站的实时版本。)(当然,如果没有 GWO 代码,我必须对更改进行硬编码我的表单的 action
属性,以验证备用目标页面是否成功处理了我的查询数据。)
实际上,看起来 GWO 在执行其操作时未能传递必要的查询参数重定向,但这似乎不太可能。你能给我什么建议吗?
Symptom: I'm running a Google Website Optimizer A-B test on a web page, which is reached after the user fills out a form. The form data appears to arrive successfully when GWO does not fire a redirect (when the default page is reached after submitting the web form). The data does not appear to arrive, however, when the alternate page is reached (i.e. when GWO redirects the user).
Details: I wouldn't attribute this to GWO, except that in my development environment, where I was obliged to comment out the GWO javascript, everything works as it should do. (The GWO code had to be omitted, of course, to prevent my browser redirecting me to the production environment, i.e. the live version of my site.) (Naturally, without the GWO code in place, I had to hard code a change to my form's action
attribute in order to verify that my query data was handled successfully by the alternate destination page.)
Really, it looks as though GWO is just failing to pass on the requisite query parameters when it performs its redirect, but that seems unlikely. Can you give me any advice?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已修复(相当):我更改了表单以传递 GET(而不是 POST)数据,事实上,GWO 能够收集该查询数据并将其传递到新的 URL。 (我觉得这很令人惊讶,因为 url 是规定的,我应该认为它更容易接受和传递 POST 数据。)
Fixed (rather): I changed the form to pass GET (not POST) data, and indeed, GWO was able to collect that query data and pass it on to the new URL. (I find that surprising, since the url is stipulated, and I should have thought it easier to accept and pass on POST data.)