window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-10859276967'); jQuery(function($){ var famPrm = location.search.match(/fbclid=(.*?)(&|$)/)[1]; $('a').each(function(){ var famTagUrl = $(this).attr('href'); famTagUrl = String(famTagUrl); if (famTagUrl.indexOf('ad-fam.com') != -1){ famTagUrl = famTagUrl + '&fbclid=' + famPrm; $(this).attr('href',famTagUrl); } }); }); window.__fid = window.__fid || [];__fid.push([540760321]); (function() { function mieruca(){if(typeof window.__fjsld != "undefined") return; window.__fjsld = 1; var fjs = document.createElement('script'); fjs.type = 'text/javascript'; fjs.async = true; fjs.id = "fjssync"; var timestamp = new Date;fjs.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://hm.mieru-ca.com/service/js/mieruca-hm.js?v='+ timestamp.getTime(); var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(fjs, x); }; setTimeout(mieruca, 500); document.readyState != "complete" ? (window.attachEvent ? window.attachEvent("onload", mieruca) : window.addEventListener("load", mieruca, false)) : mieruca(); })();