html Spur - BlueKai - Oracle DMP - 跟踪代码模板

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html Spur - BlueKai - Oracle DMP - 跟踪代码模板相关的知识,希望对你有一定的参考价值。

<!-- Run this code as close to the top of the <body> as you can -->
<!-- Begin BlueKai Tag -->
<script type="text/javascript">
//Configuration
window._bk_containerID = "REPLACEWITHCONTAINERID"; 

//DO NOT EDIT BELOW THIS LINE
if(document.cookie.indexOf('bkdebug=true')>-1){debugger;}
 
// CHECK : is BK library available?
if(window.BKTAG && BKTAG.doTag){
 
		bk_ignore_meta=true;
		bk_addPageCtx('__bk_l', document.location.href);			
		
		// Advanced URL tracking
		bk_addPageCtx('url_1', document.location.href);
		bk_addPageCtx('url_2', document.location.href);
		bk_addPageCtx('url_3', document.location.href);
		bk_addPageCtx('urlpath_1', document.location.pathname);
		bk_addPageCtx('urlpath_2', document.location.pathname);
		bk_addPageCtx('urlpath_3', document.location.pathname);
 
		// SEND DATA IMMEDIATELY
		BKTAG.doTag(_bk_containerID, 4);		
 
} else {
	
	// LOAD LIBRARY THEN SEND DATA
	window.bk_async = function() {
 
	// ALLOW MULTIPLE CALLS/SINGLE PAGE APPS
	bk_allow_multiple_calls=true; bk_use_multiple_iframes=true ;
	
	// Advanced URL tracking
	bk_addPageCtx('url_1', document.location.href);
	bk_addPageCtx('url_2', document.location.href);
	bk_addPageCtx('url_3', document.location.href);
	bk_addPageCtx('urlpath_1', document.location.pathname);
	bk_addPageCtx('urlpath_2', document.location.pathname);
	bk_addPageCtx('urlpath_3', document.location.pathname);
	 
	// Send Data 
	BKTAG.doTag(_bk_containerID, 4);
	};
	(function() {
	  var scripts = document.getElementsByTagName('script')[0];
	  var s = document.createElement('script');
	  s.async = true;
	  s.src = "//tags.bkrtx.com/js/bk-coretag.js";
	  scripts.parentNode.insertBefore(s, scripts);
	}());
 
}	
</script>
<!-- End BlueKai Tag -->

以上是关于html Spur - BlueKai - Oracle DMP - 跟踪代码模板的主要内容,如果未能解决你的问题,请参考以下文章

html Spur - GTM代码 - 所有标签

html 优化X:BlueKai标签已加载(通过BlueKai激活'标签')

html poste.it:BlueKai标签

html 下一页:自定义BlueKai代码

html BlueKai:标签管理:Phint Grabber

html 基础媒体:BlueKai像素生成器