//~~tv:20010.20140827
//~~tc: Tealium Custom Container
/*
Tealium Custom Container Notes:
- Add sending code between "Start Tag Sending Code" and "End Tag Sending Code".
- Add JavaScript tag library code between "Start Tag Library Code" and "End Tag Library Code".
- Add JavaScript code only, do not add HTML code in this file.
- Remove any tags from the code you place in this file.
Loading external JavaScript files (Loader):
- If you need to load an additional external JavaScript file, un-comment the singe-line JavaScript comments ("//") within the following Loader sections near the bottom of this file:
- "Start Loader Function Call"
- "End Loader Function Call"
- "Start Loader Callback Function"
- "End Loader Callback Function"
- After un-commenting, insert the path to the external JavaScript file you want to load.
- Finally, within the Loader callback function, insert the JavaScript code that should run after the external JavaScript file has loaded.
*/
/* Start Tag Library Code */
(function(f,l){var p=function(){var b=this;this.mediaStVersion=400;this.trackId=this.trackDomain="";this.pixelSampling=0;this.deactivatePixel=!1;this.posInterval={};this.time={};this.eid=!1;this.instance=null;this.initialized=!1;this.getPixelInstance=function(){if("undefined"!==typeof webtrekkUnloadObjects)for(var a=0,d=webtrekkUnloadObjects.length;ascreen.height&&(d=screen.height);c&&c>screen.width&&(c=screen.width);return a=a+(","+c+"x"+d)+(","+(navigator.javaEnabled()?"1":"0"))};f.wt_init_media=b.init;f.wt_sendinfo_media=b.sendinfo_media};"undefined"===typeof f.webtrekkMediaTracking&&f.webtrekkMediaTracking instanceof p||(f.webtrekkMediaTracking=new p)})(window,document);
/* End Tag Library Code */
//tealium universal tag - utag.sender.custom_container ut4.0.202403050845, Copyright 2024 Tealium.com Inc. All Rights Reserved.
try {
(function (id, loader) {
var u = {};
utag.o[loader].sender[id] = u;
// Start Tealium loader 4.32
// Please do not modify
if (utag === undefined) { utag = {}; } if (utag.ut === undefined) { utag.ut = {}; } if (utag.ut.loader === undefined) { u.loader = function (o) { var a, b, c, l; a = document; if (o.type === "iframe") { b = a.createElement("iframe"); b.setAttribute("height", "1"); b.setAttribute("width", "1"); b.setAttribute("style", "display:none"); b.setAttribute("src", o.src); } else if (o.type === "img") { utag.DB("Attach img: " + o.src); b = new Image(); b.src = o.src; return; } else { b = a.createElement("script"); b.language = "javascript"; b.type = "text/javascript"; b.async = 1; b.charset = "utf-8"; b.src = o.src; } if (o.id) { b.id = o.id; } if (typeof o.cb === "function") { if (b.addEventListener) { b.addEventListener("load", function () { o.cb(); }, false); } else { b.onreadystatechange = function () { if (this.readyState === "complete" || this.readyState === "loaded") { this.onreadystatechange = null; o.cb(); } }; } } l = o.loc || "head"; c = a.getElementsByTagName(l)[0]; if (c) { utag.DB("Attach to " + l + ": " + o.src); if (l === "script") { c.parentNode.insertBefore(b, c); } else { c.appendChild(b); } } }; } else { u.loader = utag.ut.loader; }
// End Tealium loader
u.ev = {'view' : 1, 'link' : 1};
u.initialized = false;
u.map={};
u.extend=[function(a,b){ try{ if(1){
u.data.wt_config.executePluginFunction += ";wt_nukeCookies";
} } catch(e){ utag.DB(e) } },
function(a,b){ try{ if(b['page_content_id'].toString().toLowerCase().indexOf('www.telekom.de.privatkunden.benutzer'.toLowerCase())>-1){b['page_content_id']='www.telekom.de.privatkunden.login.benutzer';b['page_navigation_level_1']='login';b['page_navigation_level_2']='benutzer';b['page_name']='benutzer'} } catch(e){ utag.DB(e); } },
function(a,b){ try{ if(b['page_content_id'].toString().toLowerCase().indexOf('www.telekom.de.privatkunden.passwort'.toLowerCase())>-1){b['page_content_id']='www.telekom.de.privatkunden.login.passwort';b['page_navigation_level_1']='login';b['page_navigation_level_2']='passwort';b['page_name']='passwort'} } catch(e){ utag.DB(e); } }];
u.send = function(a, b) {
if (u.ev[a] || u.ev.all !== undefined) {
//##UTENABLEDEBUG##utag.DB("send:##UTID##");
var c, d, e, f, i;
u.data = {
/* Initialize default tag parameter values here */
/* Examples: */
/* "account_id" : "1234567" */
/* "base_url" : "//insert.your.javascript.library.url.here.js" */
/* A value mapped to "account_id" or "base_url" in TiQ will replace these default values. */
};
/* Start Tag-Scoped Extensions Code */
/* Please Do Not Edit This Section */
for(c=0;c media views in webtrekk
if(b["wt_media_actionstatus"] == "init"){
wt_init_media(b["wt_media_trackdomain"], b["wt_media_trackid"], b["wt_media_sampling"]);
}
// send media information play, stop, seek, etc.
if(b["wt_media_actionstatus"] == "send"){
wt_sendinfo_media(b["wt_media_name"], b["wt_media_action"], b["wt_media_current_pos"], b["wt_media_total_length"], b["wt_media_category"], b["wt_media_bandwith"], b["wt_media_volume"], b["wt_media_mute"]);
}
}
// Insert your tag sending code here.
/* End Tag Sending Code */
/* Start Loader Callback Function */
/* Un-comment the single-line JavaScript comments ("//") to use this Loader callback function. */
//u.loader_cb = function () {
//u.initialized = true;
/* Start Loader Callback Tag Sending Code */
// Insert your post-Loader tag sending code here.
/* End Loader Callback Tag Sending Code */
//};
/* End Loader Callback Function */
/* Start Loader Function Call */
/* Un-comment the single-line JavaScript comments ("//") to use Loader. */
//if (!u.initialized) {
//u.loader({"type" : "iframe", "src" : u.data.base_url + c.join(u.data.qsp_delim), "cb" : u.loader_cb, "loc" : "body", "id" : 'utag_12' });
//u.loader({"type" : "script", "src" : u.data.base_url, "cb" : u.loader_cb, "loc" : "script", "id" : 'utag_12' });
//} else {
//u.loader_cb();
//}
//u.loader({"type" : "img", "src" : u.data.base_url + c.join(u.data.qsp_delim) });
/* End Loader Function Call */
//##UTENABLEDEBUG##utag.DB("send:##UTID##:COMPLETE");
}
};
utag.o[loader].loader.LOAD(id);
})("12", "telekom.phoenix");
} catch (error) {
utag.DB(error);
}
//end tealium universal tag