关于Adsense的data-ad-client属性值ca-pub-XXXXX和pub-XXXXX的区别
Copyright Notice: This article is an original work licensed under the CC 4.0 BY-NC-ND license.
If you wish to repost this article, please include the original source link and this copyright notice.
Source link: https://v2know.com/article/158
关于Adsense给出的代码,
有ca和没ca的data-ad-client的区别。
我的答案是:有区别。
直接pub-86641641这样的data-ad-client,可能是之前用于Adsense注册的代码,
但当你通过Adsense之后,
无论从哪个地方获取广告代码,都会带上ca开头,虽然我不知道ca是什么的缩写。
但如果不用ca的话,可能会导致网页浏览量统计出错。
最典型的例子是,我刚刚把没ca标记的script换成了有ca的之后,网页浏览量似乎能正确统计了:
This article was last edited at 2020-02-05 13:38:50