Combat Contact Form Spam
There’s nothing more frustrating than opening up your email in the morning and seeing a new contact form submission has come in off your website and realizing its just another spammer sending you a pitch. Spam, especially in the United States, has become a serious problem. You’re literally being targeted by the entire world! It can be especially bad if your using a highly targeted CMS like WordPress to power your site. This article will go through some tactics to stop contact form spam, regain a little bit of your sanity, and restore hope when checking your new contact form submissions.
Spammers Are Lazy
One great thing I’ve learned is that many spammers are lazy. Many of them are super cheap resources in foreign countries playing the numbers game. The slightest bit of difficulty encountered usually results in giving up and moving on the to the next victim.
When combating spam and trying to stop contact form spam presenting minor difficulties can be an effective method of defending your website.
Blocking Copy Paste
One effective method I’ve seen to stop contact form spam or stop form spam in general is to disable pasting on html textarea fields. Textarea fields are most often going to be your long form description fields where someone actually types the message they want to send to you.
Disabling paste on a field is bad for usability and accessibility so it’s something to be used very sparingly. Textarea fields are going to be where a spammer is most likely to copy their pre-written pitch and paste it into the text area. If they can’t do that they are very unlikely to be determined enough to manually write their entire message into the field and most likely will just close the browser window and move on to the next target on the list.
How To Block Pasting To Stop Contact Form Spam
There are two ways a spammer can paste something into a field, the keyboard and the context menu. The keyboard paste is most often accomplished using the well known ctrl-v command and the context menu paste is accomplished by pressing right click on the mouse within the field and then selecting paste from the context menu. We need to prevent both if we want to stop spammers from blowing up our inbound forms.
This code requires a teensy bit of customization so can’t be blindly copy pasted. There are two things you’ll need to update
In general you’ll want to run this code on document ready but certain plugins, ninja forms for instance, take advantage of that event handler already so you may need to hook into a custom after form ready event or later event. A developer should be able to help you figure this out.
Next you’ll need to choose the form field selector you want to disable the appropriate form fields. This could range from a specific form with an element selected by
#ID or a class that you use to tag all the form fields you want to disable paste on to stop contact form spam.
.stop-spam for instance.
Stopping Contact Form Spam
One of the first questions I get when talking about google ads is how much is a click? It’s a fair question, but asking it is the wrong way to think about advertising via Google Ads. This is an expense focused question and the whole purpose of engaging a Google Ads management agency or getting…
As a managed service provider, you offer a great service to your clients that saves them money and frees up their time. The problem is, if they can’t find you then they can’t hire you. Businesses might not even know exactly what they are looking for, much less how to find specific providers. This is,…
Tracking conversions is one of the most important things to do as you strive to achieve your marketing goals. In recent years, a growing number of companies are turning to their thank you pages to determine their conversions. While this tracking method is easy to execute, it’s actually one of the worst ways to gauge…
Wondering how to market a tech startup? If your like me, you’re connected to the technology world and news and see countless stories, social media posts, and other such claims of tech startup success. Maybe you have some skills that pay the bills in your day job, or maybe you’re just a hungry entrepreneur looking…
Lately I’ve been spending a lot of time in Slack channels. As a solo founder I’m primarily dependent on reaching out to other people on social media networks such as Reddit, LinkedIn, and Slack to exchange ideas and keep up with current happenings in the marketplace. Through that process I’ve become quite involved in several…
If you’re new to the world of working with an agency on your digital marketing, you may have questions on evaluating whether or not your investment is making any difference. A website is a cornerstone of digital marketing infrastructure, and a well built website will naturally attract some traffic from search engines; known as organic…
The other day I was reviewing some indexed pages in Google Search console trying to understand why I was having a drop in rankings and noticed that I had both canoncial URLs and Open Graph tags indexed in Google that were pointing to my local development machines URL. WTF? I knew that the Yoast Plugin…
Building a high performing WordPress site for your business is a bit more involved than many understand. On one hand it’s relatively easy to get started with, but on the other, it’s a complex piece of installed software that has been in development by a large open source community for more than 15 years. I’ve…
When starting with a new client on their website, one issue I frequently encounter is the lack of deployment environments. Often times there is only one consumer facing website instance deployed as a production environment. Many times there is no system of formal backups in place and these conditions serve as a recipe for disaster…
In this post we’re going to walk through an eCommerce SaaS google ads case study. We’ll walk you through how we took one lucky eCommerce software as a service (SaaS) provider with a 5 figure monthly ad budget, from being a company with account maintenance challenges, room for improvement on their returns, and questions on…