Category Archives: Uncategorized

test form 1

[gravityform id=”1″ name=”SIGN UP”]

var parseQueryString = function( queryString ) {
var params = {}, queries, temp, i, l;
// Split into key/value pairs
queries = queryString.split(“&”);
// Convert the array of strings into an object
for ( i = 0, l = queries.length; i < l; i++ ) {
temp = queries[i].split('=');
params[temp[0]] = temp[1];
}
return params;
};

jQuery(document).ready(function(){
var decoded=decodeURIComponent(window.location.href);
var param=parseQueryString(decoded);
var email = param.email;
email = email.replace('%40','@');
//Save in localStorage just in case.
localStorage.setItem('email',email);
//Set the label on improvely
improvely.label(email);
});