'); doc.close(); })(); var SOASTA = {}; function monotaroSOASTA() { var substituteString = function (targetString) { return targetString.replace(/\//g, '-').replace(/\./g, '_').replace(/=/g, '_').replace(/[^a-zA-Z0-9_ -]/g, ' '); }; if (cmScript.getPageId() !== null) { SOASTA.pg = substituteString(cmScript.getPageId()); } switch ($.monotaro.page_type) { case $.monotaro.DEFINE.PAGE_TYPE_REGISTFINISH : SOASTA.met_registration = 1; $.monotaro.debug('[mPulse][Info] detected SOASTA.met_registration'); break; case $.monotaro.DEFINE.PAGE_TYPE_ORDERFINISH : SOASTA.met_purchase = 1; SOASTA.met_purchase_amount = typeof _item_total !== 'undefined' ? _item_total : 0; $.monotaro.debug('[mPulse][Info] detected SOASTA.met_purchase - ' + SOASTA.met_purchase_amount); break; case $.monotaro.DEFINE.PAGE_TYPE_LOGIN : case $.monotaro.DEFINE.PAGE_TYPE_MYPAGE : SOASTA.pg = typeof mro_page_id !== 'undefined' ? substituteString(mro_page_id) : ''; break; } SOASTA.ab_test = typeof mro_cm !== 'undefined' ? substituteString(mro_cm.ExtValue[7]) : ''; SOASTA.registered = $.monotaro.registed() ? 1 : 0; SOASTA.login = $.monotaro.logined() ? 1 : 0; if (typeof SOASTA.pg !== 'undefined') { $.monotaro.debug('[mPulse][Info] detected SOASTA.pg - ' + SOASTA.pg); } else { $.monotaro.debug('[mPulse][Info] undefined mro_page_id variable.'); } if(SOASTA.ab_test){ $.monotaro.debug('[mPulse][Info] detected SOASTA.ab_test - ' + SOASTA.ab_test); } return; } バイク ナビ ホルダー 取り付けの販売特集 【通販モノタロウ】