Implementing a Simple Honeypot in Dynamics 365 Customer Insights – Journeys Real-time Marketing Forms


The article discusses a method to reduce bot submissions on Dynamics 365 Customer Insights - Journeys Real-time Marketing Forms using a honeypot technique. It describes adding an unbound field named 'hp_check' that is hidden from users through CSS, making it detectable by bots. The field remains empty when genuine users submit forms, but if filled, it indicates bot activity, triggering an event to prevent form submission. The process involves using client-side extensibility events like 'd365mkt-afterformload' and 'd365mkt-formsubmit' to manage the honeypot's functionality. Testing reveals the implementation effectively cancels bot-originated submissions, providing a simple yet effective spam filter, with suggestions for further security enhancements through server-side validation.


Article 3d

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time