Honeypot in Pardot Form Handlers
What is a honeypot?
A honeypot is a hidden field that is visible to bots but not humans. When a bot fills out a form, the bot sees the hidden field and fills it out. To a human, the field is invisible and hence submitted as a blank entry.
HTML side implementation
<div style="position:absolute; left:-9999px; top: -9999px;">
<input type="text" id="pardot_extra_field" name="pardot_extra_field">
You can add the honeypot field to your HTML forms just above the submit button that you have integrated with Pardot form handlers. This field is hidden from humans due to the inline CSS styling applied.
Pardot side implementation
- Create a completion action on the form handler to add all submissions to a list.
- Create an Engagement Studio Program in Pardot which will filter all entries against spam
- Move all identified spam entries to a spam list so that it can be easily deleted manually later.