简体   繁体   English

使用 GTM 将自定义 URL 发送到 GA4

[英]Send Custom URL to GA4 using GTM

In universal analytics it was possible to send a custom URL in section fields to set.在通用分析中,可以在要设置的部分字段中发送自定义 URL。 How can I send a custom URL to Google Analytics 4 when using Google Tag Manager?使用 Google 跟踪代码管理器时,如何将自定义 URL 发送到 Google Analytics 4?

There is a similar “Fields to Set” in the configuration tag for GA4 in Google Tag Manager. Google 跟踪代码管理器中 GA4 的配置标记中有一个类似的“要设置的字段”。 Just choose the parameter name (unique or a set name Google already uses) and pass in your variable as the value.只需选择参数名称(Google 已经使用的唯一名称或集合名称)并将您的变量作为值传递。

The trick is you will need to create a custom parameter in the Configuration menu in GA4.诀窍是您需要在 GA4 的配置菜单中创建自定义参数。 Once you do that, you can use it in your reports.一旦你这样做了,你就可以在你的报告中使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM