{"id":6982,"date":"2025-11-13T12:22:10","date_gmt":"2025-11-13T06:52:10","guid":{"rendered":"https:\/\/holithemes.com\/plugins\/click-to-chat\/?post_type=docs&#038;p=6982"},"modified":"2026-04-10T16:12:00","modified_gmt":"2026-04-10T10:42:00","slug":"greetings-form","status":"publish","type":"docs","link":"https:\/\/holithemes.com\/plugins\/click-to-chat\/docs\/greetings-form\/","title":{"rendered":"Greetings Form"},"content":{"rendered":"\n<p class=\"has-text-align-left wp-embed-aspect-16-9 wp-has-aspect-ratio\">Greetings Form can make your website visitors fill the form before initiating the chat<\/p>\n\n\n\n<blockquote class=\"wp-block-quote wp-embed-aspect-16-9 wp-has-aspect-ratio is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>&nbsp;\ud83d\udd17&nbsp;Included in the PRO plan \u2014&nbsp;<a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/pricing\/\">View Pricing<\/a><\/em><\/p>\n<\/blockquote>\n\n\n\n<p class=\"has-text-align-left wp-embed-aspect-16-9 wp-has-aspect-ratio\">The Form data filled by the user:<\/p>\n\n\n\n<ul class=\"wp-block-list wp-embed-aspect-16-9 wp-has-aspect-ratio\">\n<li>Attach to the prefilled message<\/li>\n\n\n\n<li>Get an email notification<\/li>\n\n\n\n<li>Call a Webhook URL to integrate with other applications.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-text-align-left wp-embed-aspect-16-9 wp-has-aspect-ratio\">Navigate to &#8216;<strong>Click to Chat&#8217; \u2014&gt; &#8216;Greetings&#8217;<\/strong> and select <strong>&#8216;Greetings Dialog- Form&#8217;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Greetings form - Webhooks\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/4q5efRNSo3g?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-embed-aspect-16-9 wp-has-aspect-ratio\"><\/p>\n\n\n\n<p class=\"wp-embed-aspect-16-9 wp-has-aspect-ratio\"><\/p>\n\n\n\n\n\n<p><\/p>\n\n\n\n<p id=\"block-fe6631d6-cc5d-40c9-9aee-297a9903aa11\">Greetings dialog has 3 rich text editor blocks to construct the text with its toolbar widgets.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Header content<\/li>\n\n\n\n<li>Main content<\/li>\n\n\n\n<li>Bottom content<\/li>\n<\/ul>\n\n\n\n<p id=\"block-6b60deb4-ea8d-4b7d-8537-7d263c9edd7b\">Variables like <strong>{site},{title}<\/strong>, and <strong>{url} <\/strong>can also be used in these text editors. The values of these variables are replaced dynamically:<\/p>\n\n\n\n<p id=\"block-8ece7007-b141-44d8-aa97-f5935a8b8bab\"><strong>{site}<\/strong> &#8211; changes to the current website name.<br><strong>{title}-<\/strong> changes to the title of the current page. (If it\u2019s the home page, then change to the website name.)<br><strong>{url}<\/strong> &#8211; replaces with the current page URL.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"block-8315a685-2928-4aae-b164-4bf43b135824\"><strong>Header Content: <\/strong><\/h4>\n\n\n\n<p id=\"block-8315a685-2928-4aae-b164-4bf43b135824\">The text present in the header content appears at the top of the greetings dialog.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\" id=\"block-650d7552-be67-45a5-8ae1-dbee1e6877e2\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image.webp\" alt=\"This image has an empty alt attribute; its file name is image.webp\"\/><figcaption class=\"wp-element-caption\">Here, {site} is dynamically replaced with the website name.<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"block-cf82b6b2-29bb-4518-9ab8-b4116ff67967\"><strong>Main Content: <\/strong><\/h4>\n\n\n\n<p id=\"block-cf82b6b2-29bb-4518-9ab8-b4116ff67967\">The content present in the main content appears inside the message box of the greetings dialog body.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\" id=\"block-5bafb707-e28f-4f34-b3f3-39acfc62a0cf\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-1.webp\" alt=\"This image has an empty alt attribute; its file name is image-1.webp\"\/><figcaption class=\"wp-element-caption\">Here, {title} is replaced with the current page title.<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"block-f8bcdfe6-1c54-4828-a6f3-1c0e39d97653\"><strong>Bottom Content: <\/strong><\/h4>\n\n\n\n<p id=\"block-f8bcdfe6-1c54-4828-a6f3-1c0e39d97653\">The text present in the Bottom Content appears at the bottom part of the greetings dialog.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\" id=\"block-78add08a-e77a-4d34-af17-9bdde219ca51\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-2.webp\" alt=\"This image has an empty alt attribute; its file name is image-2.webp\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" id=\"block-7fb8310c-94e2-4fa0-836f-cc8ae78a7db0\"\/>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"block-f6d7ce4d-1c98-4e93-984e-2298c4f4dc47\"><strong>Call to Action: <\/strong><\/h4>\n\n\n\n<p id=\"block-f6d7ce4d-1c98-4e93-984e-2298c4f4dc47\">This text appears on the WhatsApp button of the greetings dialog.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\" id=\"block-284301db-9192-4666-bc1a-3651ed4f1153\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-19.webp\" alt=\"This image has an empty alt attribute; its file name is Untitled-19.webp\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\"><strong>Greetings Form Builder: <\/strong><\/h4>\n\n\n\n<p>Greetings Dialog- Form builder has 4 types of input fields. We can add any number of these fields within the greetings dialog by clicking on \u201cAdd Field\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"500\" height=\"585\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-22.png\" alt=\"\" class=\"wp-image-3122\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-22.png 500w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-22-256x300.png 256w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h5 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"text\"><strong>Text: <\/strong><\/h5>\n\n\n\n<p>A test accepts a single line input.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"965\" height=\"336\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/04\/checkbox.webp\" alt=\"\" class=\"wp-image-4344\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/04\/checkbox.webp 965w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/04\/checkbox-300x104.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/04\/checkbox-768x267.webp 768w\" sizes=\"(max-width: 965px) 100vw, 965px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h5 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"email\"><strong>Email: <\/strong><\/h5>\n\n\n\n<p>Email is a text box that accepts email ids as input. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"797\" height=\"369\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/email-field.webp\" alt=\"\" class=\"wp-image-3953\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/email-field.webp 797w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/email-field-300x139.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/email-field-768x356.webp 768w\" sizes=\"(max-width: 797px) 100vw, 797px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"text-area\"><strong>Text Area (large field): <\/strong><\/h5>\n\n\n\n<p>The text Area accepts multi-line input. It can be used for Messages, and feedback which takes more data. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"784\" height=\"361\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/Text-area.webp\" alt=\"\" class=\"wp-image-3954\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/Text-area.webp 784w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/Text-area-300x138.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/Text-area-768x354.webp 768w\" sizes=\"(max-width: 784px) 100vw, 784px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"date\"><strong>Date<\/strong>:<\/h5>\n\n\n\n<p>The <strong>Date Field<\/strong> allows users to select a <strong>date or schedule a date and time<\/strong> directly from the Greetings Form before starting a WhatsApp chat. It supports <strong>Date Only<\/strong> mode and a full <strong>Scheduler (Date &amp; Time)<\/strong> with availability and duration<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"598\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Greetingsform-admin-date-2-1024x598.webp\" alt=\"\" class=\"wp-image-7252\" style=\"aspect-ratio:1.712123189351429;width:498px;height:auto\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Greetingsform-admin-date-2-1024x598.webp 1024w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Greetingsform-admin-date-2-300x175.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Greetingsform-admin-date-2-768x449.webp 768w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Greetingsform-admin-date-2.webp 1106w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>In the <strong>Date Field Settings<\/strong> we can change the mode of the Greetings Form.<\/p>\n\n\n\n<p><strong>Date Only Mode: <\/strong>(<a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/demo\/greetings-form-date\/\">View Demo<\/a>)<\/p>\n\n\n\n<p>Date Mode allows users to select <strong>only a date<\/strong> from the Greetings Form, without choosing a time. This is useful when the exact time is not required and only a preferred or required date needs to be collected before starting the chat.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"345\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Date-Only-mode-1024x345.webp\" alt=\"\" class=\"wp-image-7255\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Date-Only-mode-1024x345.webp 1024w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Date-Only-mode-300x101.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Date-Only-mode-768x258.webp 768w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Date-Only-mode.webp 1031w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the Date Field settings, we can add <strong>min and max dates<\/strong> to show only available booking days and disable unavailable ones.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Scheduler (Date+Time) Mode:<\/strong> (<a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/demo\/greeting-form-date-scheduler\/\">View Demo<\/a>)<\/p>\n\n\n\n<p>Scheduler Mode allows users to select both a <strong>date and a time slot<\/strong> based on defined availability. It is ideal for booking appointments, consultations, or callbacks before initiating the WhatsApp conversation.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"942\" height=\"334\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Scheduler-mode.webp\" alt=\"greetings form\n\" class=\"wp-image-7256\" style=\"aspect-ratio:2.820443918955232\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Scheduler-mode.webp 942w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Scheduler-mode-300x106.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2025\/11\/Scheduler-mode-768x272.webp 768w\" sizes=\"(max-width: 942px) 100vw, 942px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the Date Field settings, we can set the <strong>minimum notice<\/strong>, <strong>schedule up to<\/strong>, and <strong>duration<\/strong> for bookings.<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>In detailed Documentation of Greetings Form Date Field: <a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/docs\/greetings-form-date-field\/\">Date Field Docs<\/a><\/p>\n<\/blockquote>\n\n\n\n<h5 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"checkbox\"><strong>Checkbox:<\/strong><\/h5>\n\n\n\n<p id=\"checkbox\">A check box is an input type to accept or select a corresponding value. e.g. Accepting privacy policy, terms and conditions, cookies, etc. <\/p>\n\n\n\n<p>In the check box field name, we can attach a link along with the text in markdown style.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;text](link)<\/code><\/pre>\n\n\n\n<p>The link will be attached to the text inscribed in brackets[text]. The link must include protocol like http:\/\/ or https:\/\/<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>E.g. Accept &#91;Privacy Policy](https:\/\/holithemes.com\/privacy-policy)<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"965\" height=\"336\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/04\/image.png\" alt=\"\" class=\"wp-image-4341\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/04\/image.png 965w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/04\/image-300x104.png 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/04\/image-768x267.png 768w\" sizes=\"(max-width: 965px) 100vw, 965px\" \/><\/figure>\n\n\n\n<p>To give a name to the form fields, enter it in \u201cField Name\u201d. The placeholder value appears inside the form field. <\/p>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"select\"><strong>Select<\/strong><\/h5>\n\n\n\n<p>A select input field, often referred to as a dropdown menu, allows users to choose a single option from a list of predefined choices.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"869\" height=\"522\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Numberintl.webp\" alt=\"\" class=\"wp-image-4999\" style=\"width:759px;height:auto\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Numberintl.webp 869w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Numberintl-300x180.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Numberintl-768x461.webp 768w\" sizes=\"(max-width: 869px) 100vw, 869px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"number\"><strong>Number<\/strong><\/h5>\n\n\n\n<p>An intl tel input field allows users to enter their phone number with the correct country code.<\/p>\n\n\n\n<p><strong>Country Code Selection:<\/strong> Select your country from the dropdown menu. Enter your phone number in the provided field. The system will automatically validate that the phone number matches the format for your selected country.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"869\" height=\"522\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Numberintl.jpg\" alt=\"\" class=\"wp-image-4689\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Numberintl.jpg 869w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Numberintl-300x180.jpg 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Numberintl-768x461.jpg 768w\" sizes=\"(max-width: 869px) 100vw, 869px\" \/><\/figure>\n\n\n\n<p><strong>Intl Tel Input Settings<\/strong><\/p>\n\n\n\n<p>If the Number (intl tel input) field type is added, the plugin loads the intl-tel-input library.<\/p>\n\n\n\n<p><strong>When to Load the intl-tel-input Library:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>No Delay:<\/strong> Load the intl-tel-input library immediately when the form is loaded.<\/li>\n\n\n\n<li><strong>Idle Time:<\/strong> Load the intl-tel-input library after the website has been idle for a certain period. The library will be reloaded 5 seconds to ensure the latest validation settings are applied.<\/li>\n\n\n\n<li><strong>After User Interaction with Widget:<\/strong> Load the intl-tel-input library only after the user interacts with the telephone input field.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"504\" height=\"219\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/settings-intl-tel.webp\" alt=\"\" class=\"wp-image-4677\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/settings-intl-tel.webp 504w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/settings-intl-tel-300x130.webp 300w\" sizes=\"(max-width: 504px) 100vw, 504px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-uagb-advanced-heading uagb-block-b0269fb8\"><\/div>\n\n\n\n<p><strong>Separate Dial Code<\/strong><\/p>\n\n\n\n<p>If this option is checked, the country dial code is displayed next to the country flag in the input field.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Country Selection:<\/strong> When the user selects a country from the dropdown list, the country flag and dial code are displayed.<\/li>\n\n\n\n<li><strong>Dial Code Display:<\/strong> The dial code appears next to the flag, making it clear which code will be used when entering the phone number.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"746\" height=\"432\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/sdc.jpg\" alt=\"\" class=\"wp-image-4691\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/sdc.jpg 746w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/sdc-300x174.jpg 300w\" sizes=\"(max-width: 746px) 100vw, 746px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-uagb-advanced-heading uagb-block-c4eefdbd\"><\/div>\n\n\n\n<p><strong>Localization<\/strong><\/p>\n\n\n\n<p>When set to &#8220;Auto,&#8221; the language used on the current page is automatically applied. Additionally, users have the option to select different languages.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"950\" height=\"552\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Localization-beta.jpg\" alt=\"\" class=\"wp-image-4675\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Localization-beta.jpg 950w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Localization-beta-300x174.jpg 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Localization-beta-768x446.jpg 768w\" sizes=\"(max-width: 950px) 100vw, 950px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-uagb-advanced-heading uagb-block-21fb0f48\"><\/div>\n\n\n\n<p><strong>Initial Country Settings<\/strong><\/p>\n\n\n\n<p>When set to &#8220;Auto,&#8221; the plugin automatically selects the visitor&#8217;s country using ipinfo.io based on their IP address.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"950\" height=\"552\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/initial-beta.jpg\" alt=\"\" class=\"wp-image-4676\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/initial-beta.jpg 950w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/initial-beta-300x174.jpg 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/initial-beta-768x446.jpg 768w\" sizes=\"(max-width: 950px) 100vw, 950px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"hidden\"><strong>Hidden<\/strong><\/h5>\n\n\n\n<p>A hidden field is an invisible input field used in forms. It can utilize variables like {url}, {title}, and {number} to capture the current page&#8217;s URL, the title, and the number assigned to the WhatsApp chat widget. These fields can dynamically pull values from URL parameters or cookies. When the user submits the form, the hidden field values are sent with the form data via email notifications or webhooks.<\/p>\n\n\n\n<p><strong>How it Works?<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>URL Parameters<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Retrieve values directly from URL parameters by enclosing the parameter name in single square brackets <code>[ ]<\/code>.<\/li>\n\n\n\n<li>Example:\n<ul class=\"wp-block-list\">\n<li>URL: <code>https:\/\/example.com?gclid=12345&amp;utm_source=google<\/code><\/li>\n\n\n\n<li>To get the value of <code>gclid<\/code>, use <code>[gclid]<\/code>.<\/li>\n\n\n\n<li>To get the value of <code>utm_source<\/code>, use <code>[utm_source]<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If the parameter does not exist in the URL, the hidden field will be left blank.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Cookies<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Retrieve values stored in cookies by enclosing the cookie name in double square brackets <code>[[ ]]<\/code>.<\/li>\n\n\n\n<li>Example:\n<ul class=\"wp-block-list\">\n<li>To get the value of a cookie named <code>_ga<\/code>, use <code>[[ _ga ]]<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If the cookie does not exist, the hidden field will be left blank.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>Example in Context<\/strong> :<\/pre>\n\n\n\n<p>To track a user&#8217;s Google Ads click ID (<code>gclid<\/code>) and the source of their visit (<code>utm_source<\/code>), along with a value stored in a cookie named <code>_ga<\/code>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>URL<\/strong>: <code>https:\/\/example.com?gclid=12345&amp;utm_source=google<\/code><\/li>\n\n\n\n<li><strong>Cookie<\/strong>: <code>_ga=GA1.2.3456789<\/code><\/li>\n<\/ul>\n\n\n\n<p>Hidden fields might be defined as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>[gclid]<\/code> captures the value <code>12345<\/code> from the URL.<\/li>\n\n\n\n<li><code>[utm_source]<\/code> captures the value <code>google<\/code> from the URL.<\/li>\n\n\n\n<li><code>[[ _ga ]]<\/code> captures the value <code>GA1.2.3456789<\/code> from the cookie.<\/li>\n<\/ul>\n\n\n\n<p>You could set up your hidden fields like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>[gclid] will capture the value `12345` from the URL.<br>[utm_source] will capture the value `google` from the URL.<br>[[ _ga ]] will capture the value `GA1.2.3456789` from the cookie.<br><\/code><\/pre>\n\n\n\n<p>In this case, your hidden fields might be defined as:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>Hidden Field 1: [gclid]<br>Hidden Field 2: [utm_source]<br>Hidden Field 3: [[ _ga ]]<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Important Notes:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If the URL parameter or cookie doesn&#8217;t exist, the hidden field will remain empty.<\/li>\n\n\n\n<li>These values are dynamic and will change based on the user&#8217;s current URL and cookies.<\/li>\n\n\n\n<li>This method is often used to capture tracking information or user-specific data to be passed along to other systems.<\/li>\n<\/ul>\n\n\n\n<p>This approach enhances forms by capturing relevant data seamlessly.<\/p>\n\n\n\n<h5 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\"><strong>Required:<\/strong><\/h5>\n\n\n\n<p>If <strong>\u201cRequired\u201d is selected,<\/strong> it becomes mandatory for the users to fill the form field. It prompts an error message when unfilled.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"368\" height=\"116\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/Required.webp\" alt=\"\" class=\"wp-image-3951\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/Required.webp 368w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/Required-300x95.webp 300w\" sizes=\"(max-width: 368px) 100vw, 368px\" \/><figcaption class=\"wp-element-caption\">If &#8216;Required&#8217; is selected and the form field value is empty, then an error message prompts.<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h5 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\"><strong>Add to Prefilled message:<\/strong><\/h5>\n\n\n\n<p>If <strong>\u201cAdd to Prefilled message\u201d<\/strong> is checked, the value entered in the form field displays in the pre-filled message.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"811\" height=\"341\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Prefilled-Message-2.webp\" alt=\"\" class=\"wp-image-5766\" style=\"width:653px;height:auto\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Prefilled-Message-2.webp 811w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Prefilled-Message-2-300x126.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Prefilled-Message-2-768x323.webp 768w\" sizes=\"(max-width: 811px) 100vw, 811px\" \/><\/figure>\n\n\n\n<p>This will be automatically included in the Prefilled message, allowing us to send that data directly via WhatsApp.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"856\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Prefilled-1024x856.webp\" alt=\"\" class=\"wp-image-5767\" style=\"width:534px;height:auto\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Prefilled-1024x856.webp 1024w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Prefilled-300x251.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Prefilled-768x642.webp 768w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Prefilled.webp 1049w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"email_notification\"><strong>Email Notification and Webhooks:<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"427\" height=\"315\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/05\/image.png\" alt=\"\" class=\"wp-image-3223\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/05\/image.png 427w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/05\/image-300x221.png 300w\" sizes=\"(max-width: 427px) 100vw, 427px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\"><strong>Email Notification <\/strong><\/h5>\n\n\n\n<p>Whenever a user submits the Greetings Form on the website, the form data is sent via email to the email address(es) specified in the Greetings form settings.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Multiple Recipients<\/strong>: We can enter multiple email addresses, separated by commas (<code>,<\/code>), to send notifications to more than one recipient.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"882\" height=\"155\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Email.webp\" alt=\"\" class=\"wp-image-6150\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Email.webp 882w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Email-300x53.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Email-768x135.webp 768w\" sizes=\"(max-width: 882px) 100vw, 882px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>If cache plugins are active on the site, ensure the cache lifespan is set to less than 8 hours, or consider using webhooks for real-time data delivery.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Email Subject<\/strong><\/h5>\n\n\n\n<p>To customize the subject line of the emails we receive when a customer submits the form:<\/p>\n\n\n\n<p>Navigate to the &#8220;<strong>Click to Chat<\/strong>&#8221; &#8211;&gt; &#8220;<strong>Greetings<\/strong>&#8221; &#8211;&gt; &#8220;<strong>Greetings Form<\/strong>&#8221; &#8211; &#8220;<strong>Email Notification Subject, Call to Action &#8211; button type<\/strong>&#8220;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>In the Email Notification:<\/strong> Subject field, we can define a custom subject line.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Dynamic Fields<\/strong>: We can include dynamic placeholders like <code>{field_1}<\/code>, <code>{field_2}<\/code>, etc., which will be automatically replaced with the corresponding user input from the form fields.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"867\" height=\"149\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Email-Placeholder.jpg\" alt=\"\" class=\"wp-image-6151\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Email-Placeholder.jpg 867w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Email-Placeholder-300x52.jpg 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Email-Placeholder-768x132.jpg 768w\" sizes=\"(max-width: 867px) 100vw, 867px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This allows for more personalized and informative subject lines.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If left blank, the default subject will be:<br><strong>&#8220;Click to Chat \u2013 Greetings Form&#8221;<\/strong><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"webhooks\"><strong>Webhooks<\/strong><\/h4>\n\n\n\n<p>Whenever the user fills the greetings form, the Webhook callback url added to the greetings form gets triggered.<br><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Integration Tools:<\/h5>\n\n\n\n<p> Create Webhook URL from integration tools like<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/holithemes.com\/go\/airtable\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/airtable.com\/invite\/r\/sJ4JVzcY\" rel=\"noreferrer noopener nofollow\">Airtable<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/holithemes.com\/go\/make\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/holithemes.com\/go\/make\" rel=\"noreferrer noopener nofollow\">Make.com<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/zapier.com\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Zapier<\/a><\/li>\n<\/ul>\n\n\n\n<p>We can also change the format of the Webhook data. Available data formats are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>JSON Format<\/li>\n\n\n\n<li>Stringify JSON Format<\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/webhook-data-format\/\">Webhook Data Format Documentation<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Greetings form - Webhooks\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/4q5efRNSo3g?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"block-4a75db84-ba72-4a33-b7b9-d3eb61cb2a2b\"><strong>Call to Action Button type: <\/strong><\/h4>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p id=\"block-4a75db84-ba72-4a33-b7b9-d3eb61cb2a2b\">The Call to Action button has two styles. Select any of these styles.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\" id=\"block-f4592dc7-199b-4d5f-a844-76cfc8fbfd54\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-16.webp\" alt=\"This image has an empty alt attribute; its file name is Untitled-16.webp\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p id=\"block-92ce8de5-2759-473e-8fad-e9f9e6ddde75\"><strong>Themes Button (style-1):<\/strong> &#8216;Style 1&#8217; is applied to the Call to Action button, which looks like the current site Theme\u2019s button color. We can customize this Call to Action button at <strong>Click to Chat \u2014&gt; customize \u2014&gt; style-1.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"305\" height=\"376\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-18.webp\" alt=\"\" class=\"wp-image-3065\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-18.webp 305w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-18-243x300.webp 243w\" sizes=\"(max-width: 305px) 100vw, 305px\" \/><\/figure>\n\n\n\n<p id=\"block-246b426c-26c3-4738-97f8-ed4eb39ec2c8\"><strong>Button with WhatsApp Icon(style-7 Extend):<\/strong> This is the default value. We can customize style-7 extend at <strong>Click to Chat \u2014&gt; customize \u2014&gt; style-7 Extend<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"310\" height=\"369\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-19.webp\" alt=\"\" class=\"wp-image-3067\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-19.webp 310w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-19-252x300.webp 252w\" sizes=\"(max-width: 310px) 100vw, 310px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"block-2573b5f7-43a5-4b2b-8a89-a463f559b329\"><strong>Color Customization: <\/strong><\/h4>\n\n\n\n<p id=\"block-2573b5f7-43a5-4b2b-8a89-a463f559b329\">Customize Background colors to Header content, main content, and message box. To change the colors, either enter a hexadecimal color value or select any color from the palette. Click on &#8216;Default&#8217; to apply the default color.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"528\" height=\"574\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/image-1.png\" alt=\"\" class=\"wp-image-3959\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/image-1.png 528w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/image-1-276x300.png 276w\" sizes=\"(max-width: 528px) 100vw, 528px\" \/><\/figure>\n\n\n\n<p id=\"block-47c0e661-d7be-4508-813b-c6bbfc4337b0\"><br>With the Default color values, the Greetings dialog- form appears like this:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"311\" height=\"545\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/formfilling.webp\" alt=\"\" class=\"wp-image-3963\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/formfilling.webp 311w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/01\/formfilling-171x300.webp 171w\" sizes=\"(max-width: 311px) 100vw, 311px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"block-6f5fe266-384c-49ef-bd59-11a4b65385bb\"><strong>Display: <\/strong><\/h4>\n\n\n\n<p id=\"block-6f5fe266-384c-49ef-bd59-11a4b65385bb\">This feature displays greetings dialog based on the type of device. It has 3 attributes.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\" id=\"block-bd7f5ce8-a0d3-4653-98be-4e4ebb671737\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-20.webp\" alt=\"This image has an empty alt attribute; its file name is Untitled-20.webp\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p id=\"block-73d8bfa7-6777-4959-9a6b-be6be6d85e03\"><strong>Desktop and Mobile:<\/strong> This is the default attribute. The greetings dialog appears on all desktop and mobile devices.<br><strong>Desktop Only:<\/strong> Greetings dialog is displayed only on desktop devices.<br><strong>Mobile Only:<\/strong> Greetings dialog is displayed only on Mobile devices.<\/p>\n\n\n\n<p><p id=\"block-86adb085-939f-4e2e-9f78-12ffe0b68c6c\">\ufeff<\/p><\/p>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"block-a5d98315-af6c-4243-877c-b569dc99ef81\"><strong>Initial stage:<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image aligncenter\" id=\"block-9c7fde6d-cd19-4082-84cc-fc719bbb839a\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-15.webp\" alt=\"This image has an empty alt attribute; its file name is image-15.webp\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p id=\"block-9ef872df-eb0a-44a7-b84a-c987f6d51934\"><strong>Open:<\/strong> Greetings dialog appears by default. Whenever user closes the greetings dialog on any page in the website, the greetings dialog automatically gets hidden on all the pages of the website. Greetings re-appear only after the user clicks on WhatsApp.<br>Here, User Action is the key. If a user closes the greetings dialog, then it is closed on all the pages. If a user opens on any page, it will open by default on all the pages that the user visits.<\/p>\n\n\n\n<p id=\"block-fecc4d36-6e58-475d-b5a1-31f6910dcc91\"><strong>Close:<\/strong> The greetings dialog is hidden by default. Greetings appear only when a user clicks on the WhatsApp button.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" id=\"block-7489e16d-0a30-4b9e-b0ed-79501a6846a3\"\/>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"greeting-actions\"><strong>Greeting Actions<\/strong><\/h4>\n\n\n\n<p>Actions are useful to promote the Greetings message at a particular Time, Page scroll and Click.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>&nbsp;\ud83d\udd17&nbsp;Included in the PRO plan \u2014&nbsp;<a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/pricing\/\">View Pricing<\/a><\/em><\/p>\n<\/blockquote>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If the Initial stage is set to Open, the greetings dialog appears immediately. But if a user closes the greetings dialog on any page, then it will re-appear based on &#8216;Actions&#8217;<\/li>\n\n\n\n<li>To display the greetings dialog only after a particular time and scroll delay or any click actions, please set the initial stage to &#8216;<strong>close<\/strong>&#8216;.<\/li>\n<\/ul>\n\n\n\n<p><strong>Time Action:<\/strong> <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"460\" height=\"166\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-22.webp\" alt=\"\" class=\"wp-image-2993\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-22.webp 460w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-22-300x108.webp 300w\" sizes=\"(max-width: 460px) 100vw, 460px\" \/><\/figure>\n\n\n\n<p>The Greetings dialog appears on the web pages after completion of the specified time in &#8216;Time action&#8217;. The value of &#8216;Time Action&#8217; is in seconds.<\/p>\n\n\n\n<p>If the initial stage is set to &#8216;Open&#8217;: By default, the greetings dialog appears immediately on the webpage for the first time. Afterwards, greetings appear only after completion of the given time action value.<\/p>\n\n\n\n<p>If the initial stage is set to &#8216;Close&#8217;, the greetings dialog appears after completion of the given time action value. When Greetings is closed on any page, it reappears after completion of the given time action value.<\/p>\n\n\n\n<p><br><strong>Scroll Action:<\/strong> <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"461\" height=\"113\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-23.webp\" alt=\"\" class=\"wp-image-2994\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-23.webp 461w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-23-300x74.webp 300w\" sizes=\"(max-width: 461px) 100vw, 461px\" \/><\/figure>\n\n\n\n<p>The value entered in the scroll action is taken as the percentage value. The greetings dialog appears after scrolling down the webpage to this value. From the above image, greetings appear after the user scrolls down to 50% of the webpage.<\/p>\n\n\n\n<p>If both time and scroll action values are given at once, then whichever value finishes first will be executed. <\/p>\n\n\n\n<p><strong>Click Action: <\/strong><\/p>\n\n\n\n<p>Add the&nbsp;<strong>\u2018ctc_greetings\u2019<\/strong>&nbsp;class name to any element. When the user clicks on that element, the greetings dialog appears. <\/p>\n\n\n\n<p>Click this button to see the Greetings Click Action Demo <\/p>\n\n\n\n<div class=\"wp-block-buttons ctc_greetings is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button #ctc_greetings\"><a class=\"wp-block-button__link wp-element-button\">Demo \u2013 Click Action<\/a><\/div>\n<\/div>\n\n\n\n<p id=\"block-d55829ce-5874-444d-b1e1-fce26f243752\"><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" id=\"block-ad7ac370-2543-46b0-b8a7-789e3687dc1a\"\/>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"block-0dcd4b62-0066-42ad-b924-33c7ce4730b3\"><strong>Text Editor Tips:<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Toolbar Toggle:<\/strong> To explore all the menus in the text editor, click on the toolbar toggle and customize accordingly.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter\" id=\"block-2a5154c6-35e2-4cbf-b204-c1b6577ba01c\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-12-1.webp\" alt=\"This image has an empty alt attribute; its file name is Untitled-12-1.webp\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Visual\/Text<\/strong>: In these text editors, we can customize the text either visually or by HTML code in the tab \u201cText\u201d.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter\" id=\"block-01a76f87-6e30-4d49-9df1-bb0c53076048\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-13.webp\" alt=\"This image has an empty alt attribute; its file name is Untitled-13.webp\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/pricing\">Buy Now<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Explore More Greetings<\/strong><\/h5>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/greetings-2\/\">Greetings-1: Customizable Design<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/greetings-2\/\">Greetings-2: Content Specific<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/multi-agent\/\">Multi Agent<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/greetings-actions\/\">Greeting Actions &#8211; Click, Scroll and Time Delay<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Greetings Form can make your website visitors fill the form before initiating the chat &nbsp;\ud83d\udd17&nbsp;Included in the PRO plan \u2014&nbsp;View Pricing The Form data filled by the user: Navigate to &#8216;Click to Chat&#8217; \u2014&gt; &#8216;Greetings&#8217; and select &#8216;Greetings Dialog- Form&#8217;. Greetings dialog has 3 rich text editor blocks to construct the text with its toolbar [&hellip;]<\/p>\n","protected":false},"featured_media":0,"parent":0,"menu_order":0,"template":"","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":"","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":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"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":""},"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-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":"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":""},"mobile":{"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":""}},"_htd2_assets":[]},"class_list":["post-6982","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/docs\/6982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/types\/docs"}],"wp:attachment":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/media?parent=6982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}