通用分析目标未从付款提供商重定向后触发
我已经在Google标签经理中设置了一个带有Regex的Google Tag Manager的购买目标的标签。正则符合URL:
正则:/checkout/abo/done/done/xuccess=.+
谢谢您的URL:/checkout/abo/dool/dool/dool/12345678989abcd/ ?成功= 1& bink = abo& inline = 1&周期= 1
标签设置为事件,将数据发送到Google Analytics(分析)。
但是,随着用户在线付款时,将发送给付款提供商,并通过此特定的感谢页面将其重定向回域。 流程看起来像这样: site.com/checkout-> site.com/payment-> security.com-> site.com/thankyou
问题是,该目标没有在分析中触发,也没有检测到数据层。 _gid保持不变,因此会话本身应该不是问题。和Security.com被添加到推荐排除列表中。
有什么问题,我该如何找到适当的解决方案?
I have set up a Tag for Purchase goal by destination in Google Tag Manager with RegEx. The RegEx matches the URL:
RegEx: /checkout/abo/done/\w+/?success=.+
Thank you URL: /checkout/abo/done/123456789abcd/?success=1&kind=abo&online=1&period=1
The Tag is set up as an event, sending data to Google Analytics.
However as the user pays online is being send to a payment provider and redirected back to the domain with this particular thank you page.
The flow looks like this:
site.com/checkout --> site.com/payment --> security.com --> site.com/thankyou
The problem is that the goal is not being triggered in Analytics and no datalayer is detected. The _gid stays the same, so the session itself should'n be a problem. And security.com is added to referral exclusion list.
What could be the problem and how can I find a proper solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试这个:
/checkout/abo/done/ver +/?success=.+
您的正则是逃脱的。
https://regex101.com/
Try this one:
/checkout/abo/done/\w+/?success=.+
Your Regex is missing the escpaing.
https://regex101.com/