Honeypot in Pardot Form Handlers

Photo by Pau Casals on Unsplash

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;">
<label for="pardot_extra_field">Comments</label>
<input type="text" id="pardot_extra_field" name="pardot_extra_field">
</div>

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

  1. Create a completion action on the form handler to add all submissions to a list.
  2. Create an Engagement Studio Program in Pardot which will filter all entries against spam
  3. Move all identified spam entries to a spam list so that it can be easily deleted manually later.

--

--

--

Hello, hola, नमस्ते! 👋🏼 I’m a Salesforce Marketing Automation Consultant by day & a curious mind by night who aspires to inspire newbies in the digital world.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

PyCharm Professional — Python Editors in Review

From paper to Swift Playgrounds

Prefix Sum (cuSum)

CSV — SQL Import/Export Compilation

Building Web Applications with Streamlit for NLP Projects

GitLab Runner on AWS Windows EC2 Instances

Perspectives and Trends for Technical Writers

HackMyVM-Twisted

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gaurav Chafe

Gaurav Chafe

Hello, hola, नमस्ते! 👋🏼 I’m a Salesforce Marketing Automation Consultant by day & a curious mind by night who aspires to inspire newbies in the digital world.

More from Medium

Cialdini’s 7 Principles of Persuasion by peep laja

Serendipity Slot Review

Serendipity Slot Review

“Walden” by Henry David Thoreau