The client does not want credit card details to go to our LMFX. Our LMFX can encrypt credit card details, but the client does not want the data to reach LMFX.
Use the RCFX Pixel’s filterFormInputs.
mcfx(function(t) {
t.configure('filterFormInputs', function(formData, _form) {
// List of keys to be deleted from formData
var keysToDelete = [
'credit-card-number',
'cvc',
'expiry-date'
];
// Iterate over the keys and delete them from formData
for (var i = 0; i < keysToDelete.length; i++) {
var key = keysToDelete[i];
delete formData[key];
}
return formData;
});
});
Lead is captured without the sensitive data.