if( typeof(gtag)!=='function' ){
document.write("");
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-34958767-1');
}
// JQuery check
if(typeof jQuery=="undefined"){
document.write("");
}
if(!jQuery('body').hasClass('ad_touche')){
jQuery('body').addClass('ad_touche');
// DOMJQuery check(delay load)
window.addEventListener('load', function() {
jQuery.ajaxSetup({ cache: false });
var obj = jQuery('.touche_adarea_keyword');
var $kw = "";
if(obj.length==1){
$kw = obj.text();
}
if($kw==undefined){$kw="";}
$kw = encodeURI($kw);
jQuery('.touche_adarea_test').each( function(idx, ele){
$tmp = 'https://touchecom.jp/api/ad_touche.html/?kw='+$kw;
jQuery(ele).load($tmp);
});
jQuery(document).on('click', 'a.ad_links', function(){
gtag('event', 'link-src:'+ location.href , {'event_category':'bring_them_in_shop', 'event_label': 'link-dest:'+jQuery(this).attr('href'), 'non_interaction': true });
});
});
}