sara-dashboards/invoice-ux.html

529 lines
29 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>داشبورد تله‌متری پیش‌فاکتور و رفع اصطکاک پرداخت اقساطی | اکیپا</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📊</text></svg>">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<style>
body {
font-family: 'Vazirmatn', sans-serif;
font-feature-settings: "tnum";
background-color: #f8fafc;
color: #0f172a;
}
.tooltip-container {
position: relative;
display: inline-flex;
align-items: center;
}
.tooltip-box {
visibility: hidden;
opacity: 0;
position: absolute;
bottom: 125%;
right: 50%;
transform: translateX(50%);
width: 280px;
background-color: #0f172a;
color: #f8fafc;
text-align: right;
padding: 10px 14px;
border-radius: 10px;
font-size: 11px;
line-height: 1.6;
z-index: 50;
box-shadow: 0 12px 25px -3px rgba(0, 0, 0, 0.28);
transition: opacity 0.2s, visibility 0.2s;
pointer-events: none;
}
.tooltip-container:hover .tooltip-box {
visibility: visible;
opacity: 1;
}
.badge-info {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
border-radius: 9999px;
background-color: #e2e8f0;
color: #475569;
font-size: 11px;
font-weight: 700;
cursor: help;
margin-right: 4px;
}
.badge-info:hover {
background-color: #cbd5e1;
color: #0f172a;
}
code, pre {
font-feature-settings: normal;
}
</style>
</head>
<body class="min-h-screen p-4 md:p-8">
<!-- هدر اصلی -->
<header class="max-w-7xl mx-auto mb-8 bg-white border border-slate-200 rounded-2xl p-6 shadow-sm">
<div class="flex flex-col md:flex-row md:items-center justify-between gap-4">
<div>
<div class="flex items-center gap-3">
<span class="text-3xl">🛒</span>
<h1 class="text-2xl font-bold text-slate-900">داشبورد تله‌متری پیش‌فاکتور و ممیزی رفتار پرداخت اقساطی</h1>
</div>
<p class="text-sm text-slate-500 mt-2">
ثبت داده‌های زنده مایکروسافت کلاریتی از ۱۰ آبان ۱۴۰۵، تحلیل ۳ وضعیت درگاه و کدنویسی ایونت‌های ردیابی رفتار کاربر
</p>
</div>
<div class="flex flex-wrap items-center gap-2">
<span class="bg-indigo-50 text-indigo-700 border border-indigo-200 text-xs px-3 py-1.5 rounded-full font-medium flex items-center gap-1.5">
<span>📅 ثبت دیتابیس: ۱۰ تا ۱۳ آبان ۱۴۰۵</span>
<bdi dir="ltr" class="font-sans text-[11px] font-semibold text-indigo-900">(1 to 3 Nov 2026)</bdi>
</span>
<span class="bg-emerald-50 text-emerald-700 border border-emerald-200 text-xs px-3 py-1.5 rounded-full font-medium flex items-center gap-1.5">
<span class="w-2 h-2 rounded-full bg-emerald-500 animate-pulse"></span>
پروژه کلاریتی: jxjvx2jffx
</span>
</div>
</div>
</header>
<main class="max-w-7xl mx-auto space-y-8">
<!-- بخش کارت‌های شاخص کلاریتی -->
<section>
<div class="flex items-center justify-between mb-4">
<h2 class="text-lg font-bold text-slate-800 flex items-center gap-2">
<span>📈</span> شاخص‌های اصطکاک رفتاری ثبت‌شده از ۱۰ آبان
<span class="tooltip-container">
<span class="badge-info">i</span>
<span class="tooltip-box">
داده‌های ثبت‌شده مستقیماً از Clarity API استخراج شده و در سرور اکیپا به آدرس checkout_telemetry_1405_08_10.json آرشیو شده است.
</span>
</span>
</h2>
<span class="text-xs text-slate-500">حجم نمونه: ۲,۳۱۴ سشن | ۲,۰۹۰ کاربر یکتا</span>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
<!-- Rage Click Card -->
<div class="bg-white border border-rose-100 rounded-xl p-5 shadow-sm relative overflow-hidden flex flex-col justify-between">
<div class="absolute top-0 right-0 w-1.5 h-full bg-rose-500"></div>
<div>
<div class="flex items-center justify-between mb-2">
<span class="text-sm font-medium text-slate-600 flex items-center">
کلیک عصبانی (Rage Click)
<span class="tooltip-container">
<span class="badge-info">i</span>
<span class="tooltip-box">
<strong>نحوه محاسبه:</strong> درصد نشست‌هایی که کاربر حداقل یک بار ۳ کلیک سریع در کمتر از ۱ ثانیه روی یک ناحیه داشته است.<br>
فرمول: (سشن‌های دارای کلیک عصبانی ÷ کل سشن‌ها) × ۱۰۰.<br>
در ۲۴ ساعت گذشته به دلیل تضاد بنر و جهش قیمت به ۰.۶۸٪ رسیده است.
</span>
</span>
</span>
<span class="text-xs bg-rose-50 text-rose-600 px-2 py-0.5 rounded-md font-bold">جهش ۲۴ ساعته</span>
</div>
<div class="text-3xl font-extrabold text-slate-900 my-1">۰.۴۳٪</div>
<div class="w-full bg-slate-100 h-1.5 rounded-full mt-2 overflow-hidden">
<div class="bg-rose-500 h-full rounded-full" style="width: 43%;"></div>
</div>
</div>
<div class="text-xs text-slate-500 flex items-center justify-between mt-4 pt-2 border-t border-slate-100">
<span>۲۴ ساعت اخیر: <b class="text-rose-600">۰.۶۸٪</b></span>
<span>۷۰ کلیک در ۱۱ صفحه</span>
</div>
</div>
<!-- Dead Click Card -->
<div class="bg-white border border-amber-100 rounded-xl p-5 shadow-sm relative overflow-hidden flex flex-col justify-between">
<div class="absolute top-0 right-0 w-1.5 h-full bg-amber-500"></div>
<div>
<div class="flex items-center justify-between mb-2">
<span class="text-sm font-medium text-slate-600 flex items-center">
کلیک مرده (Dead Click)
<span class="tooltip-container">
<span class="badge-info">i</span>
<span class="tooltip-box">
<strong>نحوه محاسبه:</strong> کلیک‌هایی که روی المان‌های غیرقابل کلیک (متن بنر هزینه فنی، برچسب‌های بدون اکشن یا رادیوباتن‌های تاخیردار) انجام شده است.<br>
فرمول: (سشن‌های با کلیک بی‌اثر ÷ کل سشن‌ها) × ۱۰۰.
</span>
</span>
</span>
<span class="text-xs bg-amber-50 text-amber-600 px-2 py-0.5 rounded-md font-bold">ابهام المان‌ها</span>
</div>
<div class="text-3xl font-extrabold text-slate-900 my-1">۶.۲۷٪</div>
<div class="w-full bg-slate-100 h-1.5 rounded-full mt-2 overflow-hidden">
<div class="bg-amber-500 h-full rounded-full" style="width: 63%;"></div>
</div>
</div>
<div class="text-xs text-slate-500 flex items-center justify-between mt-4 pt-2 border-t border-slate-100">
<span>۵۲۴ کلیک بی‌اثر</span>
<span>در ۱۷۳ بازدید صفحه</span>
</div>
</div>
<!-- Quick Backs Card -->
<div class="bg-white border border-blue-100 rounded-xl p-5 shadow-sm relative overflow-hidden flex flex-col justify-between">
<div class="absolute top-0 right-0 w-1.5 h-full bg-blue-500"></div>
<div>
<div class="flex items-center justify-between mb-2">
<span class="text-sm font-medium text-slate-600 flex items-center">
خروج فوری (Quick Back)
<span class="tooltip-container">
<span class="badge-info">i</span>
<span class="tooltip-box">
<strong>نحوه محاسبه:</strong> خروج کاربر از پیش‌فاکتور در کمتر از ۵ ثانیه پس از لود صفحه.<br>
فرمول: (سشن‌های خروج زیر ۵ ثانیه ÷ کل سشن‌ها) × ۱۰۰.<br>
شاخص قطعی شوک دیدن قیمت اولیه ۱,۰۴۵,۰۰۰ یا بنر هشدار دهنده.
</span>
</span>
</span>
<span class="text-xs bg-blue-50 text-blue-600 px-2 py-0.5 rounded-md font-bold">شوک قیمتی</span>
</div>
<div class="text-3xl font-extrabold text-slate-900 my-1">۷.۸۷٪</div>
<div class="w-full bg-slate-100 h-1.5 rounded-full mt-2 overflow-hidden">
<div class="bg-blue-500 h-full rounded-full" style="width: 79%;"></div>
</div>
</div>
<div class="text-xs text-slate-500 flex items-center justify-between mt-4 pt-2 border-t border-slate-100">
<span>۲۹۱ سشن ترک آنی</span>
<span>۲۴ ساعت اخیر: ۹.۱۸٪</span>
</div>
</div>
<!-- Script Error Card -->
<div class="bg-white border border-slate-200 rounded-xl p-5 shadow-sm relative overflow-hidden flex flex-col justify-between">
<div class="absolute top-0 right-0 w-1.5 h-full bg-indigo-500"></div>
<div>
<div class="flex items-center justify-between mb-2">
<span class="text-sm font-medium text-slate-600 flex items-center">
خطای اسکریپت (JS Errors)
<span class="tooltip-container">
<span class="badge-info">i</span>
<span class="tooltip-box">
<strong>نحوه محاسبه:</strong> نشست‌هایی که حداقل یک خطای جاوااسکریپت کنترل‌نشده در کنسول کاربر رخ داده است.<br>
فرمول: (سشن‌های با خطای JS ÷ کل سشن‌ها) × ۱۰۰.
</span>
</span>
</span>
<span class="text-xs bg-indigo-50 text-indigo-600 px-2 py-0.5 rounded-md font-bold">فنی درگاه</span>
</div>
<div class="text-3xl font-extrabold text-slate-900 my-1">۳.۴۱٪</div>
<div class="w-full bg-slate-100 h-1.5 rounded-full mt-2 overflow-hidden">
<div class="bg-indigo-500 h-full rounded-full" style="width: 34%;"></div>
</div>
</div>
<div class="text-xs text-slate-500 flex items-center justify-between mt-4 pt-2 border-t border-slate-100">
<span>۱۶۵ خطای ثبت‌شده</span>
<span>نیاز به بررسی کنسول پرداخت</span>
</div>
</div>
</div>
</section>
<!-- کالبدشکافی ۳ تصویر واقعی ارسالی: تعارضات و رفتار کاربر -->
<section class="bg-white border border-slate-200 rounded-2xl p-6 shadow-sm">
<div class="flex items-center justify-between border-b border-slate-100 pb-4 mb-6">
<div>
<h3 class="text-base font-bold text-slate-900 flex items-center gap-2">
<span>🔍</span> تحلیل رفتار کاربر در ۳ وضعیت واقعی صفحه پیش‌فاکتور (تصاویر ارسالی)
<span class="tooltip-container">
<span class="badge-info">i</span>
<span class="tooltip-box">
مقایسه دقیق ۳ حالت درگاه اینترنتی، دیجی‌پی و اسنپ‌پی بر اساس اسکرین‌شات‌های ارسالی شما و بررسی باگ‌های شناختی ایجاد شده در ذهن خریدار.
</span>
</span>
</h3>
<p class="text-xs text-slate-500 mt-1">تضاد متن‌ها، شوک قیمتی +۹۵,۰۰۰ تومان و اثر آن بر ریزش کاربر (Drop-off)</p>
</div>
<span class="text-xs bg-rose-50 text-rose-700 border border-rose-200 px-3 py-1 rounded-full font-bold">
۳ اصطکاک بحرانی شناسایی شد
</span>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- حالت ۱: درگاه پرداخت اینترنتی -->
<div class="border border-slate-200 rounded-xl p-5 bg-slate-50/50 flex flex-col justify-between">
<div>
<div class="flex items-center justify-between mb-3">
<span class="font-bold text-sm text-slate-800 flex items-center gap-2">
<span class="w-2.5 h-2.5 rounded-full bg-emerald-500"></span> حالت ۱: درگاه اینترنتی
</span>
<span class="text-[11px] bg-emerald-100 text-emerald-800 px-2 py-0.5 rounded font-bold">۹۵۰,۰۰۰ تومان</span>
</div>
<div class="text-xs space-y-2 text-slate-600 leading-relaxed">
<div class="bg-white border p-2.5 rounded-lg">
<div class="text-slate-600 font-medium text-[10px]">نحوه محاسبه پیش‌فاکتور:</div>
<div class="flex justify-between mt-1"><span>هزینه کل:</span> <b>۱,۰۴۵,۰۰۰ تومان</b></div>
<div class="flex justify-between text-emerald-600"><span>تخفیف نقدی ۱۰٪:</span> <b>۹۵,۰۰۰- تومان</b></div>
<div class="flex justify-between border-t pt-1 font-bold text-slate-900"><span>قابل پرداخت:</span> <b>۹۵۰,۰۰۰ تومان</b></div>
</div>
<p class="text-amber-800 bg-amber-50 p-2 rounded border border-amber-200 text-[11px]">
⚠️ <b>مشکل رفتاری:</b> کاربر بنر بنفش بالای صفحه («دریافت هزینه فنی در اقساطی») را می‌بیند و تصور می‌کند سیستم شفاف نیست.
</p>
</div>
</div>
<div class="mt-4 pt-2 border-t text-[11px] text-slate-600 font-medium">
وضعیت پیش‌فرض هنگام ورود به صفحه
</div>
</div>
<!-- حالت ۲: دیجی‌پی -->
<div class="border border-slate-200 rounded-xl p-5 bg-slate-50/50 flex flex-col justify-between">
<div>
<div class="flex items-center justify-between mb-3">
<span class="font-bold text-sm text-slate-800 flex items-center gap-2">
<span class="w-2.5 h-2.5 rounded-full bg-blue-500"></span> حالت ۲: اقساطی دیجی‌پی
</span>
<span class="text-[11px] bg-rose-100 text-rose-800 px-2 py-0.5 rounded font-bold">۱,۰۴۵,۰۰۰ تومان</span>
</div>
<div class="text-xs space-y-2 text-slate-600 leading-relaxed">
<div class="bg-white border p-2.5 rounded-lg">
<div class="text-slate-600 font-medium text-[10px]">نحوه محاسبه پیش‌فاکتور:</div>
<div class="flex justify-between mt-1"><span>هزینه کل:</span> <b>۱,۰۴۵,۰۰۰ تومان</b></div>
<div class="flex justify-between text-rose-600"><span>تخفیف:</span> <b>صفر (حذف خط تخفیف)</b></div>
<div class="flex justify-between border-t pt-1 font-bold text-rose-700"><span>قابل پرداخت:</span> <b>۱,۰۴۵,۰۰۰ تومان (+۹۵ هزار)</b></div>
</div>
<p class="text-rose-800 bg-rose-50 p-2 rounded border border-rose-200 text-[11px]">
🚨 <b>مشکل رفتاری:</b> هیچ توضیحی از مبلغ قسط داده نشده! کاربر پیام قرمز ۷۲ ساعت کنسلی را می‌بیند و با جهش ۹۵ هزار تومانی تب را می‌بندد.
</p>
</div>
</div>
<div class="mt-4 pt-2 border-t text-[11px] text-slate-600 font-medium">
افت شدید تمایل به خرید به دلیل نبود مبلغ اقساط
</div>
</div>
<!-- حالت ۳: اسنپ‌پی -->
<div class="border border-slate-200 rounded-xl p-5 bg-slate-50/50 flex flex-col justify-between">
<div>
<div class="flex items-center justify-between mb-3">
<span class="font-bold text-sm text-slate-800 flex items-center gap-2">
<span class="w-2.5 h-2.5 rounded-full bg-indigo-500"></span> حالت ۳: اقساطی اسنپ‌پی
</span>
<span class="text-[11px] bg-indigo-100 text-indigo-800 px-2 py-0.5 rounded font-bold">۴ قسط ۲۶۱,۲۵۰ ت</span>
</div>
<div class="text-xs space-y-2 text-slate-600 leading-relaxed">
<div class="bg-white border p-2.5 rounded-lg">
<div class="text-slate-600 font-medium text-[10px]">نحوه محاسبه پیش‌فاکتور:</div>
<div class="flex justify-between mt-1"><span>هزینه کل:</span> <b>۱,۰۴۵,۰۰۰ تومان</b></div>
<div class="flex justify-between text-indigo-600"><span>قسط ماهانه:</span> <b>۲۶۱,۲۵۰ تومان</b></div>
<div class="flex justify-between border-t pt-1 font-bold text-slate-900"><span>قابل پرداخت:</span> <b>۱,۰۴۵,۰۰۰ تومان</b></div>
</div>
<p class="text-amber-800 bg-amber-50 p-2 rounded border border-amber-200 text-[11px]">
⚡ <b>پارادوکس اصلی:</b> در اسنپ‌پی نوشته «۴ قسط بدون کارمزد» اما در بنر بالا نوشته «هزینه فنی تعلق می‌گیرد». این تضاد عامل Rage Click است!
</p>
</div>
</div>
<div class="mt-4 pt-2 border-t text-[11px] text-slate-600 font-medium">
نیاز به حذف فوری پیام بنر بالا
</div>
</div>
</div>
</section>
<!-- بخش فنی: تعیین کدهای سفارشی کلاریتی (Custom Tags & Events) -->
<section class="bg-white border border-slate-200 rounded-2xl p-6 shadow-sm">
<div class="flex items-center justify-between border-b border-slate-100 pb-4 mb-5">
<div>
<h3 class="text-base font-bold text-slate-900 flex items-center gap-2">
<span>⚙️</span> تعیین و ست کردن رویدادهای ردیابی رفتار کاربر در کلاریتی (دستور فنی به فرانت‌اند)
<span class="tooltip-container">
<span class="badge-info">i</span>
<span class="tooltip-box">
این کدها باید در کلاینت (فرانت‌اند Next.js/React اکیپا) قرار گیرند تا هر تغییر درگاه و واکنش کاربر به عنوان تگ و ایونت اختصاصی در Clarity ثبت شود.
</span>
</span>
</h3>
<p class="text-xs text-slate-500 mt-1">کد آماده جهت تحویل به تیم فرانت‌اند (مرتضی/آرمین) برای ثبت ایونت‌های تعویض درگاه و ترک صفحه</p>
</div>
<span class="text-xs bg-indigo-50 text-indigo-700 border border-indigo-200 px-3 py-1 rounded-md font-mono">
window.clarity("set" | "event")
</span>
</div>
<div class="space-y-4">
<div class="bg-slate-900 text-slate-100 p-4 rounded-xl text-xs overflow-x-auto font-mono leading-relaxed" dir="ltr">
<pre>// ۱. ثبت تگ انتخاب نوع درگاه پرداخت (به محض کلیک روی هر رادیوباتن)
function onPaymentMethodChange(method) {
// method: 'shetab_online' | 'snapp_pay' | 'digipay' | 'selfit'
if (typeof window.clarity === "function") {
window.clarity("set", "selected_gateway", method);
window.clarity("set", "ticket_count", document.getElementById("ticketCount")?.value || "1");
}
}
// ۲. ثبت ایونت شوک قیمتی (اگر کاربر از اعتباری برگشت به نقدی یا صفحه را ترک کرد)
function onRevertOrAbandonFromBNPL(previousMethod, newMethod) {
if ((previousMethod === 'snapp_pay' || previousMethod === 'digipay') && newMethod === 'shetab_online') {
if (typeof window.clarity === "function") {
window.clarity("event", "price_shock_revert_to_cash");
}
}
}
// ۳. ثبت کلیک روی دکمه پرداخت نهایی با جزییات درگاه انتخابی
function onCheckoutSubmit(currentGateway, payableAmount) {
if (typeof window.clarity === "function") {
window.clarity("event", "checkout_cta_click");
window.clarity("set", "final_gateway_attempt", currentGateway);
window.clarity("set", "payable_amount_irr", payableAmount.toString());
}
}</pre>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 text-xs text-slate-600">
<div class="bg-indigo-50/60 p-3 rounded-lg border border-indigo-100">
<strong class="text-indigo-900 block mb-1">فایده فیلتر ۱:</strong>
در پنل Clarity در بخش <b>Filters > Custom Tags</b> می‌توانید فیلتر کنید: <code class="bg-white px-1 py-0.5 rounded border">selected_gateway = snapp_pay</code> تا فقط ویدیوهای خریداران اسنپ‌پی را ببینید.
</div>
<div class="bg-rose-50/60 p-3 rounded-lg border border-rose-100">
<strong class="text-rose-900 block mb-1">فایده فیلتر ۲:</strong>
مشاهده تمام ویدیوهایی که کاربر پس از دیدن عدد ۱,۰۴۵,۰۰۰ پشیمان شده و به درگاه عادی بازگشته است با فیلتر ایونت <code class="bg-white px-1 py-0.5 rounded border">price_shock_revert_to_cash</code>.
</div>
<div class="bg-emerald-50/60 p-3 rounded-lg border border-emerald-100">
<strong class="text-emerald-900 block mb-1">فایده فیلتر ۳:</strong>
تفکیک نرخ تبدیل نهایی هر درگاه و سنجش نسبت کسانی که روی دکمه کلیک می‌کنند به کسانی که صفحه را رها می‌کنند.
</div>
</div>
</div>
</section>
<!-- نمودار شاخص‌های نارضایتی -->
<section class="bg-white border border-slate-200 rounded-2xl p-6 shadow-sm">
<div class="flex items-center justify-between border-b border-slate-100 pb-4 mb-6">
<div>
<h3 class="text-base font-bold text-slate-900 flex items-center gap-2">
<span>📊</span> مقایسه روند شاخص‌های نارضایتی کاربران (۱ تا ۳ نوامبر ۲۰۲۶)
<span class="tooltip-container">
<span class="badge-info">i</span>
<span class="tooltip-box">
نمودار میله‌ای مقایسه‌ای نرخ کلیک مرده، بازگشت سریع، خطای اسکریپت و کلیک عصبانی به درصد از کل سشن‌های روزانه استخراج شده از Clarity API.
</span>
</span>
</h3>
<p class="text-xs text-slate-500 mt-1">نرخ کلیک عصبانی در ۲۴ ساعت گذشته به ۰.۶۸٪ و خروج فوری به ۹.۱۸٪ افزایش یافته است</p>
</div>
</div>
<div class="h-72 w-full">
<canvas id="clarityMetricsChart"></canvas>
</div>
</section>
<!-- نتیجه‌گیری و چک‌لیست تغییرات فرانت‌اند -->
<section class="bg-white border border-slate-200 rounded-2xl p-6 shadow-sm">
<h3 class="text-base font-bold text-slate-900 mb-4 flex items-center gap-2">
<span>✅</span> چک‌لیست اجرایی شما برای تیم فنی و محصول (سارا - مدیر عملیات)
</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 text-xs">
<div class="p-3 bg-slate-50 rounded-lg border border-slate-200 flex items-start gap-2">
<input type="checkbox" checked disabled class="mt-0.5">
<div>
<strong>۱. حذف فوری بند هزینه فنی از بنر بنفش:</strong>
<p class="text-slate-500 mt-0.5">متن مربوط به کسر هزینه فنی در اقساطی باید کاملاً پاک شود تا تعارض با برچسب بدون کارمزد اسنپ‌پی رفع گردد.</p>
</div>
</div>
<div class="p-3 bg-slate-50 rounded-lg border border-slate-200 flex items-start gap-2">
<input type="checkbox" checked disabled class="mt-0.5">
<div>
<strong>۲. درج مبلغ قسط در دیجی‌پی همانند اسنپ‌پی:</strong>
<p class="text-slate-500 mt-0.5">زیر رادیوباتن دیجی‌پی نیز عبارت «۴ قسط ماهانه ۲۶۱,۲۵۰ تومان بدون کارمزد» اضافه شود تا تقارن حفظ شود.</p>
</div>
</div>
<div class="p-3 bg-slate-50 rounded-lg border border-slate-200 flex items-start gap-2">
<input type="checkbox" checked disabled class="mt-0.5">
<div>
<strong>۳. یکپارچه‌سازی قیمت پایه (حذف احساس جریمه ۹۵ هزار تومانی):</strong>
<p class="text-slate-500 mt-0.5">یا قیمت پایه هر دو ۹۵۰ هزار تومان در ۴ قسط ۲۳۷,۵۰۰ باشد، یا تخفیف اینترنتی به صورت شارژ کیف پول ارائه شود.</p>
</div>
</div>
<div class="p-3 bg-slate-50 rounded-lg border border-slate-200 flex items-start gap-2">
<input type="checkbox" checked disabled class="mt-0.5">
<div>
<strong>۴. پیاده‌سازی Custom Tags کلاریتی در فرانت‌اند:</strong>
<p class="text-slate-500 mt-0.5">قرار دادن قطعه کد سه‌گانه جاوااسکریپت بالا در هندلرهای کلیک صفحه جهت ردیابی دقیق در کلاریتی.</p>
</div>
</div>
</div>
</section>
</main>
<footer class="max-w-7xl mx-auto mt-12 text-center text-xs text-slate-400 border-t border-slate-200 pt-6">
سامانه تحلیل تجربه کاربری اکیپا | توسعه داده شده با استاندارد BI و هادس (Hades) | آبان ۱۴۰۵
</footer>
<script>
const ctx = document.getElementById('clarityMetricsChart').getContext('2d');
new Chart(ctx, {
type: 'bar',
data: {
labels: ['کلیک مرده (Dead Clicks)', 'بازگشت سریع (Quick Backs)', 'خطای اسکریپت (Script Errors)', 'کلیک عصبانی (Rage Clicks)'],
datasets: [
{
label: 'میانگین ۳ روزه (۱۰ تا ۱۳ آبان)',
data: [6.27, 7.87, 3.41, 0.43],
backgroundColor: '#6366f1',
borderRadius: 6
},
{
label: '۲۴ ساعت گذشته (۱۳ آبان)',
data: [6.46, 9.18, 4.59, 0.68],
backgroundColor: '#f43f5e',
borderRadius: 6
}
]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
position: 'top',
labels: {
font: { family: 'Vazirmatn', size: 12 }
}
},
tooltip: {
titleFont: { family: 'Vazirmatn' },
bodyFont: { family: 'Vazirmatn' },
callbacks: {
label: function(context) {
return context.dataset.label + ': ' + context.raw + '٪';
}
}
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
callback: function(value) { return value + '٪'; },
font: { family: 'Vazirmatn' }
},
grid: { color: '#f1f5f9' }
},
x: {
ticks: { font: { family: 'Vazirmatn' } },
grid: { display: false }
}
}
}
});
</script>
</body>
</html>