Honey pot setup not working | XM Community
Skip to main content

Hello all and good morning from a rainy Sweden!
We have seen some responses from a web-survey of ours come in marked as Spam in the response data.
I have tried applying a honey pot setup in a hidden question in an attempt to try and flag and filter these Spam-responses out afterwards, but the setup I'm using is not working as new Spam responses are coming in but are not "falling for" the honey pot setup and leaving the hidden question unanswered.
The Java script I have used on the honey pot questions is:
Qualtrics.SurveyEngine.addOnload(function()
{
  jQuery("#"+this.questionId).hide();
});

What am I doing wrong?

And why is there no way to set alerting and/or rules for responses based on the "Response Type" on the response data? That should be part of the meta data in my world. Is there any way I can flag these responses using another setup?

Thanks in advance and have a great end of 2022 and an amazing start of 2023!
-Mattias

https://community.qualtrics.com/XMcommunity/discussion/23429/honey-pot-setup-not-workingHello MattiasM ,
From what I am thinking and as included on the support page "Responses are flagged as spam if multiple identical responses are received from the same IP address within a 12-hour period."
If you would like to notify yourself based on response data I believe you can include a workflow condition on those responses if that's what you're looking for and the same status field can be used in response data.
image.pngAlso, there are multiple ways to detect spam and control it I believe this support page should help you as it has multiple metadata variables which can be included in the survey flow as well.
Hope it helps!


https://community.qualtrics.com/XMcommunity/discussion/comment/53473#Comment_53473Hi Deepak and thanks for the response!

Yeah finding them is not really an issue, and we already have a workflow where these are highlighted. My ultimate goal is to have them be automatically deleted via the Survey Flow, and my intention was to set up a condition that deleted the response if the Honey Pot questions had been answered. Because then I'd know that it really was a bot/Spam. 
As this survey is located on our website, a user can theoretically submit several "surveys" (in reality rating a support article) from the same IP which would incorrectly flag them as Spam. 
But thanks for taking the time to try and help me :) 

Have a great rest of your day!
-Mattias


https://community.qualtrics.com/XMcommunity/discussion/comment/53474#Comment_53474What if you didn't recorded them at all via the following option in end of survey. Just include the condition if that was answered and screen them out.
image.pngHope it helps!


https://community.qualtrics.com/XMcommunity/discussion/comment/53475#Comment_53475Yeah that's what I want to do, but I cant set the condition in the "Branch" of the survey flow. :)


https://community.qualtrics.com/XMcommunity/discussion/comment/53476#Comment_53476Why so is it a different question type?
If so fill in the response of hidden q in embedded data and use that as empty/not empty in branch logic. I don't think that should be an issue


https://community.qualtrics.com/XMcommunity/discussion/comment/53477#Comment_53477Yes, but the bots are not answering the hidden question as intended. That's what I need help with 🙂
So if you have alternative Java Script code I could test instead I would love to try it out. I know you're a wizard! :)


https://community.qualtrics.com/XMcommunity/discussion/comment/53478#Comment_53478I think the below thread will help you customize your JS, let me know as well if it works.
deleted — XM Community (qualtrics.com)
Hope it helps!


https://community.qualtrics.com/XMcommunity/discussion/comment/53479#Comment_53479Good morning from a windy Sweden!
Yeah I tried to implement that setup, but I dont understand what that "seperator" does or how I set that up.
All the best
-Mattias


https://community.qualtrics.com/XMcommunity/discussion/comment/53492#Comment_53492A separator is a line that divides two questions from each other. If you increase the height aspect of it you would visibly able to see it as well through CSS.
Hence, by hiding it you can fool the bot. Also, in that post the hidden question is not the first question it's in between 2 Q.
Hope it helps!


https://community.qualtrics.com/XMcommunity/discussion/comment/53493#Comment_53493Thanks, that helps. But how would I have to update the code if I only have the survey on one page?


https://community.qualtrics.com/XMcommunity/discussion/comment/53496#Comment_53496You don't need to update the code for single page just include the question in between 2 questions or make it last question on page. It will work.
Hope it helps!


https://community.qualtrics.com/XMcommunity/discussion/comment/53499#Comment_53499Good morning from a cloudy Sweden and hello 2023! :)
It was already set as the last question, but I placed in between two others now and we'll see if it works better this way.
I'll keep you posted just FYI.
Have a wonderful Monday!
-Mattias


Leave a Reply