通用分析目标未从付款提供商重定向后触发

发布于 2025-02-09 10:01:51 字数 555 浏览 1 评论 0原文

我已经在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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

没企图 2025-02-16 10:01:52

尝试这个:
/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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文