有人可以解释一下 Google Ads 再营销脚本是否设置了 cookie?如果答案是肯定的,他们的名字是什么?
我想在我的网站上将 Google Analytics 和 Google Adwords 拆分为不同的同意类别,因为我认为当我使用再营销时,我需要将 GAds 添加到 Targeting cookie 类别中,并将 Google Analytics 保留在 Analytics 类别中。我想使用 Google Ads 脚本进行再营销,但我很难识别两者的行为/差异。
我想另外添加到 GA 的代码:
<!-- Global site tag (gtag.js) - Google Ads: -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-123123123"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-123123123');
</script>