这项工作是否应该在Google标签管理器中触发网络钩?
我正在尝试在Google标签管理器中触发Webhook。我有一个可变的加载,并通过标签助手确认工作。
我正在尝试触发webhook并沿该自定义变量传递。
我有一个带有此JavaScript的自定义HTML标签:
<script>
fetch('https://hook.us1.make.com/28c815lw998s1o6ab37e3il7uw957p7g?record_id={{AirtableRecordID}}');
</script>
但这似乎并没有达到URL。
I'm trying to trigger a webhook in Google Tag Manager. I have a variable loaded and confirmed working via Tag Assistant.
tag assistant showing variables
I'm trying to trigger a webhook and pass along this Custom Variable.
I have a Custom HTML tag with this javascript:
<script>
fetch('https://hook.us1.make.com/28c815lw998s1o6ab37e3il7uw957p7g?record_id={{AirtableRecordID}}');
</script>
But it doesn't seem to be hitting the URL.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会像这样加入它:
另外,您始终可以打开网络选项卡并调试此获取。
I would concatenate it like so:
Also, you can always open your network tab and debug this fetch.