/* Controltag Loader for IDG Enterprise */
(function(){
function debugLog(msg) {
var isDebug = /kxdebug=(1|true)/.test(location);
if (isDebug && typeof window.console === 'object' && typeof console.info === 'function') {
console.info(msg);
}
}
function loadCT(url, callback) {
debugLog('Loading Krux control tag.');
var ct_element = document.createElement('script');
ct_element.async = true;
ct_element.src = url;
ct_element.onload = ct_element.onreadystatechange = function() {
var state = ct_element.readyState;
if (!callback.done && (!state || /loaded|complete/.test(state))) {
callback.done = true;
callback();
}
};
// Fetch the first script element, so we can insert the
// controltag before it. There *must* be at least one
// script element, or this code would never be called
var sibling = document.getElementsByTagName('script')[0];
sibling.parentNode.insertBefore(ct_element, sibling);
};
function loadConfig() {
debugLog('Loading krux configuration.');
Krux( 'config', {"confid": "Hx-yBRge", "context_terms": [], "dnt": null, "geo":{"COUNTRY":"US", "REGION":"TX", "CITY":"ARLINGTON", "GEOREGION":"285", "DMA":"623", "PMSA":"2800", "AREACODE":"817", "COUNTY":"TARRANT", "FIPS":"48439", "LATITUDE":"32.6916", "LONGITUDE":"-97.1334", "TIMEZONE":"CST", "ZIP":"76001-76007 76010-76019 76094 76096", "CONTINENT":"NA"}, "params": {"beacon_host": "beacon.krxd.net", "capture_js_errors": true, "capture_leakage": true, "client_side_storage": "localStorage,cookie", "context_terms": "false", "control_tag_load_sync": "false", "control_tag_namespace": null, "control_tag_pixel_throttle": null, "control_tag_stats_prefix": null, "control_tag_version": "stable", "datatag_version": "3", "jslog_host": "jslog.krxd.net", "max_slot_time": 1000, "no_pii": 0, "revenue_optimization": false, "services_host": "apiservices.krxd.net", "site_level_supertag_config": "site", "supertag_requires_approval": false}, "partner_segment_map": {}, "publisher": {"id": 10362, "name": "IDG Enterprise", "uuid": "c0535245-d1de-49ff-b2a3-236d27f0d078"}, "realtime_segments": [], "segments": [], "services": {"data": "//beacon.krxd.net/data.gif", "event": "//beacon.krxd.net/event.gif", "log": "//jslog.krxd.net/jslog.gif", "pixel": "//beacon.krxd.net/pixel.gif", "social": "//beacon.krxd.net/social.gif", "stats": "//apiservices.krxd.net/stats", "um": "//apiservices.krxd.net/um", "userData": "//apiservices.krxd.net/user_data/segments/3"}, "site": {"id": 11947, "name": "Network World"}, "tags": [{"content": "", "content_type": "html", "docwrite": null, "execution_results": null, "id": 28056, "internal": 1, "library_tag_config": {}, "method": "document", "name": "Krux Track Social", "require": "", "target": null, "target_action": "append", "tier": 1, "timing": "onload", "type": "library"}, {"content": "", "content_type": "html", "docwrite": null, "execution_results": null, "freq_cap": 3, "id": 28057, "internal": 6, "method": "document", "name": "Technographic Data provider tag", "require": "", "target": null, "target_action": "append", "tier": 1, "timing": "onload", "type": "data provider"}, {"content": "", "content_type": "html", "docwrite": null, "execution_results": null, "freq_cap": 3, "id": 28058, "internal": 14, "method": "document", "name": "Krux Geographic Data provider tag", "require": "", "target": null, "target_action": "append", "tier": 1, "timing": "onload"}, {"content": "", "content_type": "html", "docwrite": null, "execution_results": {"docwrite": false, "listeners": [], "onloadSafe": true}, "id": 14021, "internal": 1, "method": "document", "name": "Networkworld", "require": "", "target": "", "target_action": null, "tier": 1, "timing": "onload", "type": "publisher"}]} );
};
loadCT( "//cdn.krxd.net/ctjs/controltag.js.71720528ed400e824115e431824ce5ed", loadConfig );
})();