{"id":321942,"date":"2026-06-10T05:36:15","date_gmt":"2026-06-10T05:36:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/direct-chat-lead-form\/"},"modified":"2026-06-15T05:20:30","modified_gmt":"2026-06-15T05:20:30","slug":"sanirtech-lead-chat-forms","status":"publish","type":"plugin","link":"https:\/\/ja.wordpress.org\/plugins\/sanirtech-lead-chat-forms\/","author":23341160,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.0","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"SanirTech Lead Chat Forms","header_author":"Abdul Nasir","header_description":"Secure, high-converting lead capture form builder with direct chat routing.","assets_banners_color":"121b2d","last_updated":"2026-06-15 05:20:30","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":96,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"abdulnasir1995","date":"2026-06-10 05:48:00"},"1.0.1":{"tag":"1.0.1","author":"abdulnasir1995","date":"2026-06-15 05:20:30"},"1.00":{"tag":"1.00","author":"abdulnasir1995","date":"2026-06-10 05:35:36"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3566849,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3566849,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3566849,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3566849,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.00"],"block_files":[],"assets_screenshots":{"Screenshot-1.png":{"filename":"Screenshot-1.png","revision":3566849,"resolution":"1","location":"assets","locale":"","width":1905,"height":887},"Screenshot-2.png":{"filename":"Screenshot-2.png","revision":3566849,"resolution":"2","location":"assets","locale":"","width":1919,"height":881},"Screenshot-3.png":{"filename":"Screenshot-3.png","revision":3566849,"resolution":"3","location":"assets","locale":"","width":1919,"height":879},"Screenshot-4.png":{"filename":"Screenshot-4.png","revision":3566849,"resolution":"4","location":"assets","locale":"","width":1919,"height":883}},"screenshots":{"1":"Comprehensive settings panel featuring dedicated modules for Business Hours, Pixels tracking, and anti-spam gates.","2":"Lightweight shortcode-driven drag-and-drop form builder canvas featuring multi-agent routing.","3":"Clean local Leads Submission Entries Log showcasing dynamic URL context tracking parameters.","4":"Memory-safe stream buffered CSV Export operations block in action."}},"plugin_section":[],"plugin_tags":[14160,60390,358,337,3160],"plugin_category":[],"plugin_contributors":[247194],"plugin_business_model":[],"class_list":["post-321942","plugin","type-plugin","status-publish","hentry","plugin_tags-chat-widget","plugin_tags-click-to-chat","plugin_tags-contact-form","plugin_tags-lead-generation","plugin_tags-whatsapp","plugin_contributors-abdulnasir1995","plugin_committers-abdulnasir1995"],"banners":{"banner":"https:\/\/ps.w.org\/sanirtech-lead-chat-forms\/assets\/banner-772x250.png?rev=3566849","banner_2x":"https:\/\/ps.w.org\/sanirtech-lead-chat-forms\/assets\/banner-1544x500.png?rev=3566849","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sanirtech-lead-chat-forms\/assets\/icon-128x128.png?rev=3566849","icon_2x":"https:\/\/ps.w.org\/sanirtech-lead-chat-forms\/assets\/icon-256x256.png?rev=3566849","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sanirtech-lead-chat-forms\/assets\/Screenshot-1.png?rev=3566849","caption":"Comprehensive settings panel featuring dedicated modules for Business Hours, Pixels tracking, and anti-spam gates."},{"src":"https:\/\/ps.w.org\/sanirtech-lead-chat-forms\/assets\/Screenshot-2.png?rev=3566849","caption":"Lightweight shortcode-driven drag-and-drop form builder canvas featuring multi-agent routing."},{"src":"https:\/\/ps.w.org\/sanirtech-lead-chat-forms\/assets\/Screenshot-3.png?rev=3566849","caption":"Clean local Leads Submission Entries Log showcasing dynamic URL context tracking parameters."},{"src":"https:\/\/ps.w.org\/sanirtech-lead-chat-forms\/assets\/Screenshot-4.png?rev=3566849","caption":"Memory-safe stream buffered CSV Export operations block in action."}],"raw_content":"<!--section=description-->\n<p>SanirTech Lead Chat Forms is a high-performance, privacy-first conversion plugin designed for modern WordPress environments. Instead of sending anonymous users straight to your instant messaging channels, this plugin embeds clean, native form fields that capture user intent and contact information first.<\/p>\n\n<p>Built strictly according to WordPress Core standards, the codebase is lightweight, secure against cross-site scripting (XSS), and utilizes proper asset enqueuing with a <strong>100% Cache-Proof AJAX Engine<\/strong>. Say goodbye to \"Security check failed\" errors; our background heartbeat safely refreshes security nonces, ensuring absolute compatibility with caching layers like WP Rocket, LiteSpeed, and Cloudflare.<\/p>\n\n<h4>\u26a1 Ecosystem Compatibility Matrix<\/h4>\n\n<p>We respect your existing technical stack. The plugin features out-of-the-box native integrations with:\n*   <strong>Performance Cache Suite:<\/strong> Fully verified and battle-tested alongside WP Rocket, LiteSpeed Cache, Cloudflare Edge Cache, SG Optimizer, W3 Total Cache, and Redis object caching arrays.\n*   <strong>SEO &amp; Structured Data Managers:<\/strong> Built-in semantic graph hooks automatically merge ContactPoint communication schemas securely with <strong>Yoast SEO<\/strong> and <strong>Rank Math<\/strong> to eliminate validation duplication issues on search engine bots.<\/p>\n\n<h3>External Services<\/h3>\n\n<p>This plugin relies on external third-party services to provide robust spam protection (CAPTCHA) mechanisms. These services are only requested if explicitly enabled in the plugin settings and only load on pages where the form shortcode is actively used.<\/p>\n\n<ol>\n<li><strong>Google reCAPTCHA (v2 and v3)<\/strong><\/li>\n<\/ol>\n\n<p>* <strong>What it is:<\/strong> A spam protection service provided by Google to identify malicious bot traffic.\n* <strong>Data sent:<\/strong> The user's IP address and behavioral interaction data on the specific page are sent to Google's APIs (<code>https:\/\/www.google.com\/recaptcha\/api.js<\/code> and <code>https:\/\/www.google.com\/recaptcha\/api\/siteverify<\/code>) to calculate a human-probability score.\n* <strong>Links:<\/strong> <a href=\"https:\/\/policies.google.com\/terms\">Google Terms of Service<\/a> | <a href=\"https:\/\/policies.google.com\/privacy\">Google Privacy Policy<\/a><\/p>\n\n<ol>\n<li><strong>Cloudflare Turnstile<\/strong><\/li>\n<\/ol>\n\n<p>* <strong>What it is:<\/strong> A privacy-first CAPTCHA alternative provided by Cloudflare.\n* <strong>Data sent:<\/strong> The user's IP address and challenge token are sent to Cloudflare's APIs (<code>https:\/\/challenges.cloudflare.com\/turnstile\/v0\/api.js<\/code> and <code>https:\/\/challenges.cloudflare.com\/turnstile\/v0\/siteverify<\/code>) to verify human interaction without cross-site tracking.\n* <strong>Links:<\/strong> <a href=\"https:\/\/www.cloudflare.com\/website-terms\/\">Cloudflare Terms of Service<\/a> | <a href=\"https:\/\/www.cloudflare.com\/privacypolicy\/\">Cloudflare Privacy Policy<\/a><\/p>\n\n<h3>Detailed Core Feature Breakdown<\/h3>\n\n<h4>1. Intuitive Drag-and-Drop Form Builder<\/h4>\n\n<p>Easily construct conversion-optimized forms containing text inputs, emails, numbers, and descriptive text areas. Generate a clean shortcode (e.g., <code>[stlcf_chat_form id=\"X\"]<\/code>) and embed it on any page, post, or widget area.<\/p>\n\n<h4>2. 100% Cache-Proof AJAX Engine<\/h4>\n\n<p>Traditional forms break when static HTML snapshots bypass PHP lifecycle states. Our engine utilizes a background async handler that silently checks, fetches, and replaces expired cryptographic nonces the millisecond a page loads. Forms remain fully active 24\/7 without requiring manual cache purges.<\/p>\n\n<h4>3. Advanced Multi-Layer Antispam Engine<\/h4>\n\n<p>Keep your inboxes clean by choosing your preferred line of defense. The plugin natively integrates with Cloudflare Turnstile, Google reCAPTCHA v2 (Checkboxes), Google reCAPTCHA v3 (Invisible Score Analysis), or a lightweight, stateless native math challenge.<\/p>\n\n<h4>4. Multi-Agent &amp; Department Smart Routing<\/h4>\n\n<p>Enforce automated sales pipeline segmentations. Use our flexible field layout systems to define specific contact targets mapped to custom department tags or regional phone numbers (e.g., <code>Sales Department|919999999999<\/code>).<\/p>\n\n<h4>5. Dual Routing Fallback Workflows<\/h4>\n\n<p>Empower users to choose between instantly opening a direct interactive WhatsApp messaging window or dispatching leads immediately via a native <code>wp_mail()<\/code> server-side routing fallback if they prefer email.<\/p>\n\n<h4>6. Advanced Floating Widget Customization<\/h4>\n\n<p>Deploy a sitewide sticky floating chat bubble complete with custom tooltips (\"Chat with us!\"), prefilled URL WhatsApp messages, custom widget positioning (left\/right), and strict page-specific visibility rules (Sitewide, Homepage only, or Singular posts only).<\/p>\n\n<h4>7. Business Operating Hours &amp; Offline Mode<\/h4>\n\n<p>Map your active working days and timezone. Choose your automated offline enforcement action: Display a customized warning banner, completely hide the sitewide widget, or automatically disable the WhatsApp gateway to force secondary email submissions when you are out of office.<\/p>\n\n<h4>8. Automated SEO Schema Injector<\/h4>\n\n<p>Contextually injects valid JSON-LD <code>ContactPoint<\/code> schema graphs. Instead of throwing loose blocks, we intercept official graph generation arrays\u2014using filters like <code>wpseo_schema_graph_pieces<\/code> for Yoast and <code>rank_math\/json_ld<\/code> for Rank Math\u2014merging data maps flawlessly to pass the Google Rich Results Validation with a 100% Green Score.<\/p>\n\n<h4>9. GDPR Privacy Compliance Guard<\/h4>\n\n<p>Maintain absolute international data compliance parameters. One-click toggle adds a mandatory validation checkbox layout directly inside your active form canvas. Includes a smart content parsing token <code>[privacy_link]<\/code> to dynamically render standard legal hyperlink tags.<\/p>\n\n<h4>10. Dynamic Lead Tracking &amp; Analytics Pixels<\/h4>\n\n<p>Capture UTM parameters (Source\/Medium\/Campaign) alongside the specific Page Title and URL context. Optimize your paid ads by firing asynchronous tracking hooks (Meta <code>fbq<\/code> and GA4 <code>generate_lead<\/code>) with a custom 300ms micro-delay to ensure pixel delivery before WhatsApp redirection occurs.<\/p>\n\n<h4>11. Instant Email Auto-Responder<\/h4>\n\n<p>Build immediate consumer trust. When leads are generated via email, automatically dispatch a personalized confirmation blueprint. Customize your messaging template with high-fidelity dynamic placeholders like <code>[Your Name]<\/code> and <code>[Form Title]<\/code>.<\/p>\n\n<h4>12. Local Database &amp; Memory-Safe CSV Export<\/h4>\n\n<p>Capture and manage all leads locally inside custom, lightweight database tables (<code>wp_stlcf_entries<\/code>). Download hundreds of thousands of leads via an optimized stream buffer (<code>php:\/\/output<\/code>) without hitting server memory exhaustion limits. Customize the look with a granular Triple-Color Matrix for buttons and widgets.<\/p>\n\n<!--section=installation-->\n<h4>A) Minimum Requirements<\/h4>\n\n<ul>\n<li>WordPress Version: 6.0 or higher.<\/li>\n<li>PHP Version: 7.4 or higher.<\/li>\n<li>Database: MySQL 5.6+ \/ MariaDB 10.1+.<\/li>\n<\/ul>\n\n<h4>B) Recommended Requirements<\/h4>\n\n<ul>\n<li>PHP Version: 8.1+ or 8.2+ for optimal memory footprint.<\/li>\n<li>Object Caching: Redis or Memcached active.<\/li>\n<\/ul>\n\n<h4>C) Installation Steps<\/h4>\n\n<ol>\n<li>Navigate to your WordPress admin dashboard, click on <strong>Plugins -&gt; Add New<\/strong>.<\/li>\n<li>Click <strong>Upload Plugin<\/strong> at the top and select the <code>.zip<\/code> file of this plugin.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to the <strong>SanirTech Forms -&gt; Settings<\/strong> menu to configure your global target numbers, operating hours, analytics IDs, and spam protection keys.<\/li>\n<li>Navigate to <strong>Add New<\/strong> to assemble a custom form, copy the output shortcode e.g., <code>[stlcf_chat_form id=\"X\"]<\/code>, and embed it on any page.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20it%20compatible%20with%20caching%20plugins%20and%20server-side%20object%20caching%3F\"><h3>Is it compatible with caching plugins and server-side object caching?<\/h3><\/dt>\n<dd><p>Yes! This is a flagship feature. The plugin uses a dynamic heartbeat to fetch fresh security nonces asynchronously, meaning forms will never break or throw \"security errors\" on cached pages.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20offload%20assets%20or%20inject%20external%20scripts%20on%20every%20page%3F\"><h3>Does this plugin offload assets or inject external scripts on every page?<\/h3><\/dt>\n<dd><p>No. Scripts for Cloudflare Turnstile or Google reCAPTCHA are enqueued dynamically and conditionally. They will only load on pages where the shortcode is actively parsed.<\/p><\/dd>\n<dt id=\"how%20do%20i%20route%20leads%20to%20different%20whatsapp%20numbers%3F\"><h3>How do I route leads to different WhatsApp numbers?<\/h3><\/dt>\n<dd><p>In the form builder, add the \"Agent Dropdown Routing\" field. In the configuration box, simply type your departments and numbers separated by a pipe character, like this: <code>Sales Department|919876543210<\/code>.<\/p><\/dd>\n<dt id=\"will%20the%20automated%20seo%20schema%20duplicate%20my%20existing%20plugin%27s%20schema%3F\"><h3>Will the automated SEO schema duplicate my existing plugin's schema?<\/h3><\/dt>\n<dd><p>No. We actively check for Yoast SEO and Rank Math. If they are running, we inject our ContactPoint data directly into their single JSON-LD graph array to prevent any structural duplicates.<\/p><\/dd>\n<dt id=\"what%20strings%20tokens%20placeholders%20can%20i%20write%20inside%20the%20email%20auto-responder%20message%20textareas%3F\"><h3>What strings tokens placeholders can I write inside the email auto-responder message textareas?<\/h3><\/dt>\n<dd><p>You can write the dynamic shortcodes tokens <code>[Your Name]<\/code> (which parses the corresponding user text input field) and <code>[Form Title]<\/code> (which reflects the exact name attribute assigned to the template layout configurations).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1 (15 June 2026)<\/h4>\n\n<ul>\n<li><strong>Feature:<\/strong> Migrated to a 100% Cache-Proof AJAX form submission engine for seamless compatibility with WP Rocket and Cloudflare.<\/li>\n<li><strong>Feature:<\/strong> Added Multi-Agent Smart Routing via configurable dropdown department selection.<\/li>\n<li><strong>Feature:<\/strong> Introduced Business Operating Hours with automated offline actions (hide widget, force email routing, or show alert banner).<\/li>\n<li><strong>Feature:<\/strong> Added Automated SEO JSON-LD Schema injection with native Yoast SEO and Rank Math compatibility.<\/li>\n<li><strong>Feature:<\/strong> Integrated GDPR Compliance consent checkboxes with dynamic privacy policy link tokens.<\/li>\n<li><strong>Feature:<\/strong> Added Advanced Page Tracking to capture URLs, Post IDs, and UTM Source\/Medium\/Campaign parameters.<\/li>\n<li><strong>Feature:<\/strong> Built-in Conversion Analytics support for Meta (Facebook) Pixel and Google Analytics 4 (GA4) with async event tracking.<\/li>\n<li><strong>Feature:<\/strong> Upgraded Floating Widget with custom tooltip pop-ups, prefilled text messages, and dynamic page visibility rules.<\/li>\n<li><strong>Feature:<\/strong> Added Instant Auto-Responder dispatch for email submissions featuring dynamic <code>[Your Name]<\/code> tokens.<\/li>\n<li><strong>Feature:<\/strong> Rolled out a Memory-Safe CSV Streaming Exporter for handling massive lead logs without server timeouts.<\/li>\n<li><strong>Fix:<\/strong> Resolved a parallel execution loop causing duplicate entries in the local database upon submission.<\/li>\n<li><strong>Fix:<\/strong> Corrected an administrative 404 routing error on the CSV export download action link.<\/li>\n<li><strong>Fix:<\/strong> Patched isolated PHP fatal crashes related to <code>isset()<\/code> expression structures and <code>$wpdb<\/code> dynamic syntax strings.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<li>Introduced a lightweight drag-and-drop form builder for capturing leads.<\/li>\n<li>Added secure local database storage for logging all form submissions.<\/li>\n<li>Implemented dual routing: Direct app redirect and Email fallback method.<\/li>\n<li>Added a customizable sitewide floating chat widget.<\/li>\n<li>Integrated multi-layer spam protection including Math Captcha, Cloudflare Turnstile, and Google reCAPTCHA v2\/v3.<\/li>\n<li>Built full shortcode support for seamless embedding across posts, pages, and widgets.<\/li>\n<\/ul>","raw_excerpt":"Securely capture leads locally before routing to instant messaging or email. 100% Cache-Proof, offline hours, and SEO optimized.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/321942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=321942"}],"author":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/abdulnasir1995"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=321942"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=321942"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=321942"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=321942"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=321942"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=321942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}