/* root=th&utm_term=mortgagecalculator is hardcoded for TrafficHause and utm_term specific to
TrafficHause is added. Anynmore query params can be addded towards the
end of below string with & key=value pair*/
//var trafficHauseValues = 'root=th&utm_term=mortgagecalculator'; var trafficHauseValues = 'root=th&utm_term=mortgagecalculator&utm_theme=[purposeNoContact]';
var queryParamValue = window.location.search;
if (queryParamValue) {
queryParamValue = queryParamValue + '&'+trafficHauseValues;
} else {
queryParamValue = '?'+trafficHauseValues;
}