标签:获取 iter java pre 安装步骤 访问 -name element chrome
oCPC JS SDK 基础代码安装指南
最后更新时间:2020.04.10
视频指导 http://ocpc.baidu.com/developer/d/video/js/solution
安装步骤
获取代码
以下代码为SDK的安装代码。注:production值唯一,所有客户共用同一值,百度根据数据来源自动区分不同客户。
script>window._agl = window._agl || [];
(function () {
_agl.push(
[‘production‘, ‘_f7L2XwGXjyszb4d1e2oxPybgD‘]
);
(function () {
var agl = document.createElement(‘script‘);
agl.type = ‘text/javascript‘;
agl.async = true;
agl.src = ‘https://fxgate.baidu.com/angelia/fcagl.js?production=_f7L2XwGXjyszb4d1e2oxPybgD‘;
var s = document.getElementsByTagName(‘script‘)[0];
s.parentNode.insertBefore(agl, s);
})();
})();
script>
安装
与百度统计等产品类似,