javascript Caxton CTP:BlueKai CoreTag:模板

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了javascript Caxton CTP:BlueKai CoreTag:模板相关的知识,希望对你有一定的参考价值。

<!-- Begin BlueKai Tag -->
<script type="text/javascript">
window.bk_async = function() {

 // ALLOW MULTIPLE CALLS/SINGLE PAGE APPS
bk_allow_multiple_calls=true; bk_use_multiple_iframes=true ;

 // <optional> PHINTS : Declare variables about this page (or user)

	bk_addPageCtx('page_type', 'article'); // example phint (change to your own useful variabes)
	bk_addPageCtx('section', 'news'); // example phint (change to your own useful variabes)
	bk_addPageCtx('another_example_var', 'another value'); // example phint (change to your own useful variabes)

	/*
	<optional> IDs : Depending on your deployment, IDs may be useful for joining offline data to a visitor's profile to add additional targeting capabilities. If you have these for users, please declare them
	*/


	// <optional> Email Address (this will be MD5 and SHA-256 hashed)
	bk_addEmailHash('ENTER EMAIL ADDRESS HERE');

	// <optional> Phone Number (this will be MD5 and SHA-256 hashed)
	bk_addPhoneHash('ENTER PHONE NUMBER HERE');
	

	// Send Data 
	BKTAG.doTag(ENTER CONTAINER ID HERE, 4);  // change "ENTER CONTAINER ID HERE" to the container ID/Site ID you want to use
	};
(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 -->
// BK-CORETAG.JS MUST HAVE LOADED BEFORE YOU CAN FIRE THIS (i.e. you must have fired a BlueKai tag on page load)


// <optional> PHINTS : Declare variables about this page (or user)
bk_addPageCtx('page_type', 'article'); // example phint (change to your own useful variabes)
bk_addPageCtx('section', 'news'); // example phint (change to your own useful variabes)
bk_addPageCtx('another_example_var', 'another value'); // example phint (change to your own useful variabes)

/*
<optional> IDs : Depending on your deployment, IDs may be useful for joining offline data to a visitor's profile to add additional targeting capabilities. If you have these for users, please declare them
*/

// <optional> Email Address (this will be MD5 and SHA-256 hashed)
bk_addEmailHash('ENTER EMAIL ADDRESS HERE');

// <optional> Phone Number (this will be MD5 and SHA-256 hashed)
bk_addPhoneHash('ENTER PHONE NUMBER HERE');


// Send Data 
BKTAG.doTag(ENTER CONTAINER ID HERE, 4);  // change "ENTER CONTAINER ID HERE" to the container ID/Site ID you want to use

以上是关于javascript Caxton CTP:BlueKai CoreTag:模板的主要内容,如果未能解决你的问题,请参考以下文章

异步CTP(Async CTP)为什么那样工作?

CTP API 开发之二 :制作CTP java版 API

Vue-Blu——组件丰富,样式美观的新兴Vue开源Vue组件

Vue-Blu——组件丰富,样式美观的新兴Vue开源Vue组件

Castalia OMNET++ 中的 CTP 协议

Blu-ray Player Pro for Mac 3.3.16 中文共享版 – 多功能视频播放器