{"id":1478,"date":"2024-11-12T08:28:17","date_gmt":"2024-11-12T14:28:17","guid":{"rendered":"https:\/\/www.exactdata.com\/info\/?post_type=products-services&#038;p=1478"},"modified":"2024-11-26T12:08:30","modified_gmt":"2024-11-26T18:08:30","slug":"direct-mail","status":"publish","type":"products-services","link":"https:\/\/www.exactdata.com\/info\/products-services\/direct-mail\/","title":{"rendered":"Direct Mail Campaign Services | Exact Data"},"content":{"rendered":"[vc_section css=&#8221;.vc_custom_1732620482498{padding-top: 50px !important;padding-bottom: 25px !important;background-image: url(https:\/\/www.exactdata.com\/info\/wp-content\/uploads\/2024\/11\/Untitled-4.png?id=1548) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}&#8221;][vc_row][vc_column width=&#8221;7\/12&#8243; css=&#8221;.vc_custom_1731665800789{padding-top: 50px !important;}&#8221;][vc_column_text el_class=&#8221;scrollToElement&#8221;]\r\n<h1>Direct Mail Campaign Services<\/h1>\r\n<h2>Achieve direct mail success with Exact Data<\/h2>\r\nWhether you\u2019re a new business looking to share your offerings or you\u2019re an established business wanting to connect with customers on your mailing lists,\r\nExact Data\u2019s all-in-one direct mail marketing solutions can help you create quality postcards, brochures, letters, or flyers.\r\n<h3>Let\u2019s start building your direct mail campaign together!<\/h3>\r\n<h3><a href=\"#form\">Fill out the form<\/a> or call us now at <a href=\"tel:877.968.8638.\"><strong><span style=\"color: #00a0dc\">877.968.8638.<\/span><\/strong><\/a><\/h3>\r\n[\/vc_column_text][\/vc_column][vc_column width=&#8221;5\/12&#8243; css=&#8221;.vc_custom_1731419664424{padding-top: 0px !important;padding-left: 30px !important;}&#8221;][vc_single_image image=&#8221;1541&#8243; img_size=&#8221;full&#8221; alignment=&#8221;right&#8221;][\/vc_column][\/vc_row][\/vc_section][vc_section css=&#8221;.vc_custom_1732620516878{padding-top: 50px !important;padding-bottom: 25px !important;background: #f9f9f9 url(https:\/\/www.exactdata.com\/info\/wp-content\/uploads\/2024\/11\/Untitled-1.png?id=1492) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}&#8221;][vc_row][vc_column][vc_column_text el_class=&#8221;whitetext&#8221;]\r\n<h2 style=\"text-align: center\">The Exact Data Difference<\/h2>\r\n<p style=\"text-align: center\">Need a quality business or consumer list before you can send your direct mail piece?\r\nWe have you covered! We invest millions of dollars every year and employ hundreds of researchers to ensure that our databases remain as\r\nup-to-date and accurate as possible.<\/p>\r\n[\/vc_column_text][\/vc_column][\/vc_row][\/vc_section][vc_section css=&#8221;.vc_custom_1732555203746{background-color: #f9f9f9 !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}&#8221;][vc_row css=&#8221;.vc_custom_1732530240857{padding-top: 50px !important;}&#8221;][vc_column][vc_column_text]\r\n<h2 style=\"text-align: center\"><strong>Explore Your Direct Mail Options<\/strong><\/h2>\r\n[\/vc_column_text][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1732634570149{padding-top: 20px !important;padding-bottom: 25px !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}&#8221;][vc_column width=&#8221;7\/12&#8243; css=&#8221;.vc_custom_1732620003632{margin-bottom: 50px !important;padding-top: 50px !important;}&#8221;][vc_column_text]\r\n<h3><strong>Postcards<\/strong><\/h3>\r\nA simple but highly effective choice for your direct mail campaign, postcards are budget-friendly and versatile. Their unique size makes them stand out amongst a stack of letters.\r\n\r\nSize options:\r\n<ul>\r\n \t<li>6&#8221; x 4.25&#8221;<\/li>\r\n \t<li>8.5&#8221; x 5.5&#8221; (Most popular!)<\/li>\r\n \t<li>11.5&#8221; x 5.5&#8221;<\/li>\r\n \t<li>11&#8221; x 8.5&#8221; (Folded)<\/li>\r\n<\/ul>\r\n[\/vc_column_text][\/vc_column][vc_column width=&#8221;5\/12&#8243;][vc_single_image image=&#8221;1770&#8243; img_size=&#8221;large&#8221; alignment=&#8221;right&#8221;][\/vc_column][\/vc_row][\/vc_section][vc_section css=&#8221;.vc_custom_1732619897321{background-color: #ffffff !important;}&#8221;][vc_row css=&#8221;.vc_custom_1732620369574{padding-top: 50px !important;padding-bottom: 25px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][vc_single_image image=&#8221;1771&#8243; img_size=&#8221;large&#8221;][\/vc_column][vc_column width=&#8221;7\/12&#8243; css=&#8221;.vc_custom_1732621205648{margin-bottom: 50px !important;padding-top: 50px !important;padding-left: 10px !important;}&#8221;][vc_column_text]\r\n<h3><strong>Brochures &amp; Self Mailers<\/strong><\/h3>\r\nSend your piece without an envelope! Self-mailers and brochures are sent as-is, saving you the time and cost of stuffing envelopes and matching addresses to individual letters. These pieces are ideal for beautiful, eye-catching designs and photos and are more likely to be shared.\r\n\r\nCustomization options:\r\n<ul>\r\n \t<li>Paper type, size, and folds<\/li>\r\n \t<li>1- or 2-sided printing<\/li>\r\n \t<li>Full color or black and white<\/li>\r\n<\/ul>\r\n[\/vc_column_text][\/vc_column][\/vc_row][\/vc_section][vc_section css=&#8221;.vc_custom_1732620304242{padding-top: 25px !important;padding-bottom: 25px !important;background-color: #f9f9f9 !important;}&#8221;][vc_row css=&#8221;.vc_custom_1732620344591{padding-top: 50px !important;padding-bottom: 25px !important;}&#8221;][vc_column width=&#8221;7\/12&#8243; css=&#8221;.vc_custom_1732619990480{margin-bottom: 50px !important;padding-top: 50px !important;}&#8221;][vc_column_text css=&#8221;.vc_custom_1732641264724{margin-bottom: 15px !important;}&#8221;]\r\n<h3><strong>Personalized Letters &amp; Envelopes<\/strong><\/h3>\r\nMake your customers feel like they&#8217;re receiving one-to-one communication from you! Use personalization to tailor your messaging and improve response rates.\r\nPlace striking graphics or photos on your envelopes to help them stand out and improve open rates. Use variable information to precisely target your audience. Tease what&#8217;s inside with thoughtful, intriguing messages on the outside.\r\n\r\nCustomization options:\r\n<ul>\r\n \t<li>Paper and envelope type, size, color<\/li>\r\n \t<li>Use of graphics, photographs, and logos<\/li>\r\n \t<li>Mailing list segmentation<\/li>\r\n<\/ul>\r\n[\/vc_column_text][\/vc_column][vc_column width=&#8221;5\/12&#8243;][vc_single_image image=&#8221;1772&#8243; img_size=&#8221;large&#8221; alignment=&#8221;right&#8221;][\/vc_column][\/vc_row][\/vc_section][vc_section css=&#8221;.vc_custom_1731421454743{padding-top: 50px !important;padding-bottom: 50px !important;background-color: #ffffff !important;}&#8221;][vc_row][vc_column][vc_column_text]\r\n<h2 style=\"text-align: center\"><strong>Access Everything You Need for Direct Mail Marketing Success<\/strong><\/h2>\r\n[\/vc_column_text][vc_column_text]\r\n<p style=\"text-align: center\">From start to send, our marketing experts understand direct mail and are eager to help you create the exact piece you have in mind. Find success with our all-in-one direct mail marketing solutions. Work with us and get:<\/p>\r\n[\/vc_column_text][vc_row_inner][vc_column_inner width=&#8221;1\/5&#8243;][vc_single_image image=&#8221;1570&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text css=&#8221;.vc_custom_1731430454373{margin-bottom: 15px !important;}&#8221;]\r\n<h6 style=\"text-align: center\"><strong>Customer Lists<\/strong><\/h6>\r\n<p style=\"text-align: center\">With 309 million consumer contacts and 17.3 million businesses in our databases, you\u2019re sure to find your exact audience with our direct mailing lists.<\/p>\r\n[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/5&#8243;][vc_single_image image=&#8221;1571&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text css=&#8221;.vc_custom_1731665903747{margin-bottom: 15px !important;}&#8221;]\r\n<h6 style=\"text-align: center\"><strong>Professional Look\r\n<\/strong><strong>and Feel<\/strong><\/h6>\r\n<p style=\"text-align: center\">From the right message to an eye-catching design, our creative experts can design a piece that will stand out in your customers\u2019 mailboxes and get your message noticed.<\/p>\r\n[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/5&#8243;][vc_single_image image=&#8221;1572&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text css=&#8221;.vc_custom_1732636217408{margin-bottom: 15px !important;}&#8221;]\r\n<h6 style=\"text-align: center\"><strong>Satisfaction Guarantee<\/strong><\/h6>\r\n<p style=\"text-align: center\">We continuously update our databases to ensure your mail is delivered to the right place and you get the best ROI. In case of a misdelivery or incorrect addresses on file, we offer a Satisfaction Guarantee.<\/p>\r\n[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/5&#8243;][vc_single_image image=&#8221;145&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text css=&#8221;.vc_custom_1731665531487{margin-bottom: 15px !important;}&#8221;]\r\n<h6 style=\"text-align: center\"><strong>Postal Protect\u2122 Laminate<\/strong><\/h6>\r\n<p style=\"text-align: center\">Your direct mail piece should look as good arriving in their mailbox as it did on the day it came off the printer. It will with this unique direct mail offering.<\/p>\r\n[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/5&#8243;][vc_single_image image=&#8221;1573&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text css=&#8221;.vc_custom_1731665634250{margin-bottom: 15px !important;}&#8221;]\r\n<h6 style=\"text-align: center\"><strong>Competitive Pricing<\/strong><\/h6>\r\n<p style=\"text-align: center\">You will find no hidden pricing or fees when working with us. Have budget concerns? We will work hard to build you the perfect package while staying within your budget.<\/p>\r\n[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row][\/vc_section][vc_row][vc_column][vc_separator border_width=&#8221;2&#8243;][\/vc_column][\/vc_row][vc_section css=&#8221;.vc_custom_1732620263619{background: #ffffff url(https:\/\/www.exactdata.com\/info\/wp-content\/uploads\/2024\/04\/5764-Converted.png?id=699) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}&#8221;][vc_row css=&#8221;.vc_custom_1712945699583{padding-top: 50px !important;padding-bottom: 50px !important;background-color: #ffffff !important;}&#8221;][vc_column width=&#8221;1\/2&#8243; el_id=&#8221;form&#8221;][vc_column_text]\r\n<h3 style=\"text-align: center\">Start building your direct mail campaign. Fill out the form or call us now at <a href=\"tel:8779688638\"><strong>877.968.8638.<\/strong><\/a><\/h3>\r\n[\/vc_column_text]    <div class=\"hs_inline_form\">\r\n        <script>\r\n            var device = \"\";\r\n            device += detectMob() ? \"Mobile\" : \"Desktop\"; device += \", \" + getBrowserName();\r\n            if (detectMob()) {\r\n                device += \", \" + getMobileOperatingSystem();\r\n            } else {\r\n                device += \", \" + getOperatingSystem();\r\n            }\r\n            var browserName = navigator.userAgent;\r\n\r\n            var randomStringId = Math.random().toString(36).substr(2, 9);\r\n\r\n            window.phone_status = \"Unknown\";\r\n            window.line_type = \"Unknown\";\r\n\r\n            var badWords = [\r\n                \"arse\",\"ass\",\"asshole\",\"bastard\",\"bitch\",\"bollocks\",\"brotherfucker\",\"bugger\",\r\n                \"bullshit\",\"child-fucker\",\"Christ on a bike\",\"Christ on a cracker\",\"crap\",\r\n                \"cunt\",\"damn\",\"effing\",\"fatherfucker\",\"frigger\",\"fuck\",\"goddamn\",\"godsdamn\",\r\n                \"hell\",\"holy shit\",\"horseshit\",\"Jesus Christ\",\"Jesus fuck\",\"Jesus H. Christ\",\r\n                \"Jesus Harold Christ\",\"Jesus wept\",\"Jesus, Mary and Joseph\",\"Judas Priest\",\r\n                \"motherfucker\",\"nigga\",\"prick\",\"shit\",\"shit ass\",\"shitass\",\"sisterfucker\",\r\n                \"slut\",\"son of a bitch\",\"son of a whore\",\"sweet Jesus\",\"twat\",\"suck\",\"sucker\",\r\n                \"fucker\"\r\n            ];\r\n\r\n            hbspt.forms.create({\r\n                region: \"na1\",\r\n                portalId: \"5267700\",\r\n                formId: \"2bf3c23d-0ffd-40c2-a822-97307ce32a31\",\r\n                cssClass: \"ds_on_page_custom_class\",\r\n                formInstanceId: `ds_on_page_${randomStringId}`,\r\n                css:'',\r\n                onFormReady: function($form) {\r\n                    $form.find(\"input[type=submit]\").css(\"width\", \"100%\");\r\n                    $form.find(\"input[name=device]\").val();\r\n                    $form.find(\"input[name=bas_phone]\").val();\r\n                    $form.find(\"input[name=google_analytics_campaign]\").val(Cookies.get(\"campaignid\") || \"Not Present\");\r\n                    $form.find(\"input[name=sfcid]\").val(Cookies.get(\"sfcid\") || \"701Pa000007r0KSIAY\");\r\n                    $form.find(\"input[name=media_code]\").val(Cookies.get(\"media_code\") || \"EXDCMSW00100\");\r\n                    $form.find(\"input[name=gclid]\").val(Cookies.get(\"gclid\") || \"Not Present\");\r\n                    $form.find(\"input[name=ms_click_id]\").val(Cookies.get(\"msclkid\") || \"Not Present\");\r\n                    $form.find(\"input[name=facebook_cookie_fbc]\").val(Cookies.get(\"_fbc\") || \"Not Present\");\r\n                    $form.find(\"input[name=facebook_cookie_fbp]\").val(Cookies.get(\"_fbp\") || \"Not Present\");\r\n                    $form.find(\"input[name=utm_campaign]\").val(Cookies.get(\"utm_campaign\") || \"Not Present\");\r\n                    $form.find(\"input[name=utm_content]\").val(Cookies.get(\"utm_content\") || \"Not Present\");\r\n                    $form.find(\"input[name=utm_medium]\").val(Cookies.get(\"utm_medium\") || \"Not Present\");\r\n                    $form.find(\"input[name=utm_source]\").val(Cookies.get(\"utm_source\") || \"Not Present\");\r\n                    $form.find(\"input[name=utm_term]\").val(Cookies.get(\"utm_term\") || \"Not Present\");\r\n                    $form.find(\"input[name=adgroup_id]\").val(Cookies.get(\"adgroupid\") || \"Not Present\");\r\n                    $form.find(\"input[name=extension_id]\").val(Cookies.get(\"extensionid\") || \"Not Present\");\r\n                    $form.find(\"input[name=matchtype]\").val(Cookies.get(\"matchtype\") || \"Not Present\");\r\n                    $form.find(\"input[name=network]\").val(Cookies.get(\"network\") || \"Not Present\");\r\n                    $form.find(\"input[name=bp_line_type]\").val(Cookies.get(\"bp_line_type\") || \"Unknown\");\r\n                    $form.find(\"input[name=bp_phone_status]\").val(Cookies.get(\"bp_phone_status\") || \"Unknown\");\r\n                    $form.find(\"input[name=fbclid]\").val(Cookies.get(\"fbclid\") || \"Not Present\");\r\n                    $form.find(\"input[name=leadsource]\").val(Cookies.get(\"leadsource\") || \"Not Present\");\r\n                    $form.find(\"input[name=ip]\").val(connectingIP);\r\n                    $form.find(\"input[name=browser_user_agent]\").val(browserName);\r\n                    $form.find(\"input[name=page_url__long_text_]\").val(currentPageURL);\r\n                    var phoneField = $form.find(\"input[name=phone]\");\r\n                    const phoneMasker = IMask(phoneField.get(0), {\r\n                        mask: \"+1 (000) 000-0000\",\r\n                        lazy: false,\r\n                        placeholder: \"_\"\r\n                    });\r\n\r\n                    \/*Floating Labels*\/\r\n                    var $input = $(\".hs-input\");\r\n                    $input\r\n                        .on(\"focus\", function() {\r\n                            $(this)\r\n                                .parent()\r\n                                .parent()\r\n                                .addClass(\"active\");\r\n                        })\r\n                        .blur();\r\n\r\n                    \/\/ move label if input is empty or not\r\n                    $input.focusout(function() {\r\n                        if (!$(this).val()) {\r\n                            $(this)\r\n                                .parent()\r\n                                .parent()\r\n                                .removeClass(\"active\");\r\n                        } else {\r\n                            $(this)\r\n                                .parent()\r\n                                .parent()\r\n                                .addClass(\"active\");\r\n                        }\r\n                    }).focusout();\r\n\r\n                                            $form.find(\"input[name=keyword]\").val(Cookies.get(\"keyword\") || \"Not Present\");\r\n                    \r\n                    var domain = window.location.hostname;\r\n                    var baseUrls = {\r\n                        \"www.exactdata.com\": {\r\n                            terms: \"https:\/\/www.exactdata.com\/info\/terms-of-use\/\",\r\n                            privacy: \"https:\/\/www.exactdata.com\/info\/privacy-policy\/\"\r\n                        },\r\n                        \"qa.exactdata.com\": {\r\n                            terms: \"https:\/\/qa.exactdata.com\/info\/terms-of-use\/\",\r\n                            privacy: \"https:\/\/qa.exactdata.com\/info\/privacy-policy\/\"\r\n                        }\r\n                    };\r\n                    var urls = baseUrls[domain];\r\n                    var disclaimer = document.createElement(\"div\");\r\n                    disclaimer.innerHTML = `<p class=\"verbiage\">By submitting this form you are agreeing to Exact Data\\'s <a target=\"_blank\" href=\"${urls.terms}\">Terms & Conditions<\/a>, <a target=\"_blank\" href=\"${urls.privacy}\">Privacy Policy<\/a>, and consent to our <span class=\"contact-policy-hover\">Contact Policy<span class=\"contact-policy-tooltip\">I consent to Data Axle and its subsidiaries and affiliates using my email and phone number for marketing and analytical purposes, including to contact me regarding Data Axle products.<\/span><\/span>. No credit card required.<\/p>`;\r\n                    var style = document.createElement(\"style\");\r\n                    style.textContent = `\r\n                    .verbiage {\r\n                        font-size: 12px;\r\n                        margin: 0;\r\n                        padding: 0;\r\n                        line-height: 15px;\r\n                        text-shadow: none;\r\n                        color: rgba(59, 59, 59, 0.5);\r\n                        text-align: left;\r\n                        margin-top: 15px;\r\n                    }\r\n                    .verbiage a {\r\n                        text-decoration: underline;\r\n                        color: #039fff !important;\r\n                    }\r\n                    .contact-policy-hover {\r\n                        position: relative;\r\n                        cursor: pointer;\r\n                        text-decoration: underline;\r\n                        color: #039fff;\r\n                    }\r\n                    .contact-policy-tooltip {\r\n                        display: none; \/* Initially hidden *\/\r\n                        border-radius: 5px;\r\n                        background-color: #221f20;\r\n                        font-size: .6875rem;\r\n                        width: 200px; \/* Allow width to fit content *\/\r\n                        padding: 10px;\r\n                        position: absolute;\r\n                        color: #fff;\r\n                        z-index: 99999999999;\r\n                    }\r\n                    .contact-policy-tooltip.visible {\r\n                        display: block;\r\n                        inset: auto 0px 100% auto;\r\n                    }`;\r\n\r\n                    disclaimer.appendChild(style);\r\n                    document.body.appendChild(disclaimer);\r\n\r\n                    var $submitButton = $form.find(\"input[type=submit]\");\r\n                    var originalSubmitText = $submitButton.val();\r\n\r\n                    var emailField = $form[0].querySelector(\"input[name='email']\");\r\n                    var phoneField = $form[0].querySelector(\"input[name='phone']\");\r\n                    var firstnameField = $form[0].querySelector(\"input[name='firstname']\");\r\n                    var lastnameField = $form[0].querySelector(\"input[name='lastname']\");\r\n                    var companyField = $form[0].querySelector(\"input[name='company']\");\r\n\r\n                    var $emailError = $('<div class=\"mktoCustomError\">Must be a valid email.<\/div>').insertAfter(emailField);\r\n                    var $phoneError = $('<div class=\"mktoCustomError\">Must be a valid phone number.<\/div>').insertAfter(phoneField);\r\n                    var $fnameError = $('<div class=\"mktoCustomError\">This field is required.<\/div>').insertAfter(firstnameField);\r\n                    var $lnameError = $('<div class=\"mktoCustomError\">This field is required.<\/div>').insertAfter(lastnameField);\r\n\r\n                    $emailError.hide();\r\n                    $phoneError.hide();\r\n                    $fnameError.hide();\r\n                    $lnameError.hide();\r\n\r\n                    function showSpinner() {\r\n                        $submitButton.prop('disabled', true);\r\n                        $submitButton.val('PROCESSING...');\r\n                    }\r\n\r\n                    function hideSpinner() {\r\n                        $submitButton.prop('disabled', false);\r\n                        $submitButton.val(originalSubmitText);\r\n                    }\r\n\r\n                    $form.on(\"mouseenter\", \".contact-policy-hover\", function(event) {\r\n                        event.stopPropagation();\r\n                        event.preventDefault();\r\n                        var tooltip = $(this).find(\".contact-policy-tooltip\");\r\n                        tooltip.addClass(\"visible\");\r\n\r\n                        \/\/ Calculate the tooltip position\r\n                        var tooltipRect = tooltip[0].getBoundingClientRect();\r\n                        \/\/ var hoverRect = $(this)[0].getBoundingClientRect();\r\n                        var viewportWidth = window.innerWidth;\r\n                        var viewportHeight = window.innerHeight;\r\n\r\n                        \/\/ Reset any custom positioning\r\n                        tooltip.css({\r\n                            \"left\": \"\",\r\n                            \"right\": \"\",\r\n                            \"top\": \"\",\r\n                            \"bottom\": \"\",\r\n                            \"transform\": \"\",\r\n                            \"inset\": \"\"\r\n                        });\r\n\r\n                        \/\/ Adjust position based on available space\r\n                        if (tooltipRect.width > viewportWidth) {\r\n                            tooltip.css({\r\n                                \"width\": \"90vw\",\r\n                                \"left\": \"5vw\",\r\n                                \"right\": \"auto\",\r\n                                \"transform\": \"none\"\r\n                            });\r\n                        } else if (tooltipRect.right > viewportWidth) {\r\n                            tooltip.css({\r\n                                \"left\": \"auto\",\r\n                                \"right\": \"0\",\r\n                            });\r\n                        } else if (tooltipRect.right < viewportWidth) {\r\n                            tooltip.css({\r\n                                \"left\": \"auto\",\r\n                                \"right\": \"auto\",\r\n                            });\r\n                        } else if (tooltipRect.left < 0) {\r\n                            tooltip.css({\r\n                                \"left\": \"0\",\r\n                                \"right\": \"auto\"\r\n                            });\r\n                        } else if (tooltipRect.left > 0) {\r\n                            tooltip.css({\r\n                                \"left\": \"0\",\r\n                                \"right\": \"auto\"\r\n                            });\r\n                        } else {\r\n                            tooltip.css({\r\n                                \"left\": \"50%\",\r\n                                \"right\": \"auto\",\r\n                                \"transform\": \"translateX(-50%)\"\r\n                            });\r\n                        }\r\n\r\n                        if (tooltipRect.height > viewportHeight) {\r\n                            tooltip.css({\r\n                                \"height\": \"90vh\",\r\n                                \"top\": \"5vh\",\r\n                                \"bottom\": \"auto\"\r\n                            });\r\n                        } else if (tooltipRect.bottom > viewportHeight) {\r\n                            tooltip.css({\r\n                                \"top\": \"auto\",\r\n                                \"bottom\": \"100%\"\r\n                            });\r\n                        } else if (tooltipRect.top < 0) {\r\n                            tooltip.css({\r\n                                \"top\": \"100%\",\r\n                                \"bottom\": \"auto\"\r\n                            });\r\n                        } else {\r\n                            tooltip.css({\r\n                                \"top\": \"auto\",\r\n                                \"bottom\": \"100%\"\r\n                            });\r\n                        }\r\n                    });\r\n\r\n                    $form.on(\"mouseleave\", \".contact-policy-hover\", function(event) {\r\n                        event.stopPropagation();\r\n                        event.preventDefault();\r\n                        var tooltip = $(this).find(\".contact-policy-tooltip\");\r\n                        tooltip.removeClass(\"visible\");\r\n                    });\r\n\r\n                    var submitButton = $form[0].querySelector(\"input[type=submit]\");\r\n                    if (submitButton) {\r\n                        submitButton.parentNode.insertBefore(disclaimer, submitButton.nextSibling);\r\n                    } else {\r\n                        console.error(\"Submit button not found.\");\r\n                    }\r\n\r\n                    $(firstnameField).on('input', function() {\r\n                        $fnameError.hide();\r\n                        firstnameField.classList.remove('invalid', 'error');\r\n                    });\r\n\r\n                    $(lastnameField).on('input', function() {\r\n                        $lnameError.hide();\r\n                        lastnameField.classList.remove('invalid', 'error');\r\n                    });\r\n\r\n                    $(emailField).on('input', function() {\r\n                        $emailError.hide();\r\n                        emailField.classList.remove('invalid', 'error');\r\n                    });\r\n\r\n                    $(phoneField).on('input', function() {\r\n                        $phoneError.hide();\r\n                        phoneField.classList.remove('invalid', 'error');\r\n                    });\r\n\r\n                    $form.on('click', '.hs-button', async function (e) {\r\n                        e.preventDefault(); \/\/ Prevent form submission until validation is done\r\n\r\n                        showSpinner();\r\n\r\n                        var emailValue = emailField.value;\r\n                        var phoneValue = phoneField.value;\r\n                        var firstValue = firstnameField.value;\r\n                        var lnameValue = lastnameField.value;\r\n                        var companyValue = (companyField && companyField.value.trim() !== \"\")\r\n                            ? companyField.value.trim()\r\n                            : (firstValue + \" \" + lnameValue);\r\n\r\n                        \/\/ set hbEntry cookie using js-cookie (same library used elsewhere)\r\n                        var hbEntry = {\r\n                            email: emailValue,\r\n                            phone: (phoneMasker && phoneMasker.unmaskedValue) ? phoneMasker.unmaskedValue : phoneValue,\r\n                            firstname: firstValue,\r\n                            lastname: lnameValue,\r\n                            company: companyValue\r\n                        };\r\n\r\n                        \/\/ 30 days expiry, domain exactdata.com, secure only on https\r\n                        Cookies.set('hbEntry', JSON.stringify(hbEntry), {\r\n                            domain: \"exactdata.com\",\r\n                            path: \"\/\",\r\n                            secure: (window.location.protocol === 'https:')\r\n                        });\r\n\r\n\r\n                        \/\/ console.log(emailValue,phoneValue);\r\n                        \/\/ console.log(phone_status,line_type);\r\n                        \/\/ console.log(hbEntry);\r\n\r\n                        \/\/ $(emailField).on('blur',function (e){\r\n                        \/\/     $(emailField).find('.emailvalid-error').remove();\r\n                        \/\/ });\r\n\r\n                        \/\/ if(typeof phone_status == 'undefined' || phone_status === 'Unknown'){\r\n                        \/\/     $phoneError.show();\r\n                        \/\/ }\r\n\r\n\r\n                        try {\r\n                            \/\/ Validate email and phone asynchronously\r\n                            \/\/Assign Heap SID\r\n                            const hsidVal      = await processHeapData();\r\n                            const isEmailValid = (emailValue.length > 0) ? await validateEmail(emailValue,emailField,$emailError) : false;\r\n                            const isPhoneValid = (phoneMasker.unmaskedValue.length > 0) ? await validatePhone(phoneValue,phoneMasker.unmaskedValue,phoneField,$phoneError) : false;\r\n                            const getRegistrationFlow = (isEmailValid && isPhoneValid) ? await validateGetRegistrationFlow(emailValue, phoneMasker.unmaskedValue) : false;\r\n                            const isSalesGenieUser = (isEmailValid) ? await validateSalesGenieUser(emailValue) : false; \r\n                            \/\/ Set Registration Flow hidden field value\r\n                                if (getRegistrationFlow) {\r\n                                    $form.find(\"input[name=user_registration_flow]\").val(getRegistrationFlow);\r\n                                    \/\/ console.log('Set registration_flow field value to', getRegistrationFlow);\r\n                                } else {\r\n                                    $form.find(\"input[name=user_registration_flow]\").val('');\r\n                                    \/\/ console.log('Set registration_flow field value to \" \"');\r\n                                }\r\n\r\n                                if (getRegistrationFlow !== 'ED') {\r\n                                    \/\/ Set SalesGenie user status hidden field value\r\n                                    if (isSalesGenieUser) {\r\n                                        $form.find(\"input[name=existing_user_flag]\").val('true');\r\n                                        \/\/ console.log('Set existing_user field value to \"true\"');\r\n                                    } else {\r\n                                        $form.find(\"input[name=existing_user_flag]\").val('false');\r\n                                        \/\/ console.log('Set existing_user field value to \"false\"');\r\n                                    }\r\n                                }\r\n                            \/\/ const salesforceToken = (!isSalesGenieUser) ? await getSalesforceAccessToken() : null;\r\n                            const getSalesforceData = (!isSalesGenieUser && isEmailValid) ? await validateSalesforceData(emailValue) : false;\r\n                            const isSendToSF   = (isEmailValid && isPhoneValid) ? await sendHsDataToSf($form,hsidVal) : false;\r\n                            const isFnameValid = (firstValue.length > 0) ? await validateName(firstnameField,$fnameError) : false;\r\n                            const isLnameValid = (lnameValue.length > 0) ? await validateName(lastnameField,$lnameError) : false;\r\n                            \/\/ console.log(isEmailValid , isPhoneValid, isSendToSF );\r\n                            \/\/ console.log('isSalesGenieUser:', isSalesGenieUser);\r\n\r\n                            if (isFnameValid && isLnameValid && isEmailValid && isPhoneValid) {\r\n                                \/\/ Both validations passed, proceed to submit the form\r\n                                console.log('Both email and phone are valid. Submitting the form...');\r\n                                hideSpinner();\r\n\r\n                                $form.find(\"input[name=bp_phone_status]\").val(phone_status);\r\n                                $form.find(\"input[name=bp_line_type]\").val(line_type);\r\n                                \/\/Heap Value update\r\n                                $form.find(\"input[name=heap_session_id]\").val(hsidVal);\r\n\r\n                                $emailError.hide();\r\n                                emailField.classList.remove('invalid', 'error');\r\n\r\n                                $phoneError.hide();\r\n                                phoneField.classList.remove('invalid', 'error');\r\n\r\n                                \/\/Generate JWT\r\n                                \/\/FName,LName,Emailid,Phoneno\r\n                                await getJwtData(firstValue,lnameValue,emailValue,phoneValue);\r\n\r\n                                $form.submit();\r\n                            } else {\r\n                                \/\/ Handle validation failure\r\n                                if (!isEmailValid) {\r\n                                    emailField.classList.add('invalid', 'error');\r\n                                    $emailError.show();\r\n                                }\r\n\r\n                                if (!isPhoneValid) {\r\n                                    phoneField.classList.add('invalid', 'error');\r\n                                    $phoneError.show();\r\n                                }\r\n\r\n                                if (!isFnameValid) {\r\n                                    firstnameField.classList.add('invalid', 'error');\r\n                                    $fnameError.show();\r\n                                }\r\n\r\n                                if (!isLnameValid) {\r\n                                    lastnameField.classList.add('invalid', 'error');\r\n                                    $lnameError.show();\r\n                                }\r\n\r\n                                \/\/ Hide loader or re-enable the submit button\r\n                                \/\/$('.quoteloader').css('display', 'none');\r\n                                hideSpinner();\r\n                            }\r\n\r\n                        } catch (error) {\r\n                            console.error('Error during validation:', error);\r\n                            \/\/ Handle any unexpected errors during validation\r\n                            \/\/$('.quoteloader').css('display', 'none');\r\n                            hideSpinner();\r\n                        }\r\n\r\n                    });\r\n                },\r\n                \/\/ onFormSubmitted: async function ($form, data){\r\n                \/\/     let sfdub = await sendHsDataToSf($form);\r\n                \/\/     console.log(sfdub);\r\n                \/\/ },\r\n\r\n            });\r\n\r\n            async function validateGetRegistrationFlow(email, phone) {\r\n                try {\r\n                    const response = await fetch(edinfo.ajaxurl, {\r\n                    method: 'POST',\r\n                    headers: { 'Content-Type': 'application\/x-www-form-urlencoded' },\r\n                    body: new URLSearchParams({\r\n                        action: 'get_registration_flow',\r\n                        email: email,\r\n                        phone: phone\r\n                    }),\r\n                    });\r\n\r\n                    const result = await response.json();\r\n\r\n                    if (result.success) {\r\n                    \/\/ console.log('Registration Flow Data:', result.data);\r\n                    return result.data.UserFlowType || false;\r\n                    } else {\r\n                    console.error('Error:', result.data?.message || 'Unknown error');\r\n                    return false;\r\n                    }\r\n\r\n                } catch (error) {\r\n                    console.error('AJAX error:', error);\r\n                    return false;\r\n                }\r\n            }\r\n\r\n            async function validateSalesGenieUser(email) {\r\n                try {\r\n                    let apiUrl=\"\";\r\n                    if (iusaEnvironment == \"TEST\") {\r\n                        apiUrl = `https:\/\/test-auth.salesgenie.com\/api\/v1\/Source\/GetProductListOfUser?username=${encodeURIComponent(email)}`;\r\n                    } else if (iusaEnvironment == \"PROD\") {\r\n                        apiUrl = `https:\/\/auth.salesgenie.com\/api\/v1\/Source\/GetProductListOfUser?username=${encodeURIComponent(email)}`;\r\n                    }\r\n\r\n                    const response = await fetch(apiUrl, {\r\n                        method: 'GET',\r\n                        headers: {\r\n                            'Content-Type': 'application\/json'\r\n                        }\r\n                    });\r\n\r\n                    if (!response.ok) return false;\r\n\r\n                    const data = await response.json();\r\n\r\n                    \/\/ If API returns false directly\r\n                    if (data === false) return false;\r\n\r\n                    \/\/ Check if it contains \"Salesgenie\": \"Salesgenie\"\r\n                    \/\/ return data.Salesgenie === \"Salesgenie\" || data.ExactData === \"ExactData\";\r\n                    return data.Salesgenie === \"Salesgenie\";\r\n\r\n                } catch (error) {\r\n                    console.error('SalesGenie API error:', error);\r\n                    return false;\r\n                }\r\n            }\r\n\r\n            async function validateSalesforceData(email) {\r\n                try {\r\n                    const response = await fetch(edinfo.ajaxurl, {\r\n                    method: 'POST',\r\n                    headers: { 'Content-Type': 'application\/x-www-form-urlencoded' },\r\n                    body: new URLSearchParams({\r\n                        action: 'get_salesforce_data',\r\n                        email: email\r\n                    }),\r\n                    });\r\n\r\n                    const result = await response.json();\r\n\r\n                    if (result.success) {\r\n                    \/\/ console.log('Salesforce Data:', result.data);\r\n                    return result.data.success && result.data.isContactExist;\r\n\r\n                    \/\/ return result.data;\r\n                    } else {\r\n                    console.error('Error:', result.data?.message || 'Unknown error');\r\n                    return null;\r\n                    }\r\n                } catch (error) {\r\n                    console.error('AJAX error:', error);\r\n                    return null;\r\n                }\r\n            }\r\n\r\n\r\n            \/\/ Helper functions to make API requests\r\n            async function validateEmail(email,emailField,$emailError) {\r\n                \/\/Set user email cookie\r\n                Cookies.set(\"userEmailAddress\", email, { domain: \"exactdata.com\", expires: 30, path: \"\/\" });\r\n                emailField.dispatchEvent(new Event('input', { bubbles: true }));\r\n\r\n                const hasInvalidClass = emailField.classList.contains('invalid');\r\n                const hasErrorClass = emailField.classList.contains('error');\r\n                if(hasInvalidClass || hasErrorClass){\r\n                    return false;\r\n                }\r\n\r\n                \/\/ Check for badwords\r\n                if (containsBadWords(email)) {\r\n                    emailField.classList.add('invalid', 'error');\r\n                    $emailError.show();\r\n                    return false;\r\n                }\r\n\r\n                \/\/ No badwords \u2192 valid\r\n                        $emailError.hide();\r\n                        emailField.classList.remove('invalid', 'error');\r\n                        return true;\r\n            }\r\n\r\n            async function validatePhone(phone,unmaskedPhone,phoneField,$phoneError) {\r\n                \/\/ console.log(phone.length,'<---phone');\r\n                \/\/ console.log(unmaskedPhone.length,'<---unmaskedPhone');\r\n                \/\/ console.log(unmaskedPhone);\r\n                \/\/ console.log(`${phone}_phone_status`);\r\n                \/\/ console.log(`${phone}_line_type`);\r\n                \/\/(192)847-8090 Found\r\n                \/\/(192)847-4090 \"The phone number must be in the format (192)847-4090.\"\r\n                \/\/ First, check if the phone number is in the cookie\r\n                phone_status = Cookies.get(`${phone}_phone_status`);\r\n                line_type = Cookies.get(`${phone}_line_type`);\r\n\r\n                var trimmedPhone = phone.replace(\/^\\+[0-9]\/, '');\r\n\r\n                console.log(phone_status,line_type,'<----');\r\n\r\n                const hasInvalidClassPhone = phoneField.classList.contains('invalid');\r\n                const hasErrorClassPhone = phoneField.classList.contains('error');\r\n                if(hasInvalidClassPhone || hasErrorClassPhone){\r\n                    return false;\r\n                }\r\n\r\n                \/\/const phoneFromCookie = Cookies.get(`${phone}_phone_status`);\r\n                \/\/ if (phoneFromCookie) {\r\n                \/\/     return true; \/\/ Skip validation if phone exists in the cookie\r\n                \/\/ }\r\n\r\n                if(typeof phone_status == 'undefined' || phone_status === 'Unknown'){\r\n                    \/\/ If not in the cookie, hit another DB API (assuming we have a custom API for this)\r\n                    const dbPhoneValidationResult = await checkPhoneInDatabase(phone,unmaskedPhone,trimmedPhone,$phoneError);\r\n                    if (dbPhoneValidationResult) {\r\n                        $phoneError.hide();\r\n                        phoneField.classList.remove('invalid','error');\r\n                        return true; \/\/ DB said valid\r\n                    }\r\n                    else{\r\n                        \/\/ If not in DB, check using the phone-validator API\r\n                        const url = `https:\/\/api.phone-validator.net\/api\/v2\/verify?PhoneNumber=${encodeURIComponent(phone)}&CountryCode=us&APIKey=pv-432c2ebbc71ef1f6bf017eeff8818eda`;\r\n                        try {\r\n                            $phoneError.hide();\r\n\r\n                            const response = await fetch(url);\r\n                            const dataByte = await response.json();\r\n                            console.log(dataByte,'apiii');\r\n                            if(dataByte.status === \"VALID_CONFIRMED\" || dataByte.status === \"VALID_UNCONFIRMED\"){\r\n                                phone_status = \"Valid\";\r\n                            }\r\n                            else if(dataByte.status === \"INVALID\"){\r\n                                phone_status = \"Invalid\";\r\n                            }\r\n                            line_type = (dataByte.linetype) ? dataByte.linetype : \"Unknown\";\r\n                            Cookies.set(`${phone}_phone_status`, phone_status , { domain: \"exactdata.com\", expires: 30, path: \"\/\" });\r\n                            Cookies.set(`${phone}_line_type`, line_type, { domain: \"exactdata.com\", expires: 30, path: \"\/\" });\r\n\r\n                            let saveDbResponse = await saveBytePlantDataToDB(trimmedPhone,dataByte);\r\n                            console.log(saveDbResponse,'API data saved in DB');\r\n\r\n                            \/\/ if(phoneStatusResponse.status === 'VALID_CONFIRMED' || phoneStatusResponse.status === 'VALID_UNCONFIRMED'){\r\n                            \/\/     return true;\r\n                            \/\/ }\r\n                            \/\/ else{\r\n                            \/\/     return false;\r\n                            \/\/ }\r\n                            \/\/ return true;\r\n                            \/\/ return true only if API determined it as Valid\r\n                            if (phone_status === \"Valid\") {\r\n                                $phoneError.hide();\r\n                                phoneField.classList.remove('invalid','error');\r\n                            return true;\r\n                            } else {\r\n                                phoneField.classList.add('invalid', 'error');\r\n                                $phoneError.show();\r\n                                return false;\r\n                            }\r\n\r\n                        } catch (error) {\r\n                            phoneField.classList.add('invalid', 'error');\r\n                            $phoneError.show();\r\n                            console.error('Error validating phone:', error);\r\n                            return false;\r\n                        }\r\n                    }\r\n\r\n\r\n                }\r\n                else if(phone_status){\r\n                    \/\/HIT COUNT API HERE\r\n                    $.ajax({\r\n                        type: 'POST',\r\n                        data: {\r\n                            phone: trimmedPhone,\r\n                        },\r\n                        url: `${edinfo.ed_api}\/hubspot-form-byte_count`,\r\n                        success: function(res) {\r\n                            console.log(res,'Hit Count');\r\n                            return res;\r\n                        },\r\n                        error: function(xhr, status, error) {\r\n                            console.log(error);\r\n                            $phoneError.show();\r\n                            return error;\r\n                        }\r\n                    });\r\n                    \/\/ return true; \/\/ Skip validation if phone exists in the cookie\r\n                    \/\/ use cached cookie value to decide validity\r\n                    if (phone_status === \"Valid\") {\r\n                        $phoneError.hide();\r\n                        phoneField.classList.remove('invalid','error');\r\n                        return true;\r\n                    } else {\r\n                        phoneField.classList.add('invalid','error');\r\n                        $phoneError.show();\r\n                        return false;\r\n                    }\r\n                }\r\n\r\n            }\r\n\r\n            async function saveBytePlantDataToDB(phonenum,apidata){\r\n                const dbentyres = await $.ajax({\r\n                    type: 'POST',\r\n                    data: {\r\n                        phone: phonenum,\r\n                        response: JSON.stringify(apidata),\r\n                        count: 1\r\n                    },\r\n                    url: `${edinfo.ed_api}\/hubspot-form-byte`,\r\n                    success: function(res) {\r\n                        return res;\r\n                    },\r\n                    error: function(xhr, status, error) {\r\n                        console.log(error);\r\n                        return error;\r\n                    }\r\n                });\r\n\r\n                \/\/ console.log(dbentyres,'DB Entry');\r\n                if(dbentyres){\r\n                    return true;\r\n                }\r\n                else {\r\n                    return false;\r\n                }\r\n            }\r\n\r\n            \/\/ Example function to simulate checking the phone number in a DB\r\n            async function checkPhoneInDatabase(phone,unmaskedPhone,trimmedPhone,$phoneError) {\r\n                \/\/ console.log(trimmedPhone);\r\n                const res = await jQuery.ajax({\r\n                    url: `${edinfo.ed_api}\/hubspot-form-byte-1`,\r\n                    type: \"POST\",\r\n                    data: {\r\n                        phone:trimmedPhone\r\n                    },\r\n                    success: function(result) {\r\n                        $phoneError.hide();\r\n                        return result;\r\n                    },\r\n                    error: function(xhr, status, error) {\r\n                        console.error(\"AJAX Error:\" + error);\r\n                        $phoneError.show();\r\n                        return error;\r\n                    }\r\n                });\r\n\r\n                if (res.data) {\r\n                    \/\/ console.log(JSON.parse(res.data.response));\r\n                    var phoneStatusResponse = JSON.parse(res.data.response);\r\n                    \/\/ phone_status = phoneStatusResponse.status;\r\n                    \/\/ Normalize DB status into \"Valid\" \/ \"Invalid\"\r\n                    if (phoneStatusResponse.status === \"VALID_CONFIRMED\" || phoneStatusResponse.status === \"VALID_UNCONFIRMED\" || phoneStatusResponse.status === \"Valid\") {\r\n                        phone_status = \"Valid\";\r\n                    } else {\r\n                        phone_status = \"Invalid\";\r\n                    }\r\n\r\n                    line_type = (phoneStatusResponse.linetype) ? phoneStatusResponse.linetype : \"Unknown\";\r\n                    Cookies.set(`${phone}_phone_status`, phone_status , { domain: \"exactdata.com\", expires: 30, path: \"\/\" });\r\n                    Cookies.set(`${phone}_line_type`, line_type, { domain: \"exactdata.com\", expires: 30, path: \"\/\" });\r\n\r\n                    \/\/Enable if you want to block Invalid number form submission saved in DB\r\n                    \/\/ if(phoneStatusResponse.status === 'VALID_CONFIRMED' || phoneStatusResponse.status === 'VALID_UNCONFIRMED'){\r\n                    \/\/     return true;\r\n                    \/\/ }\r\n                    \/\/ else{\r\n                    \/\/     return false;\r\n                    \/\/ }\r\n\r\n                    \/\/ return true;\r\n                    \/\/ Return true only when DB says Valid\r\n                    return (phone_status === \"Valid\");\r\n\r\n                } else {\r\n                    return false;\r\n                }\r\n            }\r\n\r\n            \/\/Send HubSpot Data to SalesForce\r\n            async function sendHsDataToSf($form,hsidVal){\r\n                \/\/Send Data to SalesForce start\r\n                let qparams = window.location.search.replace(\"?\",\"\").split(\"&\").reduce(function(p,e){\r\n                    var a = e.split(\"=\");\r\n                    p[ decodeURIComponent(a[0])] = decodeURIComponent(a[1]);\r\n                    return p;\r\n                },{});\r\n\r\n                let flag = Object.keys(qparams);\r\n                if(flag[0] !== \"\") {\r\n                    Cookies.set(\"_tracking_params\", JSON.stringify(qparams), { domain: \"exactdata.com\", expires: 30, path: \"\/\" });\r\n                }\r\n\r\n                let formData = $form.serializeArray().reduce(function(obj, item) {\r\n                    obj[item.name] = item.value;\r\n                    return obj;\r\n                }, {});\r\n\r\n                console.log(hsidVal,'<----hsidVal');\r\n                formData['heapsessionid'] = hsidVal;\r\n                \/\/ formData['user_registration_flow'] = $form.find(\"input[name=user_registration_flow]\").val();\r\n                \/\/ formData['existing_user_flag'] = $form.find(\"input[name=existing_user_flag]\").val();\r\n\r\n                const response = jQuery.ajax({\r\n                    url: edinfo.ajaxurl,\r\n                    type: \"POST\",\r\n                    data: {\r\n                        action: \"w2c_to_middleware_hb\",\r\n                        data: formData\r\n                    },\r\n                    xhr: function () {\r\n                        let xhr = new window.XMLHttpRequest();\r\n\r\n                        \/\/ Track when request is successfully sent\r\n                        xhr.upload.onloadstart = function () {\r\n                            console.log(\"sent...\");\r\n                        };\r\n\r\n                        \/\/return true;\r\n                        return xhr;\r\n                    },\r\n                    success: function(result) {\r\n                        return result;\r\n                    },\r\n                    error: function(xhr, status, error) {\r\n                        console.error(\"AJAX Error:\" + error);\r\n                        return error;\r\n                    }\r\n                });\r\n\r\n                \/\/ console.log(response);\r\n\r\n                if (response.sf_success) {\r\n                    return true;\r\n                } else {\r\n                    return false;\r\n                }\r\n\r\n            }\r\n\r\n            \/\/Create Info\r\n            async function getJwtData(FName,LName,Emailid,Phoneno){\r\n                \/\/ console.log(edinfo.ed_api+'\/api\/pi');\r\n                jQuery.ajax({\r\n                    url: edinfo.ed_api+'\/api\/pi',\r\n                    data: {first_name: FName, last_name: LName, email:Emailid, phone: Phoneno},\r\n                    type: 'post',\r\n                    success: function (data) {\r\n                        jwt = data;\r\n                        \/\/ console.log(data);\r\n                        \/\/ console.log(\"JWT=\"+data);\r\n\r\n                        \/\/jQuery.cookie('form_jwt', JSON.stringify(data), { domain: \"exactdata.com\", expires: 30, path: \"\/\" });\r\n                        \/\/Cookies.set('form_jwt', JSON.stringify(data), { domain: \"exactdata.com\", expires: 30, path: \"\/\" });\r\n                        \/\/$(BtnName).trigger('click', ['run']);\r\n                    }\r\n                });\r\n            }\r\n\r\n            \/**\r\n             * Heap SID Processor\r\n             * @returns {Promise<*|string>}\r\n             *\/\r\n            async function processHeapData() {\r\n                if (typeof window !== 'undefined' && typeof window.heap === 'object') {\r\n                    if (window.heap.loaded && typeof window.heap.getSessionId === 'function') {\r\n                        return window.heap.getSessionId();\r\n                    } else {\r\n                        return 'not available';\r\n                    }\r\n                } else {\r\n                    return 'Heap Undefined';\r\n                }\r\n            }\r\n\r\n            function containsBadWords(text) {\r\n                if (!text) return false;\r\n                const lower = text.toLowerCase();\r\n\r\n                return badWords.some(word => lower.includes(word.toLowerCase()));\r\n            }\r\n\r\n            async function validateName(field, $errorBox) {\r\n                const name = field.value.trim();\r\n\r\n                \/\/ Bad word check\r\n                if (containsBadWords(name)) {\r\n                    field.classList.add('invalid', 'error');\r\n                    $errorBox.text(\"Must be a valid name.\");\r\n                    $errorBox.show();\r\n                    return false;\r\n                }\r\n\r\n                \/\/ Valid\r\n                field.classList.remove('invalid', 'error');\r\n                $errorBox.hide();\r\n                return true;\r\n            }\r\n\r\n\r\n\r\n        <\/script>\r\n    <\/div>\r\n    [\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_empty_space height=&#8221;150px&#8221;][vc_single_image image=&#8221;433&#8243; img_size=&#8221;450&#215;450&#8243; alignment=&#8221;center&#8221;][\/vc_column][\/vc_row][\/vc_section][vc_section css=&#8221;.vc_custom_1732546870169{padding-top: 50px !important;padding-bottom: 50px !important;background-color: #000000 !important;}&#8221;][vc_row][vc_column][vc_column_text css=&#8221;.vc_custom_1709762806019{padding-bottom: 30px !important;}&#8221; el_class=&#8221;whitetext&#8221;]\r\n<h2 style=\"text-align: center\">We Don&#8217;t Like to Brag&#8230; But Our Customers Will!<\/h2>\r\n[\/vc_column_text][vc_row_inner][vc_column_inner]<div class=\"trustpilot-widget\" data-locale=\"en-US\" data-template-id=\"53aa8912dec7e10d38f59f36\" data-businessunit-id=\"5cd550d3478699000150e05b\" data-style-height=\"140px\" data-style-width=\"100%\" data-theme=\"dark\" data-stars=\"4,5\" data-review-languages=\"en\" data-font-family=\"Open Sans\" data-text-color=\"#ffffff\"><a href=\"https:\/\/www.trustpilot.com\/review\/exactdata.com\" target=\"_blank\" rel=\"noopener\">Trustpilot<\/a><\/div>[\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row][\/vc_section]","protected":false},"featured_media":0,"parent":0,"template":"","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.8 (Yoast SEO v21.8.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Direct Mail Campaign Services<\/title>\n<meta name=\"description\" content=\"Boost your marketing with Exact Data\u2019s direct mail solutions\u2014targeted lists, stunning designs, and proven results to reach your ideal audience!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.exactdata.com\/info\/products-services\/direct-mail\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Direct Mail Campaign Services\" \/>\n<meta property=\"og:description\" content=\"Boost your marketing with Exact Data\u2019s direct mail solutions\u2014targeted lists, stunning designs, and proven results to reach your ideal audience!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.exactdata.com\/info\/products-services\/direct-mail\/\" \/>\n<meta property=\"og:site_name\" content=\"Exact Data Info\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T18:08:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.exactdata.com\/info\/wp-content\/uploads\/2024\/11\/illustration-direct-mail-response-terracotta_b53936b4-9079-44ee-91c0-4dc1b2330640.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3334\" \/>\n\t<meta property=\"og:image:height\" content=\"2026\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Direct Mail Campaign Services\" \/>\n<meta name=\"twitter:description\" content=\"Boost your marketing with Exact Data\u2019s direct mail solutions\u2014targeted lists, stunning designs, and proven results to reach your ideal audience!\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.exactdata.com\/info\/products-services\/direct-mail\/\",\"url\":\"https:\/\/www.exactdata.com\/info\/products-services\/direct-mail\/\",\"name\":\"Direct Mail Campaign Services\",\"isPartOf\":{\"@id\":\"https:\/\/www.exactdata.com\/info\/#website\"},\"datePublished\":\"2024-11-12T14:28:17+00:00\",\"dateModified\":\"2024-11-26T18:08:30+00:00\",\"description\":\"Boost your marketing with Exact Data\u2019s direct mail solutions\u2014targeted lists, stunning designs, and proven results to reach your ideal audience!\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.exactdata.com\/info\/products-services\/direct-mail\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.exactdata.com\/info\/#website\",\"url\":\"https:\/\/www.exactdata.com\/info\/\",\"name\":\"Exact Data Info\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.exactdata.com\/info\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Direct Mail Campaign Services","description":"Boost your marketing with Exact Data\u2019s direct mail solutions\u2014targeted lists, stunning designs, and proven results to reach your ideal audience!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.exactdata.com\/info\/products-services\/direct-mail\/","og_locale":"en_US","og_type":"article","og_title":"Direct Mail Campaign Services","og_description":"Boost your marketing with Exact Data\u2019s direct mail solutions\u2014targeted lists, stunning designs, and proven results to reach your ideal audience!","og_url":"https:\/\/www.exactdata.com\/info\/products-services\/direct-mail\/","og_site_name":"Exact Data Info","article_modified_time":"2024-11-26T18:08:30+00:00","og_image":[{"width":3334,"height":2026,"url":"https:\/\/www.exactdata.com\/info\/wp-content\/uploads\/2024\/11\/illustration-direct-mail-response-terracotta_b53936b4-9079-44ee-91c0-4dc1b2330640.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_title":"Direct Mail Campaign Services","twitter_description":"Boost your marketing with Exact Data\u2019s direct mail solutions\u2014targeted lists, stunning designs, and proven results to reach your ideal audience!","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.exactdata.com\/info\/products-services\/direct-mail\/","url":"https:\/\/www.exactdata.com\/info\/products-services\/direct-mail\/","name":"Direct Mail Campaign Services","isPartOf":{"@id":"https:\/\/www.exactdata.com\/info\/#website"},"datePublished":"2024-11-12T14:28:17+00:00","dateModified":"2024-11-26T18:08:30+00:00","description":"Boost your marketing with Exact Data\u2019s direct mail solutions\u2014targeted lists, stunning designs, and proven results to reach your ideal audience!","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.exactdata.com\/info\/products-services\/direct-mail\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.exactdata.com\/info\/#website","url":"https:\/\/www.exactdata.com\/info\/","name":"Exact Data Info","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.exactdata.com\/info\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.exactdata.com\/info\/wp-json\/wp\/v2\/products-services\/1478"}],"collection":[{"href":"https:\/\/www.exactdata.com\/info\/wp-json\/wp\/v2\/products-services"}],"about":[{"href":"https:\/\/www.exactdata.com\/info\/wp-json\/wp\/v2\/types\/products-services"}],"version-history":[{"count":101,"href":"https:\/\/www.exactdata.com\/info\/wp-json\/wp\/v2\/products-services\/1478\/revisions"}],"predecessor-version":[{"id":1765,"href":"https:\/\/www.exactdata.com\/info\/wp-json\/wp\/v2\/products-services\/1478\/revisions\/1765"}],"wp:attachment":[{"href":"https:\/\/www.exactdata.com\/info\/wp-json\/wp\/v2\/media?parent=1478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}