Google Tag Assistant询问Feed ID [英] Google Tag Assistant asks feed ID

查看:145
本文介绍了Google Tag Assistant询问Feed ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人要求我使用看起来像这样的旧的再营销跟踪代码升级现有网站:

I was asked to upgrade an existing site from using the old remarketing tracking code that looked like this:

<script type="text/javascript">
var google_conversion_id = 12345;
var google_custom_params = window.google_tag_params; // this is empty
var google_remarketing_only = true;
</script>
<script type="text/javascript" src="https://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/12345/?value=0&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

到另一个看起来像这样的方法:

to another method that looks like this:

<script async src="https://www.googletagmanager.com/gtag/js?id=AW-12345"></script>
<script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments)};
    gtag('js', new Date());
    gtag('config', 'AW-12345');
</script>

因为它是异步的并且不应阻止页面加载.但是,当使用更新的(基于gtag.js的)方法时,用于验证跟踪设置是否正确的Google Tag Assistant扩展程序要求我输入提要ID".以前,它的再营销标签显示为绿色.

because it is asynchronous and should not block page loading. But the Google Tag Assistant extension that validates that tracking is set up correctly asks me to enter a "feed ID" when using the newer (gtag.js based) method. Previously it was showing Remarketing Tag as green.

为什么现在需要它而不用旧代码?我问一个有权访问该AdWords帐户且没有供稿ID(或找不到...)的人.

Why is it needed now and not with the old code? I asked someone who has access to the AdWords account and they don't have the feed ID (or can't find it...).

我验证了对googleads.g.doubleclick.net/pagead/viewthroughconversion/的请求已通过devtools发送,如使用基于浏览器的开发人员工具在Verifiction中所述:

I verified that the request to googleads.g.doubleclick.net/pagead/viewthroughconversion/ is sent though devtools as described in Verifiction using browser based developer tools:

https://developers.google.com/adwords-remarketing-tag/verification

我的配置正确吗?

推荐答案

该Feed ID与动态再营销广告系列有关.如果您没有运行动态广告系列,则Feed ID无关紧要.

That feed ID is related to dynamic remarketing campaigns. If you aren't running a dynamic campaign, then the feed ID shouldn't matter.

在那里输入Feed ID的字段可帮助您验证Feed是否正常工作.

That field to enter a feed ID is there to help you with validating that your feed is working correctly.

以下是一个快速视频,可以帮助您解决问题. https://www.youtube.com/watch?v=QuOUNIFo0aQ

Here is a quick video that might help clear up your questions. https://www.youtube.com/watch?v=QuOUNIFo0aQ

这篇关于Google Tag Assistant询问Feed ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆