We respect your email privacy

function GetURLParameter(sParam) { var sPageURL = window.location.search.substring(1); var sURLVariables = sPageURL.split('&'); for (var i = 0; i < sURLVariables.length; i++) { var sParameterName = sURLVariables[i].split('='); if (sParameterName[0] == sParam) { return sParameterName[1]; } } } function addHiddenField(key, value) { var allForm = document.forms; var i; for (i = 0; i < allForm.length; i++) { var input = document.createElement('input'); input.type = 'hidden'; input.name = key; input.value = value; allForm[i].appendChild(input); } } function setHiddenField(field,val){ if (val != null && val !='' && val != undefined){ addHiddenField(field, val ); } } function setHiddenFieldEx(field,val){ console.log( setHiddenFieldEx ) var allForm = document.forms[0]; var elementindex = -1; for (i = 0; i < allForm.elements.length; i++) { if (allForm.elements[i].name == field) { elementindex = i; allForm.elements[elementindex].value = val; break; } } if (elementindex < 0) { addHiddenField(field, val ); } console.log(allForm); } function consentSelected(field){ var allForm = document.getElementsByName(field); var consentgiven = false; return allForm[0].checked || allForm[1].checked } setHiddenField("custom utm_source", GetURLParameter('utm_source')); setHiddenField("custom utm_medium", GetURLParameter('utm_medium') ); setHiddenField("custom utm_term", GetURLParameter('utm_term') ); setHiddenField("custom utm_content", GetURLParameter('utm_content') ); setHiddenField("custom utm_campaign", GetURLParameter('utm_campaign') ); setHiddenField("custom gclid", GetURLParameter('gclid') ); setHiddenField("custom t", GetURLParameter('t') );

Privacy Policy

Earnings Disclaimer

Affiliate Disclaimer