html Danske Spil - 示例CoreTag - Vegas.dk - 使用dataLayer

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html Danske Spil - 示例CoreTag - Vegas.dk - 使用dataLayer相关的知识,希望对你有一定的参考价值。

<!-- data Layer on page-->
<script>
[
  {
    "user": {
      "idVegas": "",
      "isLoggedIn": false,
      "idVisitor": "E98DD8018AF44E9287FE1F04CCBFD25D"
    },
    "page": {
      "subsidiary": "dli",
      "breadcrumb": "/ds/dli_veg/forside",
      "brand": "dli_veg",
      "name": "forside",
      "id": "{42d998a4-a388-4afc-8000-51bc8d1244a4}"
    }
  }
]
</script>

<!-- Respective BlueKai Tag -->
<!--­ 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 ;

 // page-level vars
bk_addPageCtx('page_subsidiary', 'dli'); 
bk_addPageCtx('page_breadcrumb', '/ds/dli_veg/forside');
bk_addPageCtx('page_brand', 'dli_veg');
bk_addPageCtx('page_name', 'forside');
bk_addPageCtx('page_id', '42d998a4-a388-4afc-8000-51bc8d1244a4'); // removed the "{" and "}" as they don't seem intentional

// user-level vars
// bk_addPageCtx('user_idVegas', ''); // DON'T POPULATE THIS AS IT HAS NO VALUE
bk_addPageCtx('user_isLoggedIn', 'false'); 
bk_addPageCtx('user_idVisitor', 'E98DD8018AF44E9287FE1F04CCBFD25D'); 

// offline_id : used to connect this website visitor to their offline data
// bk_addPageCtx('ds_offline_id', 'TBC'); // don't populate this yet as we haven't confirmed what to use as an 'offline id' (to join to the offline data)

// customer ID (id_swap) :  this is for the future - it will allow you to import/export data from BlueKai by looking up this ID (via our user data API) or you can export log data (if you purchase Server Data Transfer)
// bk_addPageCtx('ds_id', 'TBC'); // don't populate this yet as we haven't confirmed what to use as an 'offline id' (to join to the offline data)

// Send Data 
BKTAG.doTag(43759, 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 ­­>

以上是关于html Danske Spil - 示例CoreTag - Vegas.dk - 使用dataLayer的主要内容,如果未能解决你的问题,请参考以下文章

html Danske应用程序 - iOS和Android BlueKai像素指南

html Danske应用程序 - iOS和Android BlueKai像素指南(Tipsbladet)

Python协程

Python协程

IntelliJ 静态 Web 项目到 Tomcat 或 Angular COR

Testing.Fakes异常:无法从COR_PROFILER_PATH和COR_PROFILER环境变量解析探查器路径