Marketing التسويق 8 min 8 دقائق

Proactive Chat Triggers بادئات الدردشة التلقائية

Set rules that make your bot send the first message automatically based on visitor behaviour — time on page, scroll, exit intent, and more. ضع قواعد تجعل بوتك يرسل الرسالة الأولى تلقائياً بناءً على سلوك الزائر — الوقت على الصفحة والتمرير ونية المغادرة والمزيد.

Chat Triggers let your bot initiate the conversation instead of waiting for the visitor to click the chat bubble. A well-timed trigger — "Spent 30 seconds on the pricing page? Need help?" — can significantly increase engagement and conversion rate.

Scope: Triggers are evaluated client-side inside the JavaScript widget. They apply to every page where your widget is embedded. They do not apply to WhatsApp, Telegram, Slack, or direct API integrations.

Trigger Types

1
TypeWhen it firesCondition
Time on PageVisitor has been on the page for N secondsseconds (e.g. 30)
Exit IntentMouse leaves the top of the viewport (desktop)— none —
Scroll DepthVisitor scrolls past N% of the pagepercent (e.g. 60)
InactivityNo mouse/key/touch activity for N secondsseconds (e.g. 90)
Page URLCurrent URL contains a specific patternURL substring (e.g. /pricing)

Creating a Trigger

2

Go to Chat Triggers in the sidebar and click New Trigger. Fill in:

  • Name — internal label (e.g. "Pricing Page 30s")
  • Type — choose one of the five trigger types above
  • Condition — set the threshold (seconds / percent / URL pattern)
  • URL Pattern (optional) — scope the trigger to a specific page (e.g. /pricing). Leave blank to apply on all pages.
  • Message (English) — the proactive message the bot will send
  • Message (Arabic) — optional Arabic version shown to Arabic-browser visitors
  • Cooldown (hours) — how long before the same trigger fires again for the same visitor (stored in localStorage). Default: 24h.

Best Practices

3
  • 🎯 Scope to pages that matter — a pricing page trigger is far more effective than a homepage one.
  • ⏱️ Don't rush it — 30+ seconds is usually right for "Time on Page". Too fast feels intrusive.
  • 📱 Exit intent is desktop-only — mobile browsers don't emit the mouseleave event. Use scroll depth or inactivity instead for mobile-heavy audiences.
  • 💬 Keep the message short and open-ended — "Have a question about pricing? I'm here 😊" works better than a wall of text.
  • 🔁 Cooldown prevents fatigue — set 24h cooldown so returning visitors aren't bombarded.

تتيح لك بادئات الدردشة أن يبدأ بوتك المحادثة بدلاً من انتظار الزائر ليضغط على فقاعة الدردشة. بادئة في الوقت المناسب — "قضيت 30 ثانية على صفحة التسعير؟ تحتاج مساعدة؟" — يمكن أن ترفع معدل التفاعل والتحويل بشكل ملحوظ.

النطاق: تُقيَّم البادئات من طرف العميل داخل ويدجت JavaScript. تنطبق على كل صفحة مُضمَّن فيها ويدجتك. لا تنطبق على WhatsApp أو Telegram أو Slack أو تكاملات API المباشرة.

أنواع البادئات

1
النوعمتى تُطلَقالشرط
الوقت على الصفحةالزائر على الصفحة N ثانيةثوانٍ (مثل 30)
نية المغادرةالماوس يغادر أعلى الصفحة (حاسوب فقط)— لا شيء —
عمق التمريرالزائر يتمرر لأكثر من N% من الصفحةنسبة مئوية (مثل 60)
عدم النشاطلا حركة ماوس/لوحة مفاتيح/لمس لـ N ثانيةثوانٍ (مثل 90)
رابط الصفحةURL الحالي يحتوي على نمط محددجزء من URL (مثل /pricing)

إنشاء بادئة

2

اذهب إلى بادئات الدردشة في الشريط الجانبي واضغط بادئة جديدة. أدخل:

  • الاسم — تسمية داخلية (مثل "صفحة التسعير 30 ثانية")
  • النوع — اختر أحد الأنواع الخمسة أعلاه
  • الشرط — حدد العتبة (ثوانٍ / نسبة / نمط URL)
  • نمط URL (اختياري) — حصر البادئة على صفحة معينة (مثل /pricing). اتركه فارغاً لتطبيقه على جميع الصفحات.
  • الرسالة (إنجليزي) — الرسالة الاستباقية التي سيرسلها البوت
  • الرسالة (عربي) — نسخة عربية اختيارية تُظهر لزوار المتصفح العربي
  • فترة الراحة (ساعات) — المدة قبل إعادة تشغيل نفس البادئة للزائر ذاته (مُخزَّنة في localStorage). الافتراضي: 24 ساعة.

أفضل الممارسات

3
  • 🎯 حصّر على الصفحات المهمة — بادئة صفحة التسعير أفعل بكثير من بادئة الصفحة الرئيسية.
  • ⏱️ لا تتعجّل — 30 ثانية أو أكثر هو المناسب عادةً لـ "الوقت على الصفحة". السرعة الزائدة تشعر بالإلحاح.
  • 📱 نية المغادرة للحاسوب فقط — متصفحات الجوال لا تُصدر حدث mouseleave. استخدم عمق التمرير أو عدم النشاط للجماهير التي تستخدم الجوال أكثر.
  • 💬 اجعل الرسالة قصيرة ومفتوحة — "عندك سؤال عن الأسعار؟ أنا هنا 😊" أفضل من فقرة طويلة.
  • 🔁 فترة الراحة تمنع الإزعاج — اضبط 24 ساعة حتى لا يُقصف الزوار العائدون بالرسائل.

Ready to build your AI agent?

Start your free trial and put what you've learned into practice.

Start Free Trial

جاهز لبناء وكيل AI خاص بك؟

ابدأ تجربتك المجانية وطبّق ما تعلّمته.

ابدأ مجاناً
Ready to automate your support? Start free — no credit card required
Start Free
Try Voice AI