無料メールマガジン『あかちゃんを元気に育むホーム・ホメオパシー』

無料メールマガジン『あかちゃんを元気に育むホーム・ホメオパシー』登録ページ

<script type="text/javascript">(function() { if( location.href.match(/__lprf__/) == null ){ var r = encodeURIComponent(document.referrer); var o = document.createElement("img"); o.src = "https://www.agentmail.jp/lp/a/1623/?dr="+r; o.width = "0"; o.height = "0"; o.border = "0"; var bo = document.getElementsByTagName("body")[0]; bo.appendChild(o); } var l = ""; var q = window.location.href.split("?")[1]; if( q ){ var pl = q.split("&"); pl.forEach( function(_p,_i){ var p = _p.split("="); if( p[0] == "__lprf__" ){ l = p[1]; } }); } if( l != undefined ){ var fe = document.getElementsByTagName("form"); var fel = fe.length; for( var i=0; i<fel; i++ ){ var a = fe[i].getAttribute("action"); if( a == "https://www.agentmail.jp/list/register/" ){ var ie = fe[i].childNodes; var iel = ie.length; var isF = false; var isI = false; for( var j=0; j<iel; j++ ){ if( ie[j].name == "AGENTMAIL__formid" ){ isF = true; } if( ie[j].name == "AGENTMAIL__landingePageReferrerId" ){ ie[j].value = l; isI = true; if( isF ){ break; } } } if( isF ){ if( isI == false ){ var o = document.createElement("input"); o.name = "AGENTMAIL__landingePageReferrerId"; o.type = "hidden"; o.value = l; fe[i].appendChild(o); } } } } }})();</script>

 
PHP Code Snippets Powered By : XYZScripts.com