html 基础媒体:BlueKai像素生成器
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 基础媒体:BlueKai像素生成器相关的知识,希望对你有一定的参考价值。
<!-- Begin BlueKai Pixel -->
<script type="text/javascript">
(function() {
// Config
var containerID = "REPLACEWITHCONTAINERID";
var bkLimit = 1;
// Add phints as Query-String Params
var bkQsp = []
bkQsp.push("phint=__bk_l%3D" + encodeURIComponent(document.location.href));
bkQsp.push("phint=url_1%3D" + encodeURIComponent(document.location.href));
bkQsp.push("phint=url_2%3D" + encodeURIComponent(document.location.href));
bkQsp.push("phint=url_3%3D" + encodeURIComponent(document.location.href));
bkQsp.push("phint=domain_1%3D" + encodeURIComponent(document.domain));
bkQsp.push("phint=domain_2%3D" + encodeURIComponent(document.domain));
bkQsp.push("phint=domain_3%3D" + encodeURIComponent(document.domain));
bkQsp.push("phint=pathname_1%3D" + encodeURIComponent(document.location.pathname));
bkQsp.push("phint=pathname_2%3D" + encodeURIComponent(document.location.pathname));
bkQsp.push("phint=pathname_3%3D" + encodeURIComponent(document.location.pathname));
bkQsp.push("phint=query_string_1%3D" + encodeURIComponent(document.location.search));
bkQsp.push("phint=query_string_2%3D" + encodeURIComponent(document.location.search));
bkQsp.push("phint=query_string_3%3D" + encodeURIComponent(document.location.search));
// Pixel config
cacheBuster = parseInt(Math.random() * 10000000000000000);
var bkUrl = "//tags.bluekai.com/site/" + containerID + "?limit=" + bkLimit + "&r=" + cacheBuster + "&";
var bkRequest = bkUrl + bkQsp.join("&");
// Generate pixel
var bkPixel = new Image();
bkPixel.height = "1";
bkPixel.width = "1";
bkPixel.style = "display: none;";
bkPixel.src = bkRequest;
})()
</script>
<!-- End BlueKai Pixel -->
以上是关于html 基础媒体:BlueKai像素生成器的主要内容,如果未能解决你的问题,请参考以下文章
html 基础媒体:BlueKai CoreTag
html 法国电视 - iOS和Android BlueKai像素指南
html Spur App - iOS和Android BlueKai像素指南
html Danske应用程序 - iOS和Android BlueKai像素指南
html Danske应用程序 - iOS和Android BlueKai像素指南(Tipsbladet)
html 优化X:BlueKai标签已加载(通过BlueKai激活'标签')