Google跟踪不允许进一步执行 [英] Google tracking not allowing further execution
问题描述
嘿我正在使用谷歌跟踪查找有多少人点击了按钮。单击按钮时,弹出jquery确认对话框。单击是时,将调用跟踪,然后将用户重定向到另一个页面。某些PC上出现问题,单击是时,它不会重定向到另一个页面。同一页面再次加载。
Hey I am using google tracking to find how many people clicked on button. On clicking a button a jquery confirm dialog pops up. On clicking 'yes' tracking is called and then user is redirected to another page. The problem occurs on some PCs that on clicking 'yes' it does not get redirected to another page. Same page gets loaded again.
buttons: [
{
text: "Yes",
click: function () {
$(this).dialog('close');
pageTracker._trackPageview(gtc);
$('form#paymentForm').submit();
}
}
]
当我删除该行时,用户被重定向到另一个页面。这不会发生在所有计算机上。我后来得到了我可以遇到这个问题的PC。
When I removed that line, the user got redirected to another page. This does not happen on all the computers. I rearly get the PC on which I can encounter this problem.
推荐答案
( this )。dialog( ' close');
pageTracker._trackPageview(gtc);
(this).dialog('close'); pageTracker._trackPageview(gtc);
(' 表单# 。paymentForm'跨度>)提交();
}
}
]
('form#paymentForm').submit(); } } ]
当我删除该行时,用户被重定向到另一个页面。这不会发生在所有计算机上。我在后面找到了我可以遇到这个问题的电脑。
When I removed that line, the user got redirected to another page. This does not happen on all the computers. I rearly get the PC on which I can encounter this problem.
这篇关于Google跟踪不允许进一步执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!