Dealing with Spam or Bot Form Fillouts | Community
Skip to main content
June 29, 2017

Dealing with Spam or Bot Form Fillouts

  • June 29, 2017
  • 33 replies
  • 26953 views

Issue

You have been receiving form submissions that appear to have bogus/nonsensical data in the fields, such as "kjsag@sm4.to" for email address, or "111-111-1111" for phone number, or in a Comment field other random nonsensical text.

 

 


Solution

Currently, there are no default settings in Marketo that prohibit a form submission if the required fields are filled out. A great workaround for addressing these bogus form submissions in Marketo is to implement a 'honeypot' field on the form.

To do this, you will need to create a custom Marketo field, string type, and name it something distinctive (such as "spam" or "honeypot"). After creating this field in Marketo Admin > Field Management, place this new field on the form as a hidden field.

Real live end-users do not see hidden fields, but spam bots will see them and fill out all available fields. So now when we see form fills with this honeypot field "not empty," we know that it was a bot fillout.

 

Setting up the Honeypot Field

Say that you have a Trigger Campaign that's having some issue with these spam/bogus form fills. In the flow of this campaign, you can add a flow step at the top: Remove from Flow, with a Choice.

 

Choice:

If Honeypot field Is not empty, then remove from flow

Default: do nothing

 

This way, the lead record is removed from the flow. You can also have other campaigns to handle these bogus form fills, such as a daily recurring batch to delete the record.

 

Other Options

Another method of dealing with bot fillouts is to enable a reCaptcha. In fact, a very prolific Marketo user has written custom code that you feasibly could use to enable a reCaptcha on the form! Check this out: https://codepen.io/figureone/pen/meybqN?editors=0110

 

 


This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

33 replies

Ashley_Tate
Level 2
September 5, 2017

If we put reCAPTCHA on the form that's currently being flooded, will it stop the spam? I've been told by our own product team that if the bot already has the URL, then reCAPTCHA won't stop it.

SanfordWhiteman
Level 10
September 5, 2017

I've been told by our own product team that if the bot already has the URL, then reCAPTCHA won't stop it.

Seems they don't understand how ReCAPTCHA works!

First, ReCAPTCHA doesn't stop the form post from going on the wire (nothing can).  It allows you to detect whether the posted data was spam, by comparing the unique ReCAPTCHA signature -- if there is one, if no sig at all, it's obviously spam -- with the correct human response.

So even if a bot knows your URL, if you enforce the rule that anything posted to that URL must have a valid ReCAPTCHA response, you will easily tell what's spam.

September 8, 2017

We've added a script from BriteVerify Email Verifier and it works to block disposable domains, and validates all domain submissions. As an email is entered in the form it is verified and accepted or rejected. Fraud prevention is in place too, after 5 attempts, the IP is blocked temporarily and the user is asked to check their email inbox and click on the verify email address CTA.

We're currently testing it on a single landing page and are impressed with the results.

SanfordWhiteman
Level 10
September 8, 2017

Won't have any effect on bot submissions.

Amy_Goldfine
Level 9
September 8, 2017

We have a problem with bots, but they actually manage to skip some of our required fields. I created an alert that sends me an email when someone fills out a form but is missing fields, and I go in and delete the records.

Amy GoldfineMarketo Champion & Adobe Community Advisor
Jayanto_Sukul_S
Level 2
November 7, 2017

HI,

We've been under a bot attack for the last 48 hours from our corporate site, as we  implemented  Marketo form on SiteCore. Some are embedded forms and and few forms where we have only passed the Form Id.

I would like to take advice if we use the honeypot mechanism will it still work on site? Any advise on this will be very helpful.

SanfordWhiteman
Level 10
November 7, 2017

Honeypots that are expected to be empty aren't useful once somebody has figured out how to post data directly to your form.

For the moment, you could switch to expecting a certain value (not empty) in the field instead. It's all about what you believe a human user can do that a bot can't be coded to do (hint: not much!).

But most such measures are losing battles.

Jayanto_Sukul_S
Level 2
November 13, 2017

Thank you for your valuable guidance.

March 18, 2018

This is a helpful email from Marketo support.

----

Regarding reCaptcha, since it is a third-party integration, we don't have formal documentation regarding setting it up, but I would recommend searching the Marketo community to see how other Marketo users have approached this, or work with using reCaptcha for more information.

In addition to implementing ReCaptcha, you may want to consider adding javascript.

- Add JavaScript validation to the header of your landing pages. This checks to see if JavaScript is enabled on the browser - and, if not, redirects the lead to a page that advises them to do so. Spam bots do not have Javascript enabled, so this can cut down on spam submissions. This will minimize but not eliminate these submissions. You can also use javascript to do custom validation on any of the fields in your form, but keep in mind that you would need a developer's help for these solutions solution.

Here is an article on our community site that may be useful.

Title - Dealing with Spam or Bot Form Fillouts

Link - https://nation.marketo.com/docs/DOC-4755-how-to-setup-a-form-honeypot-field

We suggest to working a developer to implement these solutions as well as test them as custom coding falls outside the scope of support.

----

SanfordWhiteman
Level 10
March 18, 2018

Yes, "spam bots do not have JS enabled" but they also aren't browsers, so this part makes zero sense... ugh.