🗺 خريطة القمع الكاملة
Khuzama Ceram — Funnel Mind Map — v2.0
🔁 مسار القمع — Conversion Flow
/ — TrustIntro
VSL + Trust
/qualification — Quiz (8 خطوات)
Progressive tracking
/recommendations — النتيجة
Top 1 product match
/product/:slug — صفحة المنتج
Order form + WhatsApp
/thank-you — شكرًا
Order confirmation
📄 الصفحات — Pages
/▼/qualification▼/recommendations▼/product/:slug▼/thank-you▼/guide▼/products▼/admin/products▼🧩 خطوات الاستبيان — Quiz Steps (8 steps)
| # | المفتاح | السؤال | النوع | الخيارات | التقدم | البيانات المحفوظة | ملاحظات |
|---|---|---|---|---|---|---|---|
| 1 | nano_tech | تقنية Nano؟ | NanoStep | نعم — مع Nano / لا — بدون Nano | auto | nano_tech | — |
| 2 | number_of_bowls | حوض واحد أو اثنين؟ | BowlVisualStep | حوض واحد / حوضين | auto | number_of_bowls | — |
| 3 | color_preference | واش اللون اللي تفضلو؟ | ColorStep | Noir (أسود) / Chromé (فضي) / ساعدني | auto | color_preference | — |
| 4 | kitchen_size | حجم المطبخ + المقاس | KitchenSizeStep | صغير / عادي / واسع / ما نعرفش | auto after dim | kitchen_size + kitchen_dimension | Expands dimension picker on size select |
| 5 | pain_points | واش يقلقك في الـ évier؟ | EmojiGridStep | Multi-select × 8 | manual Next | pain_points | min 1 |
| 6 | desires | واش تحب تلقى؟ | EmojiGridStep | Multi-select × 8 | manual Next | desires | min 1 |
| 7 | budget_tier | واش هي ميزانيتك؟ | BudgetStep | < 15k DA / 15–20k DA / > 20k DA | auto | budget_tier | — |
| 8 | contact | الاسم + الهاتف + الولاية | ContactStep | Text inputs + Wilaya dropdown | Submit | Lead entity created | name + phone + wilaya required |
UX الخاصة بـ KitchenSizeStep (الجديدة):
- • المستخدم يختار الحجم → يظهر picker للمقاسات المتوفرة من قاعدة البيانات
- • "ما نعرفش المقاس بالضبط" → يحفظ unknown_small / unknown_medium / unknown_large
- • "نبدل حجم الكوزينة" → يعود لاختيار الحجم (collapse)
- • حقلان محفوظان:
kitchen_size+kitchen_dimension
🤖 محرك التوصيات — Recommendation Engine
Budget filter
low ≤14999 / mid 15k–20k / high ≥20k
Basin filter
Single vs double from number_of_bowls
Color filter
Noir or Chrome from color_preference
Dimension (exact)
If kitchen_dimension = e.g. '60x45' → filter products by exact dim
Size fallback
If no exact dim: small → size=small / medium → small+medium / large → all
Scoring
Pain points + desires match nano/basin/size/piano type → score
Sort
Highest score wins. Tie-break: higher price
Fallback chain
Empty pool → relax size → relax color → relax budget
⭐ منطق kitchen_dimension الجديد:
إذا المستخدم اختار مقاسًا دقيقًا (مثل 60x45) → نفلتر المنتجات بالمقاس الدقيق أولًا ونتجاهل kitchen_size. هذا يعطي نتائج أكثر دقة.
🗄 قاعدة البيانات — Entities
Lead Entity
Product Entity
PRODUCT_DB المحلي في lib/recommendationEngine.js — وليس من قاعدة البيانات مباشرة. المنتجات في /product/:slug تأتي من Product entity.🎨 نظام الألوان والـ UI
Brand Purple
#382D72Primary, headings, CTAs, progress bar
Gold CTA
#D4AF37Page 1 main CTAs only — premium feel
Off-white BG
#FBFAF7Quiz background
Body text dark
#3D3D3DAll readable body text
Body dark blue
#1A1A2EHeadings, strong text
Secondary text
#5A5A5ASublabels, helper text (readable)
Accent blue
#899ED7Borders, subtle accents
Light BG card
#F3F1FASelected cards, expanded sections
Font
Cairo (Google Fonts)All Arabic text — RTL
📊 التتبع — Tracking & Analytics
timestamp_first_interactionQ1–Q7 answersform_completed=yessuggested_product_1fbq('Lead')sessionStorage quiz_completed