roshanoracle
11/15/2017 - 1:45 PM

Zer : Ford : Forms CoreTag.js (for GTM)


<!-- DOM Ready -->
<script type='text/javascript'>
window.bk_async = function() {

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

	if({{pageCategory}}){bk_addPageCtx('pageCategory', {{pageCategory}});}
	if({{pageID}}){bk_addPageCtx('pageID', {{pageID}});}
	if({{formSource}}){bk_addPageCtx('source', {{formSource}});}
	if({{sitePlatform}}){bk_addPageCtx('sitePlatform', {{sitePlatform}});}
	if({{dealer}}){bk_addPageCtx('dealer', {{dealer}});}
	if({{dealerName}}){bk_addPageCtx('dealerName', {{dealerName}});}
	if({{city}}){bk_addPageCtx('city', {{city}});}
	if({{product}}){bk_addPageCtx('product', {{product}});}
	if({{productEngineInfo}}){bk_addPageCtx('productEngineInfo', {{productEngineInfo}});}
	if({{productGearBox}}){bk_addPageCtx('productGearBox', {{productGearBox}});}
	if({{phone}}){bk_addPageCtx('p_id_s', {{phone}});}
 
	BKTAG.doTag(52559, 4);
}

(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>
<!-- Begin BlueKai Tag -->
<script type="text/javascript">
if(document.location.href.indexOf('debugger') >1){debugger;}
window.bk_async = function() {

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

	if({{pageCategory}}){bk_addPageCtx('pageCategory', {{pageCategory}});}
	if({{pageID}}){bk_addPageCtx('pageID', {{pageID}});}
	if({{formSource}}){bk_addPageCtx('source', {{formSource}});}
	if({{sitePlatform}}){bk_addPageCtx('sitePlatform', {{sitePlatform}});}
	if({{dealer}}){bk_addPageCtx('dealer', {{dealer}});}
	if({{dealerName}}){bk_addPageCtx('dealerName', {{dealerName}});}
	if({{city}}){bk_addPageCtx('city', {{city}});}
	if({{product}}){bk_addPageCtx('product', {{product}});}
	if({{productEngineInfo}}){bk_addPageCtx('productEngineInfo', {{productEngineInfo}});}
	if({{productGearBox}}){bk_addPageCtx('productGearBox', {{productGearBox}});}
	if({{phone}}){bk_addPageCtx('p_id_s', {{phone}});}

	BKTAG.doTag(52559, 4);
 
};
(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 -->