{"id":2815,"date":"2023-03-20T17:21:06","date_gmt":"2023-03-20T17:21:06","guid":{"rendered":"https:\/\/obo.zoj.mybluehost.me\/uncategorized\/how-to-reject-personal-emails\/"},"modified":"2025-04-04T14:17:57","modified_gmt":"2025-04-04T14:17:57","slug":"how-to-reject-personal-emails","status":"publish","type":"post","link":"https:\/\/ioninteractive.com\/ionacademy\/how-to-reject-personal-emails\/","title":{"rendered":"How To Reject Personal Emails"},"content":{"rendered":"\n<p>Are you building a B2B interactive experience targeting business users and looking to reject leads that enter personal email addresses?<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Before We Begin<\/h3>\n\n\n\n<p>Before getting started, you will want to make sure you have a form that collects respondents\u2019 email addresses. This form should be pointed toward a Thank You page. You will also want to remove the conversion point from your form to ensure only respondents who enter a work&nbsp;email address are identified as converted.<\/p>\n\n\n\n<p>For this setup, we will also be using the data name \u201cEmailAddress\u201d to collect email addresses from respondents. In our example, we&#8217;ll create a data field called \u201cError\u201d with an action on the rules.&nbsp;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Submit Button Rules<\/h4>\n\n\n\n<p>To edit your form\u2019s advanced rules, click the form&#8217;s submit button select &#8220;Settings&#8221;, and then \u201cRules\u201d. Next, you will add an advanced rule with one or more conditions that check for personal email addresses. In the example below, if a respondent enters an email that contains either \u201chotmail\u201d or \u201cgmail,\u201d they will trigger two actions. The first action will create the data field &#8220;Error&#8221; and besides it, you can add the error message that will be displayed to the user (i.e. Please enter your work email address).<\/p>\n\n\n\n<p>The second action will take respondents to the page they are currently on (i.e. gate form) instead of taking them to the Thank You page. The \u201cStop processing rules\u201d action is also necessary to ensure any additional rules set up after this point are not triggered.&nbsp;<\/p>\n\n\n\n<p>More specifically, if you immediately run an integration on form submission, you will want to make sure it is triggered after the personal email rule. Along with your integration&nbsp;rule, add a rule to \u201cMark as converted\u201d so that only respondents who enter a work&nbsp;email address are exported and marked as converted.<br><\/p>\n\n\n\n<p><strong>Actions<\/strong><\/p>\n\n\n\n<p>On your right-hand side, on the same settings tab, you&#8217;ll be able to set up the actions of that submit button. So in this case you will set it up to redirect the user to the thank you page, so if they enter a valid e-mail they will proceed to the next page as expected.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"711\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2025\/04\/Screenshot_1-1-1024x711.png\" alt=\"\" class=\"wp-image-7562\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/Screenshot_1-1-1024x711.png 1024w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/Screenshot_1-1-300x208.png 300w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/Screenshot_1-1-768x533.png 768w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/Screenshot_1-1.png 1148w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>*NOTE: You may add as many conditions to the personal email rule to reject any additional personal email addresses as you like.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">How to use in a lightbox<\/h4>\n\n\n\n<p>Setting the action of opening the content in the current window will generate a better user experience.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"346\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2025\/04\/image-1-1024x346.png\" alt=\"\" class=\"wp-image-7563\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/image-1-1024x346.png 1024w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/image-1-300x101.png 300w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/image-1-768x260.png 768w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/image-1.png 1154w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If they enter an invalid email, it will reload the content with the lightbox opened.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"441\" height=\"387\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2025\/04\/Screenshot_2-1.png\" alt=\"\" class=\"wp-image-7566\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/Screenshot_2-1.png 441w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/Screenshot_2-1-300x263.png 300w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\" \/><\/figure>\n\n\n\n<p>If they enter a valid e-mail it&#8217;ll redirect them to the next page where they&#8217;ll be able to go to the desired chapter.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"485\" height=\"267\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2025\/04\/Screenshot_3.png\" alt=\"\" class=\"wp-image-7565\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/Screenshot_3.png 485w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/Screenshot_3-300x165.png 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Add Page Content<\/h4>\n\n\n\n<p>To complete this setup, you will use a content variable&nbsp;to display the error from your rules anywhere you would like on your page. In our example, we have added the {{Error}} content variable in the form header to display the error message. We have also made the text red using the Rich Text Editor.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2023\/08\/mfeYfXn3QeLbZZe6KR8p7Q.png\" alt=\"mfeYfXn3QeLbZZe6KR8p7Q\" \/><\/figure>\n\n\n\n<p>With this setup complete, whenever a respondent enters a hotmail or gmail email address, they will see our personal email address error instead of going to the Thank You page.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2023\/08\/WHPoxeJvVcRCdogCwHCUQg.png\" alt=\"WHPoxeJvVcRCdogCwHCUQg\" \/><\/figure>\n\n\n\n<p><strong>Optional Rule<\/strong><\/p>\n\n\n\n<p>You can add a clean-up rule to remove the Error variable if it&#8217;s not needed anymore but if you won&#8217;t reuse that same variable it is ok to keep it as well.<\/p>\n\n\n\n<p>You should add the rule Delete Error before you check the email, with that, you always know what the variable will contain, either the error when it fails or it simply doesn\u2019t exist on success.<\/p>\n\n\n\n<p>You can reuse the same variable somewhere else without it showing any unwanted text when you have succeeded, and if you were successful it will not potentially show an error if you get to see that form again.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"866\" height=\"275\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2025\/04\/Screenshot_4.png\" alt=\"\" class=\"wp-image-7569\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/Screenshot_4.png 866w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/Screenshot_4-300x95.png 300w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/04\/Screenshot_4-768x244.png 768w\" sizes=\"auto, (max-width: 866px) 100vw, 866px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p>If you have any questions, please contact us on <a href=\"mailto:help@ioninteractive.com\" rel=\"noopener noreferrer nofollow\">help@ioninteractive.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you building a B2B interactive experience targeting business users and looking to reject leads that enter personal email addresses? Before We Begin Before getting started, you will want to make sure you have [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":5674,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"categories":[1114,1112],"tags":[2173,2242,2194],"class_list":["post-2815","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rules-overview","category-the-logic-setup","tag-advanced","tag-logic","tag-rules"],"_links":{"self":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts\/2815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/comments?post=2815"}],"version-history":[{"count":5,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts\/2815\/revisions"}],"predecessor-version":[{"id":7573,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts\/2815\/revisions\/7573"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/media\/5674"}],"wp:attachment":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/media?parent=2815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/categories?post=2815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/tags?post=2815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}