{"id":4093,"date":"2024-03-08T09:54:46","date_gmt":"2024-03-08T09:54:46","guid":{"rendered":"http:\/\/jr018d.sendtric.com\/?p=4093"},"modified":"2026-02-03T14:55:16","modified_gmt":"2026-02-03T14:55:16","slug":"behavior-triggered-emails","status":"publish","type":"post","link":"https:\/\/www.sendtric.com\/behavior-triggered-emails\/","title":{"rendered":"Elevate Your Campaigns with Behavior-Triggered Emails"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"4093\" class=\"elementor elementor-4093\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6b3c226c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6b3c226c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-47aa5e3c\" data-id=\"47aa5e3c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-390963e0 elementor-widget elementor-widget-text-editor\" data-id=\"390963e0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t\n<p><strong>Elevate Your Campaigns with Behavior-Triggered Emails<\/strong><\/p>\n\n<p>For marketers looking to stand out in a crowded digital landscape, the time to implement behavior-triggered emails is now. It&#8217;s not just a trend; it&#8217;s the future of effective digital communication.<\/p>\n\n<p>This post is an exploration into leveraging behavior-triggered emails, the advanced tactic your campaigns need to not just survive, but to thrive. We&#8217;ll unpack this potent approach that blends marketing automation with personalization, uncover the benefits, and offer a detailed guide on how to implement these strategies effectively.<\/p>\n\n<p><strong>Understanding Behavior-Triggered Emails<\/strong><\/p>\n\n<p>Behavior-triggered emails, also known as event-triggered or interactive emails, respond to actions taken by the recipient. These could be website visits, email opens, or clicks, providing an opportunity to send timely, tailored messages.<\/p>\n\n<p>Personalization and timeliness are the twin pillars of modern marketing, and behavior-triggered emails are the linchpin that holds them together. It&#8217;s the difference between sending a generic \u2018We miss you\u2019 email and waiting until the customer returns to your site, and then sending a targeted offer for the exact product they were looking at.<\/p>\n\n<p><strong>Why Behavior-Triggered Emails are Gold<\/strong><\/p>\n\n<p>Behavioral data, the insights gathered from customer actions, gives marketers a clear view of where each customer is in their buyer&#8217;s journey. This powerful tool allows for unprecedented personalization, delivering the right message at the right time. The result? A highly relevant and engaging customer experience that drives business outcomes.<\/p>\n\n<p><strong>Enhanced Customer Experience: <\/strong>A personalized email that speaks directly to the customer\u2019s interests feels less like marketing and more like a conversation. Behavior-triggered emails, when done right, create a seamless experience that can build immense goodwill.<\/p>\n\n<p><strong>Improved Conversion Rates: <\/strong>Behavior-triggered emails boast higher open, click-through, and conversion rates. By responding to customer actions with relevant communication, you&#8217;re striking while the iron is hot, leading to a higher likelihood of conversion.<\/p>\n\n<p><strong>Increased Brand Loyalty: <\/strong>Customers who feel understood and valued are more likely to return for future purchases. A loyal customer is a predictable customer \u2013 a valuable asset in a predictably unpredictable business climate.<\/p>\n\n<p><strong>Types of Behavior-Triggered Emails<\/strong><\/p>\n\n<p>Not all triggers are created equal, nor are the emails they produce. Some lead to immediate sales; others nurture the customer over time.<\/p>\n\n<p><strong>Abandoned Cart Reminders: <\/strong>This well-known tactic targets customers who have shown strong purchase intent. It&#8217;s a window into the mind of a customer on the brink of buying but standing at the precipice of hesitation.<\/p>\n\n<p><strong>Personalized Recommendations: <\/strong>Utilizing browsing and purchase history, you can send emails that suggest products a customer is likely to be interested in \u2013 even if they&#8217;ve never seen them before.<\/p>\n\n<p><strong>Post-Purchase Feedback Requests: <\/strong>Just because a customer leaves the store with a purchase doesn&#8217;t mean the interaction is over. Behavior-triggered emails can ask for feedback, turning one transaction into a conversation and an opportunity to deepen customer relationships.<\/p>\n\n<p><strong>Best Practices for Implementing Behavior-Triggered Emails<\/strong><\/p>\n\n<p>Employing the ultimate marketing artillery comes with the responsibility of precision and care. Here\u2019s how to fire your behavior-triggered emails with intent and accuracy.<\/p>\n\n<p><strong>Data Segmentation and Targeting: <\/strong>Know your customer segments better than they know themselves. This knowledge enables you to send the most relevant and effective emails to each customer group.<\/p>\n\n<p><strong>Compelling Subject Lines &amp; Content: <\/strong>The subject line is the plea to the heart, and the content is the argument to the mind. Both must be irresistibly compelling and tailored to the customer&#8217;s needs and state of mind.<\/p>\n\n<p><strong>A\/B Testing and Optimization: <\/strong>Never send a behavior-triggered email without testing its impact first. Like a scientist in a lab, you should be constantly tweaking and optimizing your approach based on real data.<\/p>\n\n<p><strong>Conclusion<\/strong> Behavior-triggered emails are the secret ingredient to taking your marketing game to the next level. They represent the pinnacle of personalization\u2014timely, contextually relevant, and highly targeted. By incorporating this advanced technique into your marketing strategy, you not only enhance the customer experience but also boost conversion rates and foster long-term brand loyalty.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t<div class=\"elementor-element elementor-element-647842ef e-flex e-con-boxed e-con e-parent\" data-id=\"647842ef\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-219a150a elementor-widget elementor-widget-html\" data-id=\"219a150a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div class=\"result-div-for-code\">\r\n    <div class=\"index__timerCodeContainer__16rXZ\" style=\"display:none; text-align:center; margin:40px auto; max-width:700px;\">\r\n\r\n        <!-- Header above generated timer -->\r\n        <h2>Here is your free countdown timer with 10,000 views<\/h2>\r\n        <br>\r\n\r\n        <!-- Timer preview -->\r\n        <div style=\"display:flex; justify-content:center; margin-bottom:20px;\">\r\n            <img decoding=\"async\" class=\"index__previewImage__1Pwfw\" src=\"\" alt=\"Email Live Countdown Timer\" draggable=\"false\" \/>\r\n        <\/div>\r\n\r\n        <!-- Instruction text for using timer -->\r\n        <p>Copy this code into your HTML email template.<\/p>\r\n        <br>\r\n\r\n        <!-- HTML code box container to position copy button -->\r\n        <div style=\"position: relative; width: 100%;\">\r\n            <textarea readonly=\"\" class=\"index__timerCode__1wGrn\" style=\"width:100%; height:130px; font-family:'PT Sans'; font-size:20px; line-height:26px; resize:none; background:#fff; border:2px solid rgba(78,131,251,1); padding-right:80px;\"><\/textarea>\r\n            \r\n            <!-- Copy button aligned bottom-right of textarea -->\r\n            <button title=\"Click to copy code\" class=\"copy-button\" style=\"position:absolute; bottom:10px; right:10px; display:flex; align-items:center; background:#2084FF; color:#fff; border:none; border-radius:4px; padding:5px 10px; font-size:14px; cursor:pointer;\">\r\n                <i class=\"fa fa-clone\" aria-hidden=\"true\"><\/i>\r\n                <span style=\"margin-left: 5px;\">Copy<\/span>\r\n            <\/button>\r\n        <\/div>\r\n\r\n    <\/div>\r\n<\/div>\r\n\r\n<style>\r\n.index__timerCodeContainer__16rXZ h2 {\r\n    font-family: 'PT Sans';\r\n    font-size: 22px;\r\n    font-weight: 700;\r\n}\r\n.index__timerCodeContainer__16rXZ p {\r\n    font-family: 'PT Sans';\r\n    font-size: 18px;\r\n    font-weight: 400;\r\n    line-height: 26px;\r\n    text-align: center;\r\n    margin-top: 10px;\r\n    margin-bottom: 10px;\r\n}\r\n.index__timerCodeContainer__16rXZ textarea {\r\n    font-family: 'PT Sans';\r\n    font-size: 20px;\r\n    font-weight: 400;\r\n    line-height: 26px;\r\n    letter-spacing: 0.05em;\r\n    text-align: left;\r\n    resize: none;\r\n    background: #fff;\r\n    border: 2px solid rgba(78, 131, 251, 1);\r\n    box-sizing: border-box;\r\n}\r\n<\/style>\r\n\r\n<script>\r\nclass ClipboardHandler {\r\n    constructor() {\r\n        this.textToCopyElement = document.querySelector('.index__timerCode__1wGrn');\r\n        this.copyButton = document.querySelector('.copy-button');\r\n        this.copyButton.addEventListener('click', this.copyToClipboard.bind(this));\r\n    }\r\n    copyToClipboard() {\r\n        const textToCopy = this.textToCopyElement.value;\r\n        if (navigator.clipboard) {\r\n            navigator.clipboard.writeText(textToCopy)\r\n                .then(() => {\r\n                    this.copyButton.innerHTML = '<i class=\"fa fa-check\" aria-hidden=\"true\"><\/i><span style=\"margin-left: 5px;\">Copied<\/span>';\r\n                    setTimeout(() => {\r\n                        this.copyButton.innerHTML = '<i class=\"fa fa-clone\" aria-hidden=\"true\"><\/i><span style=\"margin-left: 5px;\">Copy<\/span>';\r\n                    }, 1500);\r\n                })\r\n                .catch((err) => {\r\n                    console.error('Failed to copy text: ', err);\r\n                });\r\n        } else {\r\n            const textarea = document.createElement('textarea');\r\n            textarea.value = textToCopy;\r\n            document.body.appendChild(textarea);\r\n            textarea.select();\r\n            document.execCommand('copy');\r\n            document.body.removeChild(textarea);\r\n            this.copyButton.innerHTML = '<i class=\"fa fa-check\" aria-hidden=\"true\"><\/i><span style=\"margin-left: 5px;\">Copied<\/span>';\r\n            setTimeout(() => {\r\n                this.copyButton.innerHTML = '<i class=\"fa fa-clone\" aria-hidden=\"true\"><\/i><span style=\"margin-left: 5px;\">Copy<\/span>';\r\n            }, 1500);\r\n        }\r\n    }\r\n}\r\nconst clipboardHandler = new ClipboardHandler();\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-127da1d5 elementor-widget elementor-widget-heading\" data-id=\"127da1d5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Create your free email countdown timer<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-74ece3d5 elementor-widget elementor-widget-text-editor\" data-id=\"74ece3d5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<div class=\"mb-6\" style=\"font-family: Arial, sans-serif;\"><ol style=\"list-style-type: decimal !important; margin-left: 20px !important; padding-left: 20px !important;\"><li style=\"margin-bottom: 6px;\">Fill out the form with your desired countdown options<\/li><li style=\"margin-bottom: 6px;\">Click Generate<\/li><li style=\"margin-bottom: 6px;\">Confirm your email address<\/li><li style=\"margin-bottom: 6px;\">Copy and paste the provided HTML code into your email template<\/li><li style=\"margin-bottom: 6px;\">Enjoy your free email countdown timer from Sendtric!<\/li><\/ol><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-770ea5d9 elementor-widget elementor-widget-text-editor\" data-id=\"770ea5d9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p style=\"font-size: 23px; font-weight: bold; line-height: 30px; margin-bottom: 0;\">No watermark &#8211; Up to 10,000 views for FREE<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7c691fa8 elementor-widget elementor-widget-html\" data-id=\"7c691fa8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/select2\/4.1.0-rc.0\/css\/select2.min.css\" \/>\r\n<link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery-datetimepicker\/2.5.20\/jquery.datetimepicker.min.css\" \/>\r\n<script src=\"\/moment-with-locales.js\"><\/script>\r\n<script src=\"\/moment-timezone-with-data.js\"><\/script>\r\n<script src=\"https:\/\/cdn.tailwindcss.com\"><\/script>\r\n<script src=\"https:\/\/www.google.com\/recaptcha\/api.js\" async defer><\/script>\r\n<form class=\"timer-form\">\r\n\t<div class=\"ui error message\" style=\"display:none\">\r\n\t\t<div class=\"header\">Generate Error<\/div>\r\n\t\t<p>Account exists, please sign in!<\/p>\r\n\t<\/div>\r\n\t<div class=\"form-section left-fields\">\r\n\t\t<div class=\"input-container\">\r\n\t\t\t<div class=\"input-group\" style=\"margin-bottom: 0px;\">\r\n\t\t\t\t<label for=\"guest-email\">Email Address<\/label>\r\n\t\t\t\t<div class=\"input-group\" id=\"email-container\">\r\n\t\t\t\t\t<i class=\"fa fa-envelope\"><\/i>\r\n\t\t\t\t\t<input type=\"email\" placeholder=\"Email Address\" id=\"guest-email\" \/>\r\n\t\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t\t<div class=\"input-container\">\r\n\t\t\t<div class=\"input-group\">\r\n\t\t\t\t<label for=\"timezone\">Time Zone<\/label>\r\n\t\t\t\t<Select id=\"timezone\" onchange=\"setDateTimeValue()\"><\/select>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t<\/div>\r\n\t<div class=\"form-section right-fields\">\r\n\t\t<div class=\"input-container\">\r\n\t\t\t<div class=\"input-group\" style=\"margin-bottom: 0px;\">\r\n\t\t\t\t<label for=\"datetime\">When does your timer end? (max 30 days)<\/label>\r\n\t\t\t\t<div class=\"input-group\" id=\"datetime-container\">\r\n\t\t\t\t\t<i class=\"fa fa-calendar\"><\/i>\r\n\t\t\t\t\t<input type='text' class=\"form-control\" id=\"datetime\" placeholder=\"Date time\" readonly \/>\r\n\t\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t\t<div class=\"input-container\">\r\n\t\t\t<div class=\"input-group\">\r\n\t\t\t\t<label for=\"language\">Language<\/label>\r\n\t\t\t\t<Select id=\"language\"><\/select>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t<\/div>\r\n\t<div class=\"color-picker-container\">\r\n\t\t<div class=\"color-piker-element\">\r\n\t\t\t<div class=\"color-picker\">\r\n\t\t\t\t<input type=\"color\" id=\"bg-color-id\" value=\"#000000\" style=\"display:none;\" \/>\r\n\t\t\t\t<div id=\"bg-color-id-div\" class=\"picker\"><\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<label for=\"bg-color-id\">Background<\/label>\r\n\t\t<\/div>\r\n\t\t<div class=\"color-piker-element\">\r\n\t\t\t<div class=\"color-picker\">\r\n\t\t\t\t<input type=\"color\" id=\"label-color-id\" value=\"#ffffff\" style=\"display:none;\" \/>\r\n\t\t\t\t<div id=\"label-color-id-div\" class=\"picker\"><\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<label for=\"label-color-id\">Labels<\/label>\r\n\t\t<\/div>\r\n\t\t<div class=\"color-piker-element\">\r\n\t\t\t<div class=\"color-picker\">\r\n\t\t\t\t<input type=\"color\" id=\"digit-color-id\" value=\"#ffffff\" style=\"display:none;\" \/>\r\n\t\t\t\t<div id=\"digit-color-id-div\" class=\"picker\"><\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<label for=\"digit-color-id\">Digits<\/label>\r\n\t\t<\/div>\r\n\t<\/div>\r\n\t<div class=\"input-container agree_condition\" >\r\n\t\t<div class=\" checkbox\">\r\n\t\t\t<input type=\"checkbox\" id=\"accept_terms_n_policies\" style=\"width: 13px;height: 13px;float: left;margin-top: 5px;\">\r\n\t\t\t<label for=\"accept_terms_n_policies\" class=\"agree_terms\" style=\"font-size: 16px;float: left;padding-left: 10px;font-weight: 400;color: #000000;margin-bottom: 20px;line-height: 25px;    font-family: 'PT Sans';\">I agree to the <a style=\"color:#4E83FB;text-decoration: underline;\" href=\"\/terms-of-service\/\">Terms of Service<\/a> and <a style=\"color:#4E83FB;text-decoration: underline;\" href=\"\/privacy-policy\/\">Privacy Policy<\/a><\/label>\r\n\t\t<\/div>\r\n\t<\/div>\r\n\t<div class=\"input-container generate_button\" style=\"width:40%; margin:0 auto;font-size:19px;\">\r\n\t\t<div class=\"input-group\">\r\n\t\t\t<button id=\"sendtric-button\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\tclass=\"form-submit-button g-recaptcha\"\r\n\t\t\t\tdata-sitekey=\"6LcjDTEUAAAAADHHZs77-k1A3Ww_ELMy7HEKIE5J\"\r\n\t\t\t\tdata-callback=\"onSubmit\"\r\n\t\t\t\tdata-action=\"submit\"\r\n\t\t\t\tdata-expired-callback=\"handleCaptchaExpired\"\r\n\t\t\t\tdisabled>\r\n\t\t\t\tGENERATE\r\n\t\t\t<\/button>\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/form>\r\n<style>\r\n\t.color-picker-container {\r\n\t\talign-items: center;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-evenly;\r\n\t\tmax-width: 500px\r\n\t}\r\n\r\n\t.color-picker-container .color-piker-element {\r\n\t\theight: 80px;\r\n\t\ttext-align: center;\r\n\t\twidth: 80px\r\n\t}\r\n\r\n\t.color-picker-container .color-piker-element .color-picker {\r\n\t\tborder: 1px solid #cecece;\r\n\t\theight: 46px;\r\n\t\tmargin: auto;\r\n\t\tpadding: 5px;\r\n\t\twidth: 46px\r\n\t}\r\n\r\n\t.color-picker-container .color-piker-element .color-picker input[type=color] {\r\n\t\tborder: 1px solid #000;\r\n\t\theight: 100%;\r\n\t\twidth: 100%\r\n\t}\r\n\r\n\t.color-picker-container label {\r\n\t\tfont-size: 13px;\r\n\t\tfont-weight: 400;\r\n\t\tletter-spacing: .5px;\r\n\t\tmargin-bottom: 4px\r\n\t}\r\n\r\n\t.input-container .input-group {\r\n\t\tmargin-bottom: 1rem;\r\n\t\tposition: relative\r\n\t}\r\n\r\n\t.input-container .input-group i.fa {\r\n\t\tfont-size: 16px;\r\n\t\tleft: 12px;\r\n\t\topacity: .5;\r\n\t\tposition: absolute;\r\n\t\ttop: 12px;\r\n\t\ttransition: .5s;\r\n\t\tz-index: 4\r\n\t}\r\n\r\n\t.input-container .input-group input {\r\n\t\tborder: 1px solid #aaa;\r\n\t\tborder-radius: 5px;\r\n\t\tbox-shadow: none;\r\n\t\tfont-size: 14px;\r\n\t\theight: 38px;\r\n\t\tpadding-left: 40px;\r\n\t\ttransition: .5s;\r\n\t\twidth: 100%\r\n\t}\r\n\r\n\t.input-container .input-group input:focus-visible {\r\n\t\tborder: 1px solid #85b7d9;\r\n\t\tbox-shadow: none;\r\n\t\toutline: none\r\n\t}\r\n\r\n\t.input-container .input-group input[type=\"datetime-local\"] {\r\n\t\tpadding: .67857143em 2.1em .67857143em 1em\r\n\t}\r\n\r\n\t.input-container .input-group label {\r\n\t\tcolor: rgba(0, 0, 0, .87);\r\n\t\tdisplay: block;\r\n\t\tfont-size: 13px;\r\n\t\tfont-weight: 700;\r\n\t\tmargin: 0 0 .28571429rem;\r\n\t\ttext-transform: none\r\n\t}\r\n\r\n\t.input-container .input-group:focus-within i.fa {\r\n\t\topacity: 1\r\n\t}\r\n\r\n\t.input-container .input-group:focus-within input {\r\n\t\tborder-color: #85b7d9\r\n\t}\r\n\r\n\t.input-group.checkbox {\r\n\t\talign-items: center;\r\n\t\tdisplay: flex\r\n\t}\r\n\r\n\t.input-group.checkbox input {\r\n\t\twidth: auto\r\n\t}\r\n\r\n\t.input-group.checkbox label {\r\n\t\tcursor: pointer;\r\n\t\tfont-weight: 400;\r\n\t\tline-height: 34px;\r\n\t\tmargin-bottom: 0;\r\n\t\tmargin-left: 10px\r\n\t}\r\n\r\n\t.input-group.checkbox label a {\r\n\t\tcolor: #19c6ff;\r\n\t\tfont-weight: 500\r\n\t}\r\n\r\n\t.select2-container {\r\n\t\twidth: 100% !important\r\n\t}\r\n\r\n\t.select2-container--default .select2-selection--single .select2-selection__arrow {\r\n\t\theight: 38px\r\n\t}\r\n\r\n\t.select2-container--default .select2-selection--single .select2-selection__rendered {\r\n\t\tpadding-left: 0\r\n\t}\r\n\r\n\t.ui.error.message {\r\n\t\t-webkit-box-shadow: 0 0 0 1px #570000 inset, 0 0 0 0 transparent;\r\n\t\t-webkit-box-shadow: 0 0 0 1px #e0b4b4 inset, 0 0 0 0 transparent;\r\n\t\t-webkit-transition: opacity .1s ease, color .1s ease, background .1s ease, -webkit-box-shadow .1s ease;\r\n\t\tbackground: #f8f8f9;\r\n\t\tbackground-color: #fff6f6;\r\n\t\tborder-radius: .28571429rem;\r\n\t\tbox-shadow: 0 0 0 1px #570000 inset, 0 0 0 0 transparent;\r\n\t\tbox-shadow: 0 0 0 1px #e0b4b4 inset, 0 0 0 0 transparent;\r\n\t\tcolor: rgba(0, 0, 0, .87);\r\n\t\tcolor: #9f3a38;\r\n\t\tfont: 1em\/1.4285em Lato;\r\n\t\tmargin: 1em 0;\r\n\t\tmin-height: 1em;\r\n\t\tpadding: 1em 1.5em;\r\n\t\tposition: relative;\r\n\t\ttext-align: left;\r\n\t\ttransition: opacity .1s ease, color .1s ease, background .1s ease, -webkit-box-shadow .1s ease;\r\n\t\ttransition: opacity .1s ease, color .1s ease, background .1s ease, box-shadow .1s ease;\r\n\t\ttransition: opacity .1s ease, color .1s ease, background .1s ease, box-shadow .1s ease, -webkit-box-shadow .1s ease\r\n\t}\r\n\r\n\t.ui.error.message .header {\r\n\t\tcolor: #912d2b;\r\n\t\tfont-size: 18px\r\n\t}\r\n\r\n\t.ui.message .header {\r\n\t\tdisplay: block;\r\n\t\tfont-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;\r\n\t\tfont-weight: 700;\r\n\t\tmargin: -.14285714em 0 0\r\n\t}\r\n\r\n\t.ui.message p {\r\n\t\tfont-size: 16px;\r\n\t\tmargin: 0;\r\n\t\tmargin-top: .25em;\r\n\t\topacity: .85\r\n\t}\r\n\r\n\tbutton.form-submit-button {\r\n\t\tbackground: #2084FF !important;\r\n\t\tfont-size: 20px;\r\n\t\tfont-weight: 700 !important;\r\n\t\tpadding: 15px 27px;\r\n\t\twidth: 100%;\r\n\t\tborder-radius: 40px;\r\n\t\tfont-family: 'PT Sans';\r\n\t\tline-height: 27px;\r\n\t}\r\n\r\n\tbutton.form-submit-button:disabled {\r\n\t\topacity: .5\r\n\t}\r\n\r\n\tform.timer-form {\r\n\t\tpadding: 40px\r\n\t}\r\n\r\n\tspan.select2-selection.select2-selection--single,\r\n\t.select2-container--default .select2-results__option--selectable {\r\n\t\talign-items: center;\r\n\t\tdisplay: flex;\r\n\t\tfont-size: 14px;\r\n\t\theight: 38px;\r\n\t\tjustify-content: flex-start;\r\n\t\tline-height: 1.21428571em;\r\n\t\tpadding: .67857143em 2.1em .67857143em 1em\r\n\t}\r\n\r\n\tselect#timezone,\r\n\tselect#language {\r\n\t\twidth: 100%;\r\n\t\theight: 38px;\r\n\t\tborder-radius: 5px;\r\n\t}\r\n\r\n\tinput.talwin__slider.talwin__slider--hue {\r\n\t\tbackground: linear-gradient(-90deg, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);\r\n\t}\r\n\r\n\t.talwin__slider::-webkit-slider-thumb {\r\n\t\tborder-radius: 5px !important;\r\n\t\theight: 25px !important;\r\n\t\twidth: 10px !important;\r\n\t\tbackground-color: #ffffffc7 !important;\r\n\t\tborder-color: #000 !important;\r\n\t\tborder-width: 2px !important;\r\n\t}\r\n\r\n\tbutton.tw-ref {\r\n\t\theight: 34px;\r\n\t\twidth: 34px;\r\n\t\tborder-radius: 0px;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tdisplay: flex;\r\n\t\tborder: 1px solid #000;\r\n\t}\r\n\r\n\tbutton.tw-ref:focus {\r\n\t\toutline: none;\r\n\t}\r\n\r\n\t.color-picker-container .color-piker-element .color-picker {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t}\r\n<\/style>\r\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/select2\/4.1.0-rc.0\/js\/select2.min.js\"><\/script>\r\n<link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/@simonwep\/pickr\/dist\/themes\/classic.min.css\">\r\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/@simonwep\/pickr\/dist\/pickr.min.js\"><\/script>\r\n<script src=\"\/datetimepicker.min.js\"><\/script>\r\n<script>\r\n\tdocument.querySelector('.timer-form').addEventListener('submit', (e) => e.preventDefault());\r\n\t\/\/ --- Pickr helpers ---\r\n\tfunction makePickr({ el, inputSelector, defaultHex }) {\r\n\t\tconst inputEl = document.querySelector(inputSelector);\r\n\t\tif (!inputEl) return null;\r\n\r\n\t\t\/\/ Seed from input value if present, else default\r\n\t\tconst start = (inputEl.value && inputEl.value.trim()) || defaultHex;\r\n\r\n\t\tconst pickr = Pickr.create({\r\n\t\t\tel,\r\n\t\t\ttheme: 'classic',\r\n\t\t\tdefault: start,\r\n\t\t\tcomparison: false,\r\n\t\t\tcomponents: {\r\n\t\t\t\t\/\/ main\r\n\t\t\t\tpreview: true,\r\n\t\t\t\topacity: false,   \/\/ match Talwin opacity: false\r\n\t\t\t\thue: true,\r\n\r\n\t\t\t\t\/\/ input \/ format\r\n\t\t\t\tinteraction: {\r\n\t\t\t\t\thex: true,\r\n\t\t\t\t\tinput: true,\r\n\t\t\t\t\tsave: false,   \/\/ no SAVE button; updates live\r\n\t\t\t\t\tclear: false\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t\/\/ picker -> input\r\n\t\tpickr.on('change', (color) => {\r\n\t\t\tconst hex = color.toHEXA().toString();  \/\/ e.g. \"#ffffff\"\r\n\t\t\tinputEl.value = hex;\r\n\t\t\t\/\/ If you need jQuery change listeners elsewhere:\r\n\t\t\tif (window.jQuery) jQuery(inputEl).trigger('input').trigger('change');\r\n\t\t});\r\n\r\n\t\t\/\/ input -> picker (supports manual changes if you ever unhide inputs)\r\n\t\tinputEl.addEventListener('input', () => {\r\n\t\t\tconst v = (inputEl.value || '').trim();\r\n\t\t\tif (v) pickr.setColor(v);\r\n\t\t});\r\n\r\n\t\treturn pickr;\r\n\t}\r\n\r\n\t\/\/ Build three pickers (background, labels, digits)\r\n\tconst bgPicker = makePickr({\r\n\t\tel: '#bg-color-id-div',\r\n\t\tinputSelector: '#bg-color-id',\r\n\t\tdefaultHex: '#000000'\r\n\t});\r\n\r\n\tconst labelPicker = makePickr({\r\n\t\tel: '#label-color-id-div',\r\n\t\tinputSelector: '#label-color-id',\r\n\t\tdefaultHex: '#ffffff'\r\n\t});\r\n\r\n\tconst digitPicker = makePickr({\r\n\t\tel: '#digit-color-id-div',\r\n\t\tinputSelector: '#digit-color-id',\r\n\t\tdefaultHex: '#ffffff'\r\n\t});\r\n\tconst getOffset = (timeZone = 'UTC', date = new Date()) => {\r\n\t\tconst utcDate = new Date(date.toLocaleString('en-US', { timeZone: 'UTC' }));\r\n\t\tconst tzDate = new Date(date.toLocaleString('en-US', { timeZone }));\r\n\t\tconst offsetInMinutes = (tzDate.getTime() - utcDate.getTime()) \/ 6e4;\r\n\t\tlet OffsetInHours = Math.abs(Math.trunc(offsetInMinutes \/ 60));\r\n\t\tlet OffsetInMinutes = Math.abs(Math.trunc(offsetInMinutes % 60));\r\n\t\tif (offsetInMinutes >= 0) {\r\n\t\t\tlet hours = OffsetInHours.toString().padStart(2, '0')\r\n\t\t\tlet minutes = OffsetInMinutes.toString().padStart(2, '0')\r\n\t\t\treturn `+${hours}:${minutes}`\r\n\t\t} else {\r\n\t\t\tlet hours = OffsetInHours.toString().padStart(2, '0')\r\n\t\t\tlet minutes = OffsetInMinutes.toString().padStart(2, '0')\r\n\t\t\treturn `-${hours}:${minutes}`\r\n\t\t}\r\n\t}\r\n\r\n\tfunction setDateTimeValue() {\r\n\t\tlet TimeZone = jQuery('#timezone').val();\r\n\t\tlet localTime = new Date();\r\n\t\tlocalTime.setHours(localTime.getHours() + 1);\r\n\t\tlocalTime.setMinutes(0);\r\n\r\n\t\tlet localeDate = localTime.toLocaleString('en-US', { timeZone: TimeZone });\r\n\t\tlet defaultDate = new Date(localeDate);\r\n\t\tlet maxDateTime = new Date(localeDate);\r\n\t\tmaxDateTime.setDate(maxDateTime.getDate() + 30);\r\n\t\tlet minDateTime = new Date(localeDate);\r\n\t\tminDateTime.setHours(0, 0, 0, 0)\r\n\t\tjQuery('#datetime').datetimepicker({\r\n\t\t\tminDateTime: new Date(minDateTime),\r\n\t\t\tmaxDateTime: maxDateTime,\r\n\t\t\tvalue: defaultDate,\r\n\t\t\tstep: 1,\r\n\t\t\tformat: 'm\/d\/Y h:i A'\r\n\t\t});\r\n\t}\r\n\r\n\tjQuery(document).ready(function () {\r\n\t\tlet momentTimezones = moment.tz.names();\r\n\t\tlet timezones = [];\r\n\t\tmomentTimezones.forEach(function (timezone) {\r\n\t\t\tlet now = moment().tz(timezone);\r\n\t\t\tlet gmtOffset = now.format('Z');\r\n\t\t\tlet temp = {\r\n\t\t\t\t\"text\": `${timezone.replace(\/_\/g, ' ')} (UTC ${gmtOffset})`,\r\n\t\t\t\t\"value\": timezone\r\n\t\t\t}\r\n\t\t\ttimezones.push(temp)\r\n\t\t});\r\n\t\tlet language = [{ \"text\": \"Bulgarian\", \"value\": \"bg\" }, { \"text\": \"Czech\", \"value\": \"cs\" }, { \"text\": \"Danish\", \"value\": \"da\" }, { \"text\": \"Dutch\", \"value\": \"nl\" }, { \"text\": \"English\", \"value\": \"en\" }, { \"text\": \"Estonian\", \"value\": \"et\" }, { \"text\": \"Finnish\", \"value\": \"fi\" }, { \"text\": \"French\", \"value\": \"fr\" }, { \"text\": \"German\", \"value\": \"de\" }, { \"text\": \"Greek\", \"value\": \"el\" }, { \"text\": \"Hebrew\", \"value\": \"he\" }, { \"text\": \"Hungarian\", \"value\": \"hu\" }, { \"text\": \"Icelandic\", \"value\": \"is\" }, { \"text\": \"Italian\", \"value\": \"it\" }, { \"text\": \"Japanese\", \"value\": \"ja\" }, { \"text\": \"Korean\", \"value\": \"kn\" }, { \"text\": \"Latvian\", \"value\": \"lv\" }, { \"text\": \"Lithuanian\", \"value\": \"lt\" }, { \"text\": \"Norwegian\", \"value\": \"no\" }, { \"text\": \"Polish\", \"value\": \"pl\" }, { \"text\": \"Portuguese\", \"value\": \"pt\" }, { \"text\": \"Romanian\", \"value\": \"ro\" }, { \"text\": \"Russian\", \"value\": \"ru\" }, { \"text\": \"Simplified Chinese\", \"value\": \"csl\" }, { \"text\": \"Serbian\", \"value\": \"sr\" }, { \"text\": \"Slovak\", \"value\": \"sk\" }, { \"text\": \"Spanish\", \"value\": \"es\" }, { \"text\": \"Swedish\", \"value\": \"sv\" }, { \"text\": \"Turkish\", \"value\": \"tr\" }];\r\n\r\n\t\tjQuery('#timezone').html('');\r\n\t\tjQuery('#language').html('');\r\n\t\tsetTimeout(() => {\r\n\t\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", true);\r\n\t\t}, 1200)\r\n\r\n\t\tlet selected = \"\";\r\n\r\n\t\ttimezones.map((data) => {\r\n\t\t\t\/\/ selected = data.value === Intl.DateTimeFormat().resolvedOptions().timeZone ? \"selected\" : \"\";\r\n\t\t\tselected = data.value === moment.tz.guess() ? \"selected\" : \"\";\r\n\t\t\tjQuery('#timezone').append('<option value=\"' + data.value + '\" ' + selected + '>' + data.text + '<\/option>')\r\n\t\t});\r\n\r\n\t\tlanguage.map((data) => {\r\n\t\t\tselected = data.value === \"en\" ? \"selected\" : \"\";\r\n\t\t\tjQuery('#language').append('<option value=\"' + data.value + '\" ' + selected + '>' + data.text + '<\/option>')\r\n\t\t});\r\n\r\n\t\tjQuery('#timezone, #language').select2();\r\n\t\tsetDateTimeValue();\r\n\r\n\t\tjQuery(\"#accept_terms_n_policies\").on('change', function (e) {\r\n\t\t\te.preventDefault();\r\n\t\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", true);\r\n\t\t\tif (jQuery(\"#accept_terms_n_policies:checked\").length === 1 && jQuery(\"#guest-email\").val().trim().length > 0) {\r\n\t\t\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", false);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tjQuery(\"#guest-email\").on('keyup', function (e) {\r\n\t\t\te.preventDefault();\r\n\t\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", true);\r\n\t\t\tif (jQuery(\"#accept_terms_n_policies:checked\").length === 1 && jQuery(\"#guest-email\").val().trim().length > 0) {\r\n\t\t\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", false);\r\n\t\t\t}\r\n\t\t});\r\n\t});\r\n\r\n\tfunction validateEmail(email) {\r\n\t\t\/\/ Regular expression pattern for email validation\r\n\t\tvar emailPattern = \/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/;\r\n\r\n\t\t\/\/ Test the email against the pattern\r\n\t\treturn emailPattern.test(email);\r\n\t}\r\n\r\n\tfunction onSubmit(token) {\r\n\t\tlet email = jQuery(\"#guest-email\").val();\r\n\t\tlet timezone = jQuery(\"#timezone\").val();\r\n\t\tlet datetime = jQuery(\"#datetime\").val();\r\n\t\tlet language = jQuery(\"#language\").val();\r\n\t\tlet bg_color = jQuery(\"#bg-color-id\").val().replace(\"#\", \"\");\r\n\t\tlet label_color = jQuery(\"#label-color-id\").val().replace(\"#\", \"\");\r\n\t\tlet digit_color = jQuery(\"#digit-color-id\").val().replace(\"#\", \"\");\r\n\t\tlet UTCOffset = getOffset(timezone);\r\n\t\tlet oldDateObj = new Date(`${datetime} ${UTCOffset}`);\r\n\r\n\t\tif (!validateEmail(email)) {\r\n\t\t\tgenerateErrorMessage(\"Please enter a valid email\")\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tjQuery(\".ui.error.message p\").text(\"\")\r\n\t\tjQuery(\".ui.error.message\").hide();\r\n\t\tjQuery(\"button.form-submit-button\").prop(\"disabled\", true)\r\n\t\tjQuery(\".index__timerCode__1wGrn\").val('')\r\n\r\n\t\tlet params = {\r\n\t\t\t\"email\": email,\r\n\t\t\t\"timerData\": {\r\n\t\t\t\t\"colors\": {\r\n\t\t\t\t\t\"digits\": digit_color,\r\n\t\t\t\t\t\"labels\": label_color,\r\n\t\t\t\t\t\"background\": bg_color\r\n\t\t\t\t},\r\n\t\t\t\t\"language\": language,\r\n\t\t\t\t\"endsAt\": oldDateObj.toISOString(),\r\n\t\t\t\t\"timeZone\": timezone\r\n\t\t\t},\r\n\t\t\t\"captchaResponse\": token\r\n\t\t};\r\n\r\n\t\t\/\/ parameter_email = getParameterByName('email');\r\n\t\tlet url = \"https:\/\/dashboard.sendtric.com\/api\/v1\/timers\/guest\";\r\n\t\t\/\/ let CSRF_TOKEN = \"\";\r\n\t\tif (email !== null && email !== \"\") {\r\n\t\t\turl += \"_timer\";\r\n\t\t\t\/\/ CSRF_TOKEN = jQuery(\"#customization_token\").val()\r\n\t\t}\r\n\t\t\/\/ posthog.capture('free_timer_creation')\r\n\t\tjQuery.ajax({\r\n\t\t\turl: url,\r\n\t\t\ttype: \"POST\",\r\n\t\t\tdata: JSON.stringify(params),\r\n\t\t\tcontentType: \"application\/json; charset=utf-8\",\r\n\t\t\tdataType: \"json\",\r\n\t\t\txhrFields: {\r\n\t\t\t\twithCredentials: true\r\n\t\t\t},\r\n\t\t\tbeforeSend: function (xhr) {\r\n\t\t\t\t\/\/ xhr.setRequestHeader (\"Authorization\", `Bearer ${CSRF_TOKEN}`);\r\n\t\t\t\txhr.setRequestHeader(\"accept\", \"application\/json\");\r\n\t\t\t\txhr.setRequestHeader(\"accept-language\", \"en-US,en;q=0.9,hi;q=0.8\");\r\n\t\t\t\txhr.setRequestHeader(\"authorization\", \"\");\r\n\t\t\t\txhr.setRequestHeader(\"content-type\", \"application\/json\");\r\n\t\t\t\txhr.setRequestHeader(\"x-requested-with\", \"XMLHttpRequest\");\r\n\t\t\t},\r\n\t\t\tsuccess: function (data) {\r\n\t\t\t\tlet html = '&lt;table align=&quot;center&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=\"' + data.url + '\" style=&quot;display: block;max-width:100%&quot; \/&gt;&lt;\/td&gt;&lt;\/tr&gt;&lt;\/tbody&gt;&lt;\/table&gt;'\r\n\t\t\t\tjQuery(\".index__timerCode__1wGrn\").val(decodeHTMLEntities(html))\r\n\t\t\t\tjQuery(\".index__previewImage__1Pwfw\").attr(\"data-src\", data.url)\r\n\t\t\t\tjQuery(\".index__previewImage__1Pwfw\").attr(\"src\", data.url)\r\n\t\t\t\t\/\/ jQuery(\".index__templatePreviewBody__jDpp2, .index__templatePreviewMobile__1MlQa\").css(\"background\", `#${data.templateData.colors.background}`); \/\/ updated Nov 2025\r\n\/\/ jQuery(\".index__templatePreviewBody__jDpp2, .index__templatePreviewMobile__1MlQa\").css(\"color\", `#${data.templateData.colors.labels}`); \/\/ updated Nov 2025\r\n\/\/ jQuery(\".index__templatePreviewButton__1gt4y\").css(\"background\", `#${data.templateData.colors.labels}`); \/\/ updated Nov 2025\r\n\/\/ jQuery(\".index__templatePreviewButton__1gt4y\").css(\"color\", `#${data.templateData.colors.background}`); \/\/ updated Nov 2025\r\n\r\n\t\t\t\tjQuery(\".index__previewImage__1Pwfw\").attr(\"src\", data.url)\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tamplitude.getInstance.logEvent(\"Create free timer\");\r\n\t\t\t\t\t} catch (e) {\r\n\t\t\t\t\t\tconsole.error(\"An error occurred while logging the event:\", e);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tjQuery(\".hide_on_response\").hide()\r\n\t\t\t\t\tjQuery(\".index__timerCodeContainer__16rXZ\").show()\r\n\r\n\t\t\t\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", true);\r\n\t\t\t\t\tif (jQuery(\"#accept_terms_n_policies:checked\").length === 1 && jQuery(\"#guest-email\").val().trim().length > 0) {\r\n\t\t\t\t\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", false);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tdocument.querySelector(\".index__timerCodeContainer__16rXZ\").scrollIntoView({ block: \"center\", behavior: \"smooth\" }); \/\/ updated Nov 2025\r\n\r\n\t\t\t\t\t\/\/ I can return back the user id from the backend\r\n\t\t\t\t\t\/\/ and use here to handle the RevGem lead tracking \r\n\t\t\t\t\t\/\/ with the help of user id \r\n\r\n\r\n\r\n\t\t\t\t\tgrecaptcha.reset();\r\n\t\t\t\t}, 500);\r\n\t\t\t\t\/\/ User Maven Script Injection\r\n\t\t\t\tusermaven(\"track\", \"free_timer_creation\", {\r\n\t\t\t\t\tuser_email: email,\r\n\t\t\t\t\tuser_id: data.ownerId,\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\terror: function (err) {\r\n\t\t\t\tgenerateErrorMessage(err.responseJSON.error)\r\n\t\t\t\tdocument.querySelector(\".ui.error.message\").scrollIntoView({ block: \"center\", behavior: \"smooth\" });\r\n\t\t\t}\r\n\t\t})\r\n\t\treturn false;\r\n\t}\r\n\r\n\tfunction generateErrorMessage(msg) {\r\n\t\tjQuery(\".ui.error.message p\").text(msg)\r\n\t\tjQuery(\".ui.error.message\").show();\r\n\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", true);\r\n\t\tif (jQuery(\"#accept_terms_n_policies:checked\").length === 1 && jQuery(\"#guest-email\").val().trim().length > 0) {\r\n\t\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", false);\r\n\t\t}\r\n\t\tresetLeftArea()\r\n\t\tgrecaptcha.reset();\r\n\t}\r\n\r\n\tfunction resetLeftArea() {\r\n\t\tlet imgSrc = '\/wp-content\/uploads\/2023\/01\/example_timer.gif';\r\n\t\t\/\/ jQuery(\".index__timerCode__1wGrn\").val(''); \/\/ updated Nov 2025\r\n\/\/ jQuery(\".index__previewImage__1Pwfw\").attr(\"src\", imgSrc); \/\/ updated Nov 2025\r\n\/\/ jQuery(\".index__templatePreviewBody__jDpp2, .index__templatePreviewMobile__1MlQa\").css(\"background\", '#1ac6ff'); \/\/ updated Nov 2025\r\n\/\/ jQuery(\".index__templatePreviewBody__jDpp2, .index__templatePreviewMobile__1MlQa\").css(\"color\", '#ffffff'); \/\/ updated Nov 2025\r\n\/\/ jQuery(\".index__templatePreviewButton__1gt4y\").css(\"background\", '#ffffff'); \/\/ updated Nov 2025\r\n\/\/ jQuery(\".index__templatePreviewButton__1gt4y\").css(\"color\", '#1ac6ff'); \/\/ updated Nov 2025\r\n\r\n\t\tjQuery(\".index__previewImage__1Pwfw\").attr(\"src\", imgSrc)\r\n\t\tsetTimeout(() => {\r\n\t\t\tjQuery(\".hide_on_response\").show()\r\n\t\t\tjQuery(\".index__timerCodeContainer__16rXZ\").hide()\r\n\r\n\t\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", true);\r\n\t\t\tif (jQuery(\"#accept_terms_n_policies:checked\").length === 1 && jQuery(\"#guest-email\").val().trim().length > 0) {\r\n\t\t\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", false);\r\n\t\t\t}\r\n\t\t\tgrecaptcha.reset();\r\n\t\t}, 100)\r\n\t}\r\n\r\n\tfunction handleCaptchaExpired() {\r\n\t\tjQuery(\"#accept_terms_n_policies\").prop(\"checked\", false);\r\n\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", true);\r\n\t\tif (jQuery(\"#accept_terms_n_policies:checked\").length === 1 && jQuery(\"#guest-email\").val().trim().length > 0) {\r\n\t\t\tjQuery(\".form-submit-button.g-recaptcha\").attr(\"disabled\", false);\r\n\t\t}\r\n\t\tgrecaptcha.reset();\r\n\t}\r\n\r\n\tfunction decodeHTMLEntities(text) {\r\n\t\tvar entities = [\r\n\t\t\t['amp', '&'],\r\n\t\t\t['apos', '\\''],\r\n\t\t\t['#x27', '\\''],\r\n\t\t\t['#x2F', '\/'],\r\n\t\t\t['#39', '\\''],\r\n\t\t\t['#47', '\/'],\r\n\t\t\t['lt', '<'],\r\n\t\t\t['gt', '>'],\r\n\t\t\t['nbsp', ' '],\r\n\t\t\t['quot', '\"']\r\n\t\t];\r\n\r\n\t\tfor (var i = 0, max = entities.length; i < max; ++i)\r\n\t\t\ttext = text.replace(new RegExp('&' + entities[i][0] + ';', 'g'), entities[i][1]);\r\n\r\n\t\treturn text;\r\n\t}\r\n<\/script>\r\n<script>\/*document.querySelector('#sendtric-button').addEventListener('click', () => {hj('event', 'clicked_homepage_cta'); console.log(\"------Something happened\")});*\/<\/script>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Elevate Your Campaigns with Behavior-Triggered Emails For marketers looking to stand out in a crowded digital landscape, the time to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-4093","post","type-post","status-publish","format-standard","hentry","category-blog","category-email-marketing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Elevate Your Campaigns with Behavior Triggered Emails | Sendtric<\/title>\n<meta name=\"description\" content=\"How to utilize behavior triggered emails \u2013 the advanced tactic your campaigns need to not just survive, but to thrive.\" \/>\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.sendtric.com\/behavior-triggered-emails\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Elevate Your Campaigns with Behavior Triggered Emails | Sendtric\" \/>\n<meta property=\"og:description\" content=\"How to utilize behavior triggered emails \u2013 the advanced tactic your campaigns need to not just survive, but to thrive.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sendtric.com\/behavior-triggered-emails\/\" \/>\n<meta property=\"og:site_name\" content=\"Sendtric\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-08T09:54:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-03T14:55:16+00:00\" \/>\n<meta name=\"author\" content=\"Sendtric\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sendtric\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.sendtric.com\/behavior-triggered-emails\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.sendtric.com\/behavior-triggered-emails\/\"},\"author\":{\"name\":\"Sendtric\",\"@id\":\"https:\/\/www.sendtric.com\/#\/schema\/person\/c1e606f870ff789598c456e8bd9f0f30\"},\"headline\":\"Elevate Your Campaigns with Behavior-Triggered Emails\",\"datePublished\":\"2024-03-08T09:54:46+00:00\",\"dateModified\":\"2026-02-03T14:55:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.sendtric.com\/behavior-triggered-emails\/\"},\"wordCount\":763,\"publisher\":{\"@id\":\"https:\/\/www.sendtric.com\/#organization\"},\"articleSection\":[\"Blog\",\"Email Marketing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sendtric.com\/behavior-triggered-emails\/\",\"url\":\"https:\/\/www.sendtric.com\/behavior-triggered-emails\/\",\"name\":\"Elevate Your Campaigns with Behavior Triggered Emails | Sendtric\",\"isPartOf\":{\"@id\":\"https:\/\/www.sendtric.com\/#website\"},\"datePublished\":\"2024-03-08T09:54:46+00:00\",\"dateModified\":\"2026-02-03T14:55:16+00:00\",\"description\":\"How to utilize behavior triggered emails \u2013 the advanced tactic your campaigns need to not just survive, but to thrive.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.sendtric.com\/behavior-triggered-emails\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sendtric.com\/behavior-triggered-emails\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sendtric.com\/behavior-triggered-emails\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sendtric.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https:\/\/www.sendtric.com\/category\/blog\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Elevate Your Campaigns with Behavior-Triggered Emails\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sendtric.com\/#website\",\"url\":\"https:\/\/www.sendtric.com\/\",\"name\":\"Sendtric\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.sendtric.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sendtric.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.sendtric.com\/#organization\",\"name\":\"Sendtric\",\"url\":\"https:\/\/www.sendtric.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sendtric.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.sendtric.com\/wp-content\/uploads\/2025\/10\/logo-2.png\",\"contentUrl\":\"https:\/\/www.sendtric.com\/wp-content\/uploads\/2025\/10\/logo-2.png\",\"width\":180,\"height\":60,\"caption\":\"Sendtric\"},\"image\":{\"@id\":\"https:\/\/www.sendtric.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.sendtric.com\/#\/schema\/person\/c1e606f870ff789598c456e8bd9f0f30\",\"name\":\"Sendtric\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sendtric.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3e5438fccac63c817fa2e00cd605e52a2dbe66dfda93213a06d555077ed1af4f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3e5438fccac63c817fa2e00cd605e52a2dbe66dfda93213a06d555077ed1af4f?s=96&d=mm&r=g\",\"caption\":\"Sendtric\"},\"sameAs\":[\"http:\/\/13.58.192.120\/sendtric\"],\"url\":\"https:\/\/www.sendtric.com\/author\/wp_sendtric_admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Elevate Your Campaigns with Behavior Triggered Emails | Sendtric","description":"How to utilize behavior triggered emails \u2013 the advanced tactic your campaigns need to not just survive, but to thrive.","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.sendtric.com\/behavior-triggered-emails\/","og_locale":"en_US","og_type":"article","og_title":"Elevate Your Campaigns with Behavior Triggered Emails | Sendtric","og_description":"How to utilize behavior triggered emails \u2013 the advanced tactic your campaigns need to not just survive, but to thrive.","og_url":"https:\/\/www.sendtric.com\/behavior-triggered-emails\/","og_site_name":"Sendtric","article_published_time":"2024-03-08T09:54:46+00:00","article_modified_time":"2026-02-03T14:55:16+00:00","author":"Sendtric","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sendtric","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sendtric.com\/behavior-triggered-emails\/#article","isPartOf":{"@id":"https:\/\/www.sendtric.com\/behavior-triggered-emails\/"},"author":{"name":"Sendtric","@id":"https:\/\/www.sendtric.com\/#\/schema\/person\/c1e606f870ff789598c456e8bd9f0f30"},"headline":"Elevate Your Campaigns with Behavior-Triggered Emails","datePublished":"2024-03-08T09:54:46+00:00","dateModified":"2026-02-03T14:55:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sendtric.com\/behavior-triggered-emails\/"},"wordCount":763,"publisher":{"@id":"https:\/\/www.sendtric.com\/#organization"},"articleSection":["Blog","Email Marketing"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.sendtric.com\/behavior-triggered-emails\/","url":"https:\/\/www.sendtric.com\/behavior-triggered-emails\/","name":"Elevate Your Campaigns with Behavior Triggered Emails | Sendtric","isPartOf":{"@id":"https:\/\/www.sendtric.com\/#website"},"datePublished":"2024-03-08T09:54:46+00:00","dateModified":"2026-02-03T14:55:16+00:00","description":"How to utilize behavior triggered emails \u2013 the advanced tactic your campaigns need to not just survive, but to thrive.","breadcrumb":{"@id":"https:\/\/www.sendtric.com\/behavior-triggered-emails\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sendtric.com\/behavior-triggered-emails\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sendtric.com\/behavior-triggered-emails\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sendtric.com\/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https:\/\/www.sendtric.com\/category\/blog\/"},{"@type":"ListItem","position":3,"name":"Elevate Your Campaigns with Behavior-Triggered Emails"}]},{"@type":"WebSite","@id":"https:\/\/www.sendtric.com\/#website","url":"https:\/\/www.sendtric.com\/","name":"Sendtric","description":"","publisher":{"@id":"https:\/\/www.sendtric.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sendtric.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.sendtric.com\/#organization","name":"Sendtric","url":"https:\/\/www.sendtric.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sendtric.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.sendtric.com\/wp-content\/uploads\/2025\/10\/logo-2.png","contentUrl":"https:\/\/www.sendtric.com\/wp-content\/uploads\/2025\/10\/logo-2.png","width":180,"height":60,"caption":"Sendtric"},"image":{"@id":"https:\/\/www.sendtric.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.sendtric.com\/#\/schema\/person\/c1e606f870ff789598c456e8bd9f0f30","name":"Sendtric","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sendtric.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3e5438fccac63c817fa2e00cd605e52a2dbe66dfda93213a06d555077ed1af4f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3e5438fccac63c817fa2e00cd605e52a2dbe66dfda93213a06d555077ed1af4f?s=96&d=mm&r=g","caption":"Sendtric"},"sameAs":["http:\/\/13.58.192.120\/sendtric"],"url":"https:\/\/www.sendtric.com\/author\/wp_sendtric_admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sendtric.com\/wp-json\/wp\/v2\/posts\/4093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sendtric.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sendtric.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sendtric.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sendtric.com\/wp-json\/wp\/v2\/comments?post=4093"}],"version-history":[{"count":0,"href":"https:\/\/www.sendtric.com\/wp-json\/wp\/v2\/posts\/4093\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sendtric.com\/wp-json\/wp\/v2\/media?parent=4093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sendtric.com\/wp-json\/wp\/v2\/categories?post=4093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sendtric.com\/wp-json\/wp\/v2\/tags?post=4093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}