Edit in JSFiddle

$(document).ready(function() {

	// Script to get the URL parameters. Copied from Stackoverflow.
	var getUrlParameter = function getUrlParameter(sParam) {
    var sPageURL = decodeURIComponent(window.location.search.substring(1)),
        sURLVariables = sPageURL.split('&'),
        sParameterName,
        i;

    for (i = 0; i < sURLVariables.length; i++) {
        sParameterName = sURLVariables[i].split('=');

      if (sParameterName[0] === sParam) {
        return sParameterName[1] === undefined ? true : sParameterName[1];
      }
    }
	};
  
  // Set the right variables from URL parameters
  var name = getUrlParameter('name');
  var email = getUrlParameter('email');
  
  // Post the data to the hook
  $.post( "https://hooks.zapier.com/hooks/catch/980968/hymhrs/", { 
  		name: name,
    	email: email 
  	})
  	.done(function( data ) {
    	alert( "Data sent: " + data );
  	});
})