1024 lines
No EOL
98 KiB
HTML
1024 lines
No EOL
98 KiB
HTML
<!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 href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css"
|
||
rel="stylesheet" type="text/css" />
|
||
<style>
|
||
/* ==================== TOKENS ==================== */
|
||
:root {
|
||
--bg: #F8FAFC;
|
||
--surface: #FFFFFF;
|
||
--surface-subtle: #F1F5F9;
|
||
--border: #E2E8F0;
|
||
--border-strong: #CBD5E1;
|
||
--text: #0F172A;
|
||
--text-secondary: #475569;
|
||
--muted: #64748B;
|
||
--primary: #4F46E5;
|
||
--primary-light: #EEF2FF;
|
||
--success: #10B981;
|
||
--success-light: #ECFDF5;
|
||
--warning: #F59E0B;
|
||
--warning-light: #FFFBEB;
|
||
--danger: #EF4444;
|
||
--danger-light: #FEF2F2;
|
||
--instagram: #E1306C;
|
||
--telegram: #229ED9;
|
||
--bale: #00A693;
|
||
--art-color: #D97706;
|
||
--art-bg: #FEF3C7;
|
||
--ekp-color: #7C3AED;
|
||
--ekp-bg: #EDE9FE;
|
||
--radius: 14px;
|
||
--radius-sm: 8px;
|
||
--radius-lg: 16px;
|
||
--shadow-sm: 0 1px 3px rgba(15,23,42,.05);
|
||
--shadow: 0 4px 14px rgba(15,23,42,.06);
|
||
--shadow-lg: 0 10px 25px rgba(15,23,42,.10);
|
||
}
|
||
*{box-sizing:border-box;margin:0;padding:0;font-family:'Vazirmatn',system-ui,sans-serif;}
|
||
body{background:var(--bg);color:var(--text);line-height:1.6;padding-bottom:60px;}
|
||
|
||
/* ==================== HEADER ==================== */
|
||
.dash-header{
|
||
background:var(--surface);border-bottom:1px solid var(--border);
|
||
padding:20px 32px;display:flex;justify-content:space-between;align-items:center;
|
||
flex-wrap:wrap;gap:12px;position:sticky;top:0;z-index:100;box-shadow:var(--shadow-sm);
|
||
}
|
||
.brand-title h1{font-size:20px;font-weight:800;color:var(--text);display:flex;align-items:center;gap:10px;}
|
||
.brand-title p{font-size:12px;color:var(--text-secondary);margin-top:4px;}
|
||
.badge-live{background:#DEF7EC;color:#03543F;font-size:11px;font-weight:700;padding:4px 10px;border-radius:9999px;display:inline-flex;align-items:center;gap:6px;}
|
||
.badge-live::before{content:'';width:8px;height:8px;background:#31C48D;border-radius:50%;animation:pulse 2s infinite;}
|
||
@keyframes pulse{0%{transform:scale(.95);box-shadow:0 0 0 0 rgba(49,196,141,.7);}70%{transform:scale(1);box-shadow:0 0 0 6px rgba(49,196,141,0);}100%{transform:scale(.95);box-shadow:0 0 0 0 rgba(49,196,141,0);}}
|
||
|
||
/* ==================== MAIN NAV TABS ==================== */
|
||
.main-nav-tabs{
|
||
background:var(--surface);border-bottom:2px solid var(--border);
|
||
padding:0 32px;display:flex;gap:10px;position:sticky;top:65px;z-index:90;
|
||
box-shadow:var(--shadow-sm);
|
||
}
|
||
.nav-tab-btn{
|
||
background:transparent;border:none;border-bottom:3px solid transparent;
|
||
padding:14px 20px;font-size:14px;font-weight:800;color:var(--muted);
|
||
cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;gap:8px;
|
||
margin-bottom:-2px;
|
||
}
|
||
.nav-tab-btn:hover{color:var(--primary);}
|
||
.nav-tab-btn.active{color:var(--primary);border-bottom-color:var(--primary);}
|
||
|
||
/* ==================== LAYOUT ==================== */
|
||
.container{max-width:1480px;margin:28px auto;padding:0 28px;display:flex;flex-direction:column;gap:24px;}
|
||
.tab-panel{display:none;flex-direction:column;gap:24px;}
|
||
.tab-panel.active{display:flex;}
|
||
|
||
/* ==================== TOOLTIP ==================== */
|
||
.info-btn{
|
||
position:relative;display:inline-flex;align-items:center;justify-content:center;
|
||
width:18px;height:18px;border-radius:50%;background:var(--surface-subtle);
|
||
border:1px solid var(--border-strong);color:var(--muted);font-size:11px;
|
||
font-weight:700;cursor:help;vertical-align:middle;font-style:normal;
|
||
}
|
||
.info-btn .tooltip-text{
|
||
visibility:hidden;width:290px;background:#0F172A;color:#fff;text-align:right;
|
||
border-radius:var(--radius-sm);padding:10px 14px;font-size:12px;line-height:1.5;
|
||
position:absolute;z-index:200;bottom:130%;right:50%;transform:translateX(50%);
|
||
opacity:0;transition:opacity .2s;box-shadow:var(--shadow-lg);pointer-events:none;
|
||
}
|
||
.info-btn .tooltip-text::after{content:"";position:absolute;top:100%;right:50%;margin-right:-5px;border-width:5px;border-style:solid;border-color:#0F172A transparent transparent transparent;}
|
||
.info-btn:hover .tooltip-text{visibility:visible;opacity:1;}
|
||
|
||
/* ==================== CARDS ==================== */
|
||
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-sm);}
|
||
.card-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--border);}
|
||
.card-title{font-size:15px;font-weight:800;display:flex;align-items:center;gap:6px;color:var(--text);}
|
||
|
||
/* ==================== KPI GRID ==================== */
|
||
.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;}
|
||
.kpi-card{
|
||
background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
|
||
padding:18px 22px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:8px;
|
||
position:relative;overflow:hidden;transition:all .2s;
|
||
}
|
||
.kpi-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);}
|
||
.kpi-card::before{content:'';position:absolute;top:0;right:0;left:0;height:3.5px;background:var(--primary);}
|
||
.kpi-card.kpi-ig::before{background:var(--instagram);}
|
||
.kpi-card.kpi-tg::before{background:var(--telegram);}
|
||
.kpi-card.kpi-bale::before{background:var(--bale);}
|
||
.kpi-card.kpi-art::before{background:var(--art-color);}
|
||
.kpi-card.kpi-ekp::before{background:var(--ekp-color);}
|
||
.kpi-card.kpi-success::before{background:var(--success);}
|
||
.kpi-card.kpi-warning::before{background:var(--warning);}
|
||
.kpi-card.kpi-danger::before{background:var(--danger);}
|
||
.kpi-card.kpi-cyan::before{background:#0EA5E9;}
|
||
.kpi-card.kpi-purple::before{background:#8B5CF6;}
|
||
.kpi-head{display:flex;align-items:center;justify-content:space-between;font-size:12.5px;font-weight:700;color:var(--muted);}
|
||
.kpi-val{font-size:22px;font-weight:800;color:var(--text);margin-top:4px;}
|
||
.kpi-sub{font-size:11.5px;color:var(--text-secondary);display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
|
||
|
||
/* ==================== PERIOD SELECTOR ==================== */
|
||
.period-selector{
|
||
background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
|
||
padding:16px 22px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;
|
||
}
|
||
.period-selector-title{font-size:14px;font-weight:700;color:var(--text);display:flex;align-items:center;gap:6px;white-space:nowrap;}
|
||
.period-pills{display:flex;gap:8px;flex-wrap:wrap;}
|
||
.period-pill{
|
||
padding:8px 16px;border-radius:999px;border:1.5px solid var(--border);
|
||
background:var(--surface-subtle);color:var(--muted);font-size:13px;font-weight:700;
|
||
cursor:pointer;transition:all .2s;
|
||
}
|
||
.period-pill.active{background:var(--primary);color:#fff;border-color:var(--primary);}
|
||
|
||
/* ==================== FILTER TOOLBAR ==================== */
|
||
.filter-toolbar{
|
||
background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
|
||
padding:14px 22px;display:flex;flex-direction:column;gap:12px;
|
||
}
|
||
.filter-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
|
||
.filter-label{font-size:12.5px;font-weight:800;color:var(--muted);min-width:100px;}
|
||
.filter-btn{
|
||
padding:6px 14px;border-radius:999px;border:1.5px solid var(--border);
|
||
background:var(--surface-subtle);color:var(--text-secondary);font-size:12px;font-weight:700;
|
||
cursor:pointer;transition:all .2s;
|
||
}
|
||
.filter-btn.active{background:var(--primary);color:#fff;border-color:var(--primary);}
|
||
|
||
/* ==================== TABLES ==================== */
|
||
.table-responsive{overflow-x:auto;border:1px solid var(--border);border-radius:10px;}
|
||
table{width:100%;border-collapse:collapse;font-size:12.5px;text-align:right;background:var(--surface);}
|
||
th{background:var(--surface-subtle);font-weight:800;color:var(--muted);padding:12px 14px;border-bottom:1px solid var(--border-strong);white-space:nowrap;}
|
||
td{padding:12px 14px;border-bottom:1px solid var(--border);color:var(--text);vertical-align:middle;direction:rtl;text-align:right;}
|
||
tr:last-child td{border-bottom:none;}
|
||
tr:hover td{background:#F8FAFC;}
|
||
|
||
/* ==================== NUM SPAN ==================== */
|
||
.num{font-feature-settings:"tnum";direction:ltr;text-align:left;display:inline-block;}
|
||
|
||
/* ==================== BADGES ==================== */
|
||
.badge-chan{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;font-size:11px;font-weight:700;}
|
||
.ch-ig{background:#FCE7F3;color:#9D174D;}
|
||
.ch-tg{background:#DBEAFE;color:#1E40AF;}
|
||
.ch-bale{background:#CCFBF1;color:#0F766E;}
|
||
.ch-affiliate{background:#FEF3C7;color:#92400E;}
|
||
.badge-line{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;font-size:11px;font-weight:700;}
|
||
.line-art{background:var(--art-bg);color:var(--art-color);}
|
||
.line-ekp{background:var(--ekp-bg);color:var(--ekp-color);}
|
||
.status-pill{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;}
|
||
.st-success{background:var(--success-light);color:#065F46;}
|
||
.st-warning{background:var(--warning-light);color:#92400E;}
|
||
.st-danger{background:var(--danger-light);color:#991B1B;}
|
||
|
||
/* ==================== TABLE STATS BAR ==================== */
|
||
.table-stats-bar{
|
||
background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius);
|
||
padding:14px 20px;display:flex;gap:24px;flex-wrap:wrap;align-items:center;
|
||
}
|
||
.stat-item{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted);}
|
||
.stat-item strong{color:var(--text);font-size:14px;}
|
||
|
||
/* ==================== CALLOUT ==================== */
|
||
.callout{
|
||
background:var(--success-light);border:1px solid #6EE7B7;border-radius:var(--radius-sm);
|
||
padding:14px 18px;font-size:13px;color:#065F46;line-height:1.7;
|
||
}
|
||
|
||
/* ==================== STRAT CARD (Roadmap tab) ==================== */
|
||
.strat-card{
|
||
background:linear-gradient(135deg,#FFFBEB 0%,#FEF3C7 100%);border:1px solid #FDE68A;
|
||
border-radius:12px;padding:20px 24px;display:flex;flex-direction:column;gap:12px;margin-bottom:4px;
|
||
}
|
||
.strat-head{font-size:15px;font-weight:800;color:#92400E;display:flex;align-items:center;gap:8px;}
|
||
.strat-item{display:flex;gap:10px;font-size:13px;color:#78350F;line-height:1.7;}
|
||
|
||
/* ==================== PDF FAB & MODAL ==================== */
|
||
.pdf-fab{
|
||
position:fixed;bottom:24px;left:24px;background:var(--primary);color:#fff;
|
||
border:none;border-radius:50px;padding:14px 22px;font-size:14px;font-weight:700;
|
||
cursor:pointer;box-shadow:0 4px 14px rgba(79,70,229,.4);z-index:1000;
|
||
font-family:'Vazirmatn',system-ui,sans-serif;
|
||
}
|
||
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;z-index:2000;}
|
||
.modal-overlay.open{display:flex;}
|
||
.modal-box{background:#fff;border-radius:16px;padding:32px;min-width:420px;max-width:540px;box-shadow:0 20px 60px rgba(0,0,0,.2);display:flex;flex-direction:column;gap:18px;}
|
||
.modal-box h3{font-size:17px;font-weight:800;}
|
||
.modal-box label{font-size:13px;font-weight:700;display:flex;flex-direction:column;gap:6px;}
|
||
.modal-box select, .modal-box input[type=date]{
|
||
padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);
|
||
font-family:'Vazirmatn',system-ui,sans-serif;font-size:13px;
|
||
background:var(--surface-subtle);color:var(--text);
|
||
}
|
||
.modal-row{display:flex;gap:12px;}
|
||
.modal-row label{flex:1;}
|
||
.modal-btn-row{display:flex;gap:12px;justify-content:flex-end;}
|
||
.btn-cancel{padding:10px 20px;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--muted);font-size:13px;font-weight:700;cursor:pointer;font-family:'Vazirmatn',system-ui,sans-serif;}
|
||
.btn-print{padding:10px 20px;border:none;border-radius:var(--radius-sm);background:var(--primary);color:#fff;font-size:13px;font-weight:700;cursor:pointer;font-family:'Vazirmatn',system-ui,sans-serif;}
|
||
#customDateRow{display:none;flex-direction:column;gap:12px;}
|
||
#customDateRow.show{display:flex;}
|
||
.print-header{display:none;padding:12px;border-bottom:2px solid var(--border);margin-bottom:16px;}
|
||
|
||
/* ==================== PRINT ==================== */
|
||
@media print {
|
||
.pdf-fab,.modal-overlay,.main-nav-tabs,.filter-toolbar,.period-selector,.nav-tab-btn{display:none!important;}
|
||
.print-header{display:block!important;font-size:14px;font-weight:800;color:#0F172A;}
|
||
body{padding:12px;background:#fff!important;}
|
||
.tab-panel{display:none!important;}
|
||
.tab-panel.print-active{display:block!important;}
|
||
@page{size:A3 landscape;margin:14mm;}
|
||
}
|
||
|
||
/* CSV Export Button */
|
||
.btn-csv-export {
|
||
background: #059669;
|
||
color: #FFFFFF;
|
||
border: 1px solid #047857;
|
||
padding: 7px 16px;
|
||
border-radius: 20px;
|
||
font-family: inherit;
|
||
font-size: 12.5px;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
box-shadow: 0 1px 3px rgba(5,150,105,0.2);
|
||
transition: all 0.15s;
|
||
margin-right: auto;
|
||
}
|
||
.btn-csv-export:hover {
|
||
background: #047857;
|
||
box-shadow: 0 2px 6px rgba(5,150,105,0.3);
|
||
}
|
||
|
||
</style>
|
||
</head>
|
||
<body>
|
||
|
||
<!-- HEADER -->
|
||
<header class="dash-header">
|
||
<div class="brand-title">
|
||
<h1>📊 داشبورد یکپارچه سوشال اکیپا</h1>
|
||
<p>تحلیل شبکه اجتماعی • مهر تا آبان ۱۴۰۵ | دادههای زنده از دیتابیس متابیس (بدون شمارههای تست)</p>
|
||
</div>
|
||
<div style="display:flex;align-items:center;gap:14px;">
|
||
<span class="badge-live">زنده</span>
|
||
<span style="font-size:12px;color:var(--muted);" id="currentTime"></span>
|
||
</div>
|
||
</header>
|
||
|
||
<!-- MAIN NAV TABS -->
|
||
<nav class="main-nav-tabs">
|
||
<button class="nav-tab-btn active" onclick="switchTab('tabRoadmap',this)">
|
||
📋 نقشه راه سوشال (مهر–آبان ۱۴۰۵)
|
||
</button>
|
||
<button class="nav-tab-btn" onclick="switchTab('tabSales',this)">
|
||
💰 داشبورد فروش و تراکنشها
|
||
</button>
|
||
</nav>
|
||
|
||
<div class="container">
|
||
|
||
<!-- ==================== TAB 1: ROADMAP ==================== -->
|
||
<div id="tabRoadmap" class="tab-panel active">
|
||
|
||
<!-- Print header -->
|
||
<div class="print-header" id="phRoadmap">نقشه راه سوشال مارکتینگ به تفکیک لاینها | مهر–آبان ۱۴۰۵</div>
|
||
|
||
<!-- Context banner -->
|
||
<div class="card" style="background:linear-gradient(135deg,#F0FDF4 0%,#DCFCE7 100%);border-color:#86EFAC;">
|
||
<div style="display:flex;gap:14px;align-items:flex-start;">
|
||
<div style="font-size:26px;">📑</div>
|
||
<div>
|
||
<h2 style="font-size:15px;font-weight:800;color:#166534;margin-bottom:4px;">
|
||
نقشه راه سوشال به تفکیک لاینهای ekeepa-art و ekeepa.ir (پاییز ۱۴۰۵)
|
||
<span class="info-btn">i<span class="tooltip-text">استخراج دادههای تبهای اختصاصی art-kpi و ekp-kpi در گوگل شیت و انطباق با دیتابیس متابیس.</span></span>
|
||
</h2>
|
||
<p style="font-size:13px;color:#14532D;line-height:1.7;">
|
||
اهداف، نرخ رشد و شاخصهای سوشال برای هر دو لاین <strong>کارگاههای هنری (ekeepa-art)</strong> و <strong>اتاق فرار / بازیهای گروهی (ekeepa.ir)</strong> به صورت مستقل تفکیک شدهاند.
|
||
همچنین مرجعهای خرید به صورت استانداردشده منحصراً بر پایه <strong>کمپین (utm_campaign)</strong> و <strong>مدیوم (utm_medium)</strong> گزارش شده و کمپینهای همخانواده (مانند <code>art-list</code> و <code>art_list</code>) به صورت یکپارچه تجمیع گردیدهاند.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Strategic Diagnosis -->
|
||
<div class="strat-card">
|
||
<div class="strat-head">
|
||
<span>🧭 تحلیل تشخیصی مدیر سوشال مارکتینگ (Social Media Manager Diagnosis)</span>
|
||
<span class="info-btn">i<span class="tooltip-text">تحلیل دلایل افت و رشد شاخصها از منظر رفتار کاربر در شبکههای اجتماعی و نحوه بهینهسازی محتوا.</span></span>
|
||
</div>
|
||
<div class="strat-item">
|
||
<span>🎨</span>
|
||
<div>
|
||
<strong>وضعیت لاین ekeepa-art (هنری و کارگاهها):</strong>
|
||
تمرکز اصلی کمپینهای ریلز و بایو روی این لاین بوده و توانسته <strong>۲۰ خرید موفق (۲۹,۳۶۴,۰۰۰ تومان)</strong> جذب کند. کمپین یکپارچه <code>art-list</code> با جذب ۱۱ خرید قطعی (۱۰.۷ میلیون تومان) پرفروشترین سرفصل سوشال بوده است، هرچند ۲۳ سبد رهاشده در درگاه نیاز به اقدام جبرانی دارد.
|
||
</div>
|
||
</div>
|
||
<div class="strat-item">
|
||
<span>🗝️</span>
|
||
<div>
|
||
<strong>وضعیت لاین ekeepa.ir (اتاق فرار و بازیها):</strong>
|
||
فاقد کمپین ریلز هدفمند در مهرماه بوده و ترافیک آن عمدتاً ارگانیک و افیلیت بوده است. <strong>۳ خرید موفق (۵,۲۰۰,۰۰۰ تومان)</strong> ثبت شده، در حالی که ۱۹ کاربر در درگاه منصرف شدهاند که نشاندهنده نیاز مبرم به تست سناریوهای ویدیویی اختصاصی اتاق فرار در ریلز است.
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ==================== LINE 1: EKEEPA-ART ==================== -->
|
||
<div class="card" style="border-right: 5px solid var(--art-color);">
|
||
<div class="card-head">
|
||
<div class="card-title">
|
||
<span class="badge-line line-art" style="font-size:14px;padding:6px 14px;">🎨 ۱. نقشه راه و عملکرد لاین ekeepa-art (کارگاههای هنری)</span>
|
||
<span class="info-btn">i<span class="tooltip-text">کارنامه جامع اینستاگرام @ekeepa_art، کانال تلگرام و پیامرسان بله مختص کارگاههای هنری.</span></span>
|
||
</div>
|
||
<div style="font-size:13px;color:var(--art-color);font-weight:700;">
|
||
مجموع فروش محققشده: ۲۰ خرید قطعی (۲۹,۳۶۴,۰۰۰ تومان)
|
||
</div>
|
||
</div>
|
||
|
||
<!-- KPI Grid for Art -->
|
||
<div class="kpi-grid">
|
||
<div class="kpi-card" style="border-right-color:var(--art-color);">
|
||
<div class="kpi-title">مهر پارت ۱ (۱ تا ۱۵ مهر)</div>
|
||
<div class="kpi-val num">۱۱ رزرو</div>
|
||
<div class="kpi-sub">فروش: ۱۷,۲۱۶,۰۰۰ تومان • ۲۶ انصراف درگاه</div>
|
||
</div>
|
||
<div class="kpi-card" style="border-right-color:var(--art-color);">
|
||
<div class="kpi-title">مهر پارت ۲ (۱۶ تا ۳۰ مهر)</div>
|
||
<div class="kpi-val num">۷ رزرو</div>
|
||
<div class="kpi-sub">فروش: ۹,۰۴۸,۰۰۰ تومان • ۴ انصراف درگاه</div>
|
||
</div>
|
||
<div class="kpi-card" style="border-right-color:var(--art-color);">
|
||
<div class="kpi-title">آبان پارت ۱ (۱ تا ۱۴ آبان)</div>
|
||
<div class="kpi-val num">۲ رزرو</div>
|
||
<div class="kpi-sub">فروش: ۳,۱۰۰,۰۰۰ تومان • ۸ انصراف درگاه</div>
|
||
</div>
|
||
<div class="kpi-card" style="border-right-color:var(--art-color);">
|
||
<div class="kpi-title">شاخص تبدیل درگاه لاین آرت</div>
|
||
<div class="kpi-val num">۳۴.۵٪</div>
|
||
<div class="kpi-sub">۲۰ پرداخت موفق از مجموع ۵۸ ورود به درگاه</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Art Performance Table -->
|
||
<div class="table-responsive" style="margin-bottom:20px;">
|
||
<table>
|
||
<thead>
|
||
<tr>
|
||
<th>شاخص عملکردی لاین آرت (KPI)</th>
|
||
<th>نیمه اول مهر</th>
|
||
<th>نیمه دوم مهر</th>
|
||
<th>تغییر مهر</th>
|
||
<th>دو هفته اول آبان (زنده)</th>
|
||
<th>ارزیابی استراتژیک</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td><strong>Reach اینستاگرام (دسترسی اکانت)</strong></td>
|
||
<td><span class="num">۵۰,۶۵۱</span></td>
|
||
<td><span class="num">۱۸,۵۷۱</span></td>
|
||
<td><span class="num" style="color:var(--danger);">-۶۳.۳٪</span></td>
|
||
<td><span class="num">~۴۲,۰۰۰</span></td>
|
||
<td><span class="status-pill st-warning">روند بازگشتی در آبان</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>Impression / Video Views</strong></td>
|
||
<td><span class="num">۱۵۷,۵۵۷</span></td>
|
||
<td><span class="num">۸۲,۰۵۵</span></td>
|
||
<td><span class="num" style="color:var(--danger);">-۴۷.۹٪</span></td>
|
||
<td><span class="num">~۱۱۰,۰۰۰</span></td>
|
||
<td><span class="status-pill st-warning">نیاز به ریلزهای سریالی</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>Link Clicks (کلیک لینک بایو و استوری)</strong></td>
|
||
<td><span class="num">۱,۲۵۰</span></td>
|
||
<td><span class="num">۶۸۰</span></td>
|
||
<td><span class="num" style="color:var(--danger);">-۴۵.۶٪</span></td>
|
||
<td><span class="num">۱,۱۸۰</span></td>
|
||
<td><span class="status-pill st-success">ترافیک ورودی فعال</span></td>
|
||
</tr>
|
||
<tr style="background:#ECFDF5;font-weight:700;">
|
||
<td><strong>خرید قطعی سوشال آرت (Purchases)</strong></td>
|
||
<td><span class="num">۱۱ رزرو (۱۷.۲ م)</span></td>
|
||
<td><span class="num">۷ رزرو (۹.۰ م)</span></td>
|
||
<td><span class="num">-۳۶٪</span></td>
|
||
<td><span class="num" style="color:var(--success);">۲ رزرو (۳.۱ م)</span></td>
|
||
<td><span class="status-pill st-success">۸ سبد معلق در آبان</span></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<!-- Art Attribution by Campaign & Medium -->
|
||
<div style="background:#FFFBEB;border:1px solid #FDE68A;border-radius:10px;padding:14px;margin-bottom:12px;">
|
||
<div style="font-size:13.5px;font-weight:800;color:#92400E;margin-bottom:4px;">
|
||
🎯 مراجع خرید لاین ekeepa-art منحصراً به تفکیک «کمپین» و «مدیوم» (تجمیعشده و استاندارد)
|
||
</div>
|
||
<div style="font-size:12px;color:#B45309;">
|
||
کمپینهای <code>art-list</code> و <code>art_list</code> به صورت یکپارچه ادغام شدند و مدیومهای همخانواده نیز ذیل <code>social_organic</code> تجمیع گردیدند.
|
||
</div>
|
||
</div>
|
||
|
||
<div class="table-responsive">
|
||
<table>
|
||
<thead>
|
||
<tr>
|
||
<th>کمپین (utm_campaign)</th>
|
||
<th>مدیوم (utm_medium)</th>
|
||
<th>خریدهای موفق</th>
|
||
<th>ارزش فروش (GMV)</th>
|
||
<th>سبدهای منقضی در درگاه</th>
|
||
<th>نرخ تبدیل درگاه (CR)</th>
|
||
<th>دورههای فعال</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr style="background:#F0FDF4;font-weight:700;">
|
||
<td><span class="num"><strong style="color:var(--primary);">art-list</strong></span> <span style="font-size:11px;color:#059669;">(تجمیع art-list و art_list)</span></td>
|
||
<td><span class="num">social_organic</span></td>
|
||
<td><span class="num"><strong style="color:var(--success);">۱۱ خرید</strong></span></td>
|
||
<td><span class="num"><strong>۱۰,۷۸۸,۰۰۰ تومان</strong></span></td>
|
||
<td><span class="num">۲۳ انصراف</span></td>
|
||
<td><span class="num">۳۲.۴٪</span></td>
|
||
<td>مهر ۱، مهر ۲، آبان ۱</td>
|
||
</tr>
|
||
<tr>
|
||
<td><span class="num"><strong>affiliate</strong></span></td>
|
||
<td><span class="num">affiliate</span></td>
|
||
<td><span class="num"><strong style="color:var(--success);">۳ خرید</strong></span></td>
|
||
<td><span class="num">۵,۰۷۶,۰۰۰ تومان</span></td>
|
||
<td><span class="num">۷ انصراف</span></td>
|
||
<td><span class="num">۳۰.۰٪</span></td>
|
||
<td>مهر ۱</td>
|
||
</tr>
|
||
<tr>
|
||
<td><span class="num"><strong>— (بدون کمپین)</strong></span></td>
|
||
<td><span class="num">— (ارگانیک / مستقیم)</span></td>
|
||
<td><span class="num"><strong style="color:var(--success);">۲ خرید</strong></span></td>
|
||
<td><span class="num">۵,۸۰۰,۰۰۰ تومان</span></td>
|
||
<td><span class="num">۳ انصراف</span></td>
|
||
<td><span class="num">۴۰.۰٪</span></td>
|
||
<td>مهر ۱، مهر ۲</td>
|
||
</tr>
|
||
<tr>
|
||
<td><span class="num"><strong>bio_art</strong></span></td>
|
||
<td><span class="num">social</span></td>
|
||
<td><span class="num"><strong style="color:var(--success);">۲ خرید</strong></span></td>
|
||
<td><span class="num">۴,۹۰۰,۰۰۰ تومان</span></td>
|
||
<td><span class="num">۱ انصراف</span></td>
|
||
<td><span class="num">۶۶.۷٪</span></td>
|
||
<td>مهر ۱، آبان ۱</td>
|
||
</tr>
|
||
<tr>
|
||
<td><span class="num"><strong>art-affiliate</strong></span></td>
|
||
<td><span class="num">affiliate</span></td>
|
||
<td><span class="num"><strong style="color:var(--success);">۱ خرید</strong></span></td>
|
||
<td><span class="num">۱,۹۵۰,۰۰۰ تومان</span></td>
|
||
<td><span class="num">۱ انصراف</span></td>
|
||
<td><span class="num">۵۰.۰٪</span></td>
|
||
<td>مهر ۱</td>
|
||
</tr>
|
||
<tr>
|
||
<td><span class="num"><strong>art-yoga</strong></span></td>
|
||
<td><span class="num">social_organic</span></td>
|
||
<td><span class="num"><strong style="color:var(--success);">۱ خرید</strong></span></td>
|
||
<td><span class="num">۸۵۰,۰۰۰ تومان</span></td>
|
||
<td><span class="num">۰ انصراف</span></td>
|
||
<td><span class="num">۱۰۰.۰٪</span></td>
|
||
<td>مهر ۱</td>
|
||
</tr>
|
||
<tr>
|
||
<td><span class="num">art-momdays / art</span></td>
|
||
<td><span class="num">social_organic</span></td>
|
||
<td><span class="num">۰ خرید</span></td>
|
||
<td><span class="num">۰ تومان</span></td>
|
||
<td><span class="num">۱ انصراف</span></td>
|
||
<td><span class="num">۰.۰٪</span></td>
|
||
<td>مهر ۱، مهر ۲</td>
|
||
</tr>
|
||
<tr>
|
||
<td><span class="num">— (بدون کمپین)</span></td>
|
||
<td><span class="num">affiliate</span></td>
|
||
<td><span class="num">۰ خرید</span></td>
|
||
<td><span class="num">۰ تومان</span></td>
|
||
<td><span class="num">۲ انصراف</span></td>
|
||
<td><span class="num">۰.۰٪</span></td>
|
||
<td>آبان ۱</td>
|
||
</tr>
|
||
<tr style="background:#FAF5FF;font-weight:800;border-top:2px solid #E9D5FF;">
|
||
<td colspan="2">مجموع عملکرد لاین ekeepa-art</td>
|
||
<td><span class="num" style="color:var(--success);font-size:14px;">۲۰ خرید قطعی</span></td>
|
||
<td><span class="num" style="font-size:14px;">۲۹,۳۶۴,۰۰۰ تومان</span></td>
|
||
<td><span class="num">۳۸ انصراف</span></td>
|
||
<td><span class="num">۳۴.۵٪</span></td>
|
||
<td>کل دوره پاییز</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ==================== LINE 2: EKEEPA.IR ==================== -->
|
||
<div class="card" style="border-right: 5px solid var(--ekp-color);">
|
||
<div class="card-head">
|
||
<div class="card-title">
|
||
<span class="badge-line line-ekp" style="font-size:14px;padding:6px 14px;">🗝️ ۲. نقشه راه و عملکرد لاین ekeepa.ir (اتاق فرار و بازیها)</span>
|
||
<span class="info-btn">i<span class="tooltip-text">کارنامه جذب مخاطب، ترافیک ورودی و خرید اتاقهای فرار و بازیهای گروهی.</span></span>
|
||
</div>
|
||
<div style="font-size:13px;color:var(--ekp-color);font-weight:700;">
|
||
مجموع فروش محققشده: ۳ خرید قطعی (۵,۲۰۰,۰۰۰ تومان)
|
||
</div>
|
||
</div>
|
||
|
||
<!-- KPI Grid for Ekeepa.ir -->
|
||
<div class="kpi-grid">
|
||
<div class="kpi-card" style="border-right-color:var(--ekp-color);">
|
||
<div class="kpi-title">مهر پارت ۱ (۱ تا ۱۵ مهر)</div>
|
||
<div class="kpi-val num">۰ رزرو</div>
|
||
<div class="kpi-sub">فروش: ۰ تومان • ۲ انصراف درگاه</div>
|
||
</div>
|
||
<div class="kpi-card" style="border-right-color:var(--ekp-color);">
|
||
<div class="kpi-title">مهر پارت ۲ (۱۶ تا ۳۰ مهر)</div>
|
||
<div class="kpi-val num">۲ رزرو</div>
|
||
<div class="kpi-sub">فروش: ۲,۸۰۰,۰۰۰ تومان • ۵ انصراف درگاه</div>
|
||
</div>
|
||
<div class="kpi-card" style="border-right-color:var(--ekp-color);">
|
||
<div class="kpi-title">آبان پارت ۱ (۱ تا ۱۴ آبان)</div>
|
||
<div class="kpi-val num">۱ رزرو</div>
|
||
<div class="kpi-sub">فروش: ۲,۴۰۰,۰۰۰ تومان • ۱۲ انصراف درگاه</div>
|
||
</div>
|
||
<div class="kpi-card" style="border-right-color:var(--ekp-color);">
|
||
<div class="kpi-title">شاخص تبدیل درگاه لاین اکیپا</div>
|
||
<div class="kpi-val num">۱۳.۶٪</div>
|
||
<div class="kpi-sub">۳ پرداخت موفق از مجموع ۲۲ ورود به درگاه</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Ekeepa.ir Attribution by Campaign & Medium -->
|
||
<div style="background:#F0F9FF;border:1px solid #BAE6FD;border-radius:10px;padding:14px;margin-bottom:12px;">
|
||
<div style="font-size:13.5px;font-weight:800;color:#0369A1;margin-bottom:4px;">
|
||
🎯 مراجع خرید لاین ekeepa.ir منحصراً به تفکیک «کمپین» و «مدیوم»
|
||
</div>
|
||
<div style="font-size:12px;color:#0284C7;">
|
||
بررسی رفتار کاربران در انتخاب اتاقهای فرار و انصراف در مرحله پرداخت نهایی.
|
||
</div>
|
||
</div>
|
||
|
||
<div class="table-responsive">
|
||
<table>
|
||
<thead>
|
||
<tr>
|
||
<th>کمپین (utm_campaign)</th>
|
||
<th>مدیوم (utm_medium)</th>
|
||
<th>خریدهای موفق</th>
|
||
<th>ارزش فروش (GMV)</th>
|
||
<th>سبدهای منقضی در درگاه</th>
|
||
<th>نرخ تبدیل درگاه (CR)</th>
|
||
<th>دورههای فعال</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr style="background:#F0FDF4;font-weight:700;">
|
||
<td><span class="num"><strong style="color:var(--primary);">— (بدون کمپین)</strong></span></td>
|
||
<td><span class="num">— (ارگانیک / مستقیم)</span></td>
|
||
<td><span class="num"><strong style="color:var(--success);">۳ خرید</strong></span></td>
|
||
<td><span class="num"><strong>۵,۲۰۰,۰۰۰ تومان</strong></span></td>
|
||
<td><span class="num">۲ انصراف</span></td>
|
||
<td><span class="num">۶۰.۰٪</span></td>
|
||
<td>مهر ۲، آبان ۱</td>
|
||
</tr>
|
||
<tr>
|
||
<td><span class="num"><strong>affiliate</strong></span></td>
|
||
<td><span class="num">affiliate</span></td>
|
||
<td><span class="num">۰ خرید</span></td>
|
||
<td><span class="num">۰ تومان</span></td>
|
||
<td><span class="num" style="color:var(--danger);font-weight:700;">۱۱ انصراف</span></td>
|
||
<td><span class="num">۰.۰٪</span></td>
|
||
<td>آبان ۱ (نیاز به بازنگری)</td>
|
||
</tr>
|
||
<tr>
|
||
<td><span class="num"><strong>pump</strong></span></td>
|
||
<td><span class="num">affiliate</span></td>
|
||
<td><span class="num">۰ خرید</span></td>
|
||
<td><span class="num">۰ تومان</span></td>
|
||
<td><span class="num">۵ انصراف</span></td>
|
||
<td><span class="num">۰.۰٪</span></td>
|
||
<td>مهر ۱، مهر ۲</td>
|
||
</tr>
|
||
<tr>
|
||
<td><span class="num"><strong>ekp-list</strong></span></td>
|
||
<td><span class="num">social_organic_ekp</span></td>
|
||
<td><span class="num">۰ خرید</span></td>
|
||
<td><span class="num">۰ تومان</span></td>
|
||
<td><span class="num">۱ انصراف</span></td>
|
||
<td><span class="num">۰.۰٪</span></td>
|
||
<td>آبان ۱</td>
|
||
</tr>
|
||
<tr style="background:#F0F9FF;font-weight:800;border-top:2px solid #BAE6FD;">
|
||
<td colspan="2">مجموع عملکرد لاین ekeepa.ir</td>
|
||
<td><span class="num" style="color:var(--success);font-size:14px;">۳ خرید قطعی</span></td>
|
||
<td><span class="num" style="font-size:14px;">۵,۲۰۰,۰۰۰ تومان</span></td>
|
||
<td><span class="num">۱۹ انصراف</span></td>
|
||
<td><span class="num">۱۳.۶٪</span></td>
|
||
<td>کل دوره پاییز</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Action Plan Section -->
|
||
<div class="card" style="background:#F8FAFC;border:1px solid #CBD5E1;">
|
||
<div class="card-head">
|
||
<div class="card-title">
|
||
<span>🚀 برنامه عملیاتی نیمه دوم آبان ۱۴۰۵ برای رسیدن به اهداف نقشه راه هر دو لاین</span>
|
||
</div>
|
||
</div>
|
||
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;">
|
||
<div style="background:#fff;padding:16px;border-radius:10px;border:1px solid var(--border);">
|
||
<h3 style="font-size:13.5px;font-weight:800;color:var(--art-color);margin-bottom:6px;">۱. ریتارگتینگ پیامکی سبدهای معلق آرت</h3>
|
||
<p style="font-size:12.5px;color:var(--text-secondary);line-height:1.6;">
|
||
ارسال پیامک اختصاصی تخفیف برای ۸ کاربر منقضی آبان لاین آرت که تا مرحله درگاه رفتهاند، میتواند ۲ تا ۳ میلیون تومان فروش محققنشده را برگرداند.
|
||
</p>
|
||
</div>
|
||
<div style="background:#fff;padding:16px;border-radius:10px;border:1px solid var(--border);">
|
||
<h3 style="font-size:13.5px;font-weight:800;color:var(--ekp-color);margin-bottom:6px;">۲. رفع باگ درگاه افیلیت در اتاق فرار</h3>
|
||
<p style="font-size:12.5px;color:var(--text-secondary);line-height:1.6;">
|
||
۱۱ انصراف متوالی در کمپین affiliate برای اتاق فرار در آبان نشاندهنده خطای فنی در درگاه یا عدم تطابق قیمت ثبتشده با فاکتور نهایی است.
|
||
</p>
|
||
</div>
|
||
<div style="background:#fff;padding:16px;border-radius:10px;border:1px solid var(--border);">
|
||
<h3 style="font-size:13.5px;font-weight:800;color:var(--primary);margin-bottom:6px;">۳. استمرار ریلزهای سریالی با هوک art-list</h3>
|
||
<p style="font-size:12.5px;color:var(--text-secondary);line-height:1.6;">
|
||
کمپین یکپارچه art-list نشان داد با ادغام هوکهای ترند و لینکدهی مستقیم دایرکت خودکار، پایدارترین منبع فروش ارگانیک اکیپاست.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</div><!-- /tabRoadmap -->
|
||
|
||
<!-- ==================== TAB 2: SALES BI ==================== -->
|
||
<div id="tabSales" class="tab-panel">
|
||
|
||
<!-- Print header -->
|
||
<div class="print-header" id="phSales">داشبورد فروش و تراکنشها | مهر–آبان ۱۴۰۵</div>
|
||
|
||
<!-- Period Selector -->
|
||
<div class="period-selector">
|
||
<div class="period-selector-title">
|
||
🗓️ انتخاب دوره:
|
||
<span class="info-btn">i<span class="tooltip-text">با انتخاب هر دوره، کارتهای درآمدی و جدول تراکنشها فوراً فیلتر میشوند.</span></span>
|
||
</div>
|
||
<div class="period-pills">
|
||
<button class="period-pill active" onclick="selectPeriod('all',this)">کل بازه (مهر–آبان ۱۴۰۵)</button>
|
||
<button class="period-pill" onclick="selectPeriod('aban_p1',this)">۱ تا ۱۴ آبان ۱۴۰۵</button>
|
||
<button class="period-pill" onclick="selectPeriod('mehr_all',this)">کل مهر ۱۴۰۵</button>
|
||
<button class="period-pill" onclick="selectPeriod('mehr_p1',this)">۱ تا ۱۵ مهر ۱۴۰۵</button>
|
||
<button class="period-pill" onclick="selectPeriod('mehr_p2',this)">۱۶ تا ۳۰ مهر ۱۴۰۵</button>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Data notice callout -->
|
||
<div class="callout">
|
||
<strong>💡 منطق یکپارچهسازی و پالایش دادهها:</strong>
|
||
شمارههای تستی (09190693376 و 09102709557) به طور کامل حذف و بلکلیست شدهاند.
|
||
کل ورودیهای اینستاگرام (بیو، استوری، دایرکت اتوماتیک ریلزها و دایرکت دستی) به صورت یکپارچه تجمیع شدهاند.
|
||
ترافیک افیلیت مجموعهداران و ارجاعهای مرورگر اپ اینستاگرام (l.instagram.com) به صورت مجزا شناسایی شدهاند.
|
||
</div>
|
||
|
||
<!-- KPI Cards -->
|
||
<div class="kpi-grid">
|
||
<div class="kpi-card kpi-success">
|
||
<div class="kpi-head">
|
||
<span>درآمد قطعی کل سوشال (GMV)</span>
|
||
<span class="info-btn">i<span class="tooltip-text">فرمول: مجموع total برای تمام سفارشهای Status=2 در دوره انتخابی.</span></span>
|
||
</div>
|
||
<div class="kpi-val num" id="valGmv">...</div>
|
||
<div class="kpi-sub" id="subGmv">...</div>
|
||
</div>
|
||
<div class="kpi-card kpi-ig">
|
||
<div class="kpi-head">
|
||
<span>کل فروش اینستاگرام (یکپارچه)</span>
|
||
<span class="info-btn">i<span class="tooltip-text">فرمول: تجمیع کل فروشهای قطعی از بیو، استوری، دایرکت ریلز و دایرکت دستی پیج اکیپا.</span></span>
|
||
</div>
|
||
<div class="kpi-val num" id="valIgGmv">...</div>
|
||
<div class="kpi-sub" id="subIgGmv">...</div>
|
||
</div>
|
||
<div class="kpi-card kpi-warning">
|
||
<div class="kpi-head">
|
||
<span>افیلیت مجموعهداران (Affiliate)</span>
|
||
<span class="info-btn">i<span class="tooltip-text">فرمول: خریدهای با utm_medium=affiliate یا utm_source ریسلرهای شناختهشده.</span></span>
|
||
</div>
|
||
<div class="kpi-val num" id="valAffiliateGmv">...</div>
|
||
<div class="kpi-sub" id="subAffiliateGmv">...</div>
|
||
</div>
|
||
<div class="kpi-card kpi-cyan">
|
||
<div class="kpi-head">
|
||
<span>انتقال درونبرنامهای اپ اینستاگرام (In-App)</span>
|
||
<span class="info-btn">i<span class="tooltip-text">فرمول: سفارشهایی که referrer = l.instagram.com یا instagram.com دارند.</span></span>
|
||
</div>
|
||
<div class="kpi-val num" id="valInAppCount">...</div>
|
||
<div class="kpi-sub" id="subInApp">...</div>
|
||
</div>
|
||
<div class="kpi-card kpi-tg">
|
||
<div class="kpi-head">
|
||
<span>فروش تلگرام و بله رسمی</span>
|
||
<span class="info-btn">i<span class="tooltip-text">فرمول: مجموع فروشهای مستقیم از کانال تلگرام اکیپا و پیامرسان بله.</span></span>
|
||
</div>
|
||
<div class="kpi-val num" id="valTgBaleGmv">...</div>
|
||
<div class="kpi-sub" id="subTgBale">...</div>
|
||
</div>
|
||
<div class="kpi-card kpi-danger">
|
||
<div class="kpi-head">
|
||
<span>سبدهای منقضی در درگاه (Checkout)</span>
|
||
<span class="info-btn">i<span class="tooltip-text">فرمول: تعداد رکوردهای Status=6 که کاربر وارد درگاه پرداخت شده اما منصرف شده است.</span></span>
|
||
</div>
|
||
<div class="kpi-val num" id="valAbandoned">...</div>
|
||
<div class="kpi-sub" id="subAbandoned">...</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Filter Toolbar + Table in a card -->
|
||
<div class="card">
|
||
<div class="card-head">
|
||
<div class="card-title">
|
||
<span>🛒 گزارش جامع تراکنشهای سوشال و اتریبیوشن کمپینها</span>
|
||
<span class="info-btn">i<span class="tooltip-text">فهرست کامل تراکنشهای استخراجشده از دیتابیس متابیس با ستونهای تحلیلی کمپین، سورس، مدیوم و وضعیت پرداخت.</span></span>
|
||
</div>
|
||
<div style="font-size:12px;color:var(--muted);">نمایش زنده بر اساس فیلترهای انتخابی</div>
|
||
</div>
|
||
|
||
<!-- Multi-Filter Toolbar -->
|
||
<div class="filter-toolbar" style="margin-bottom:16px;">
|
||
<div class="filter-group">
|
||
<span class="filter-label">لاین تجاری:</span>
|
||
<button class="filter-btn active" onclick="setLineFilter('all',this)">همه لاینها</button>
|
||
<button class="filter-btn" onclick="setLineFilter('ekeepa-art',this)">🎨 اکیپا آرت</button>
|
||
<button class="filter-btn" onclick="setLineFilter('ekeepa.ir',this)">🗝️ اتاق فرار / اکیپا</button>
|
||
</div>
|
||
<div class="filter-group">
|
||
<span class="filter-label">وضعیت پرداخت:</span>
|
||
<button class="filter-btn active" onclick="setStatusFilter('all',this)">همه وضعیتها</button>
|
||
<button class="filter-btn" onclick="setStatusFilter('paid',this)">✅ پرداخت موفق</button>
|
||
<button class="filter-btn" onclick="setStatusFilter('abandoned',this)">⚠️ انصراف درگاه</button>
|
||
</div>
|
||
<button class="btn-csv-export" onclick="exportFilteredOrdersToCsv()">
|
||
<span>📊</span>
|
||
<span>دانلود اکسل تراکنشها (CSV)</span>
|
||
</button>
|
||
</div>
|
||
|
||
<!-- Table -->
|
||
<div class="table-responsive">
|
||
<table>
|
||
<thead>
|
||
<tr>
|
||
<th>شناسه رزرو<span class="info-btn">i<span class="tooltip-text">شناسه یکتای رزرو در جدول reservations پایگاه داده اکیپا.</span></span></th>
|
||
<th>تاریخ و ساعت<span class="info-btn">i<span class="tooltip-text">زمان ایجاد رکورد رزرو (GMT+3:30).</span></span></th>
|
||
<th>دوره زمانی</th>
|
||
<th>لاین تجاری</th>
|
||
<th>عنوان تجربه / اتاق</th>
|
||
<th>نفرات</th>
|
||
<th>مبلغ کل (GMV)</th>
|
||
<th>وضعیت پرداخت<span class="info-btn">i<span class="tooltip-text">وضعیت فاکتور: پرداخت موفق (۲) یا منقضی در درگاه (۶).</span></span></th>
|
||
<th>کمپین (utm_campaign)<span class="info-btn">i<span class="tooltip-text">نام استانداردشده کمپین (با تجمیع art-list و art_list).</span></span></th>
|
||
<th>مدیوم (utm_medium)<span class="info-btn">i<span class="tooltip-text">مدیوم استانداردشده لینک ارجاعی.</span></span></th>
|
||
</tr>
|
||
</thead>
|
||
<tbody id="ordersTableBody">
|
||
<!-- JS-rendered -->
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<!-- Stats Bar -->
|
||
<div class="table-stats-bar" style="margin-top:16px;">
|
||
<div class="stat-item"><span>تعداد رکوردهای فیلترشده:</span><strong id="statFilteredCount">...</strong></div>
|
||
<div class="stat-item"><span>رزروهای موفق:</span><strong id="statFilteredPaid" style="color:var(--success);">...</strong></div>
|
||
<div class="stat-item"><span>درآمد قطعی:</span><strong id="statFilteredGmv" class="num" style="color:var(--primary);">...</strong></div>
|
||
<div class="stat-item"><span>سبدهای منقضی:</span><strong id="statFilteredAbandoned" style="color:var(--danger);">...</strong></div>
|
||
</div>
|
||
</div>
|
||
|
||
</div><!-- /tabSales -->
|
||
|
||
</div><!-- /container -->
|
||
|
||
<!-- PDF FAB BUTTON -->
|
||
<button class="pdf-fab" onclick="openPdfModal()">📥 خروجی PDF</button>
|
||
|
||
<!-- PDF EXPORT MODAL -->
|
||
<div class="modal-overlay" id="pdfModal">
|
||
<div class="modal-box">
|
||
<h3>📥 تنظیمات خروجی PDF</h3>
|
||
<label>
|
||
دوره زمانی برای صدور:
|
||
<select id="pdfPeriodSel">
|
||
<option value="all">کل بازه (مهر–آبان ۱۴۰۵)</option>
|
||
<option value="mehr_all">مهر ۱۴۰۵ کامل</option>
|
||
<option value="mehr_p1">۱ تا ۱۵ مهر</option>
|
||
<option value="mehr_p2">۱۶ تا ۳۰ مهر</option>
|
||
<option value="aban_p1">۱ تا ۱۴ آبان</option>
|
||
<option value="custom">تاریخ دلخواه</option>
|
||
</select>
|
||
</label>
|
||
<div id="customDateRow">
|
||
<div class="modal-row">
|
||
<label>از تاریخ:<input type="date" id="pdfDateFrom"></label>
|
||
<label>تا تاریخ:<input type="date" id="pdfDateTo"></label>
|
||
</div>
|
||
</div>
|
||
<label>
|
||
محتوای چاپ:
|
||
<select id="pdfTabSel">
|
||
<option value="both">هر دو تب</option>
|
||
<option value="sales">فقط فروش و تراکنشها</option>
|
||
<option value="roadmap">فقط نقشه راه</option>
|
||
</select>
|
||
</label>
|
||
<div class="modal-btn-row">
|
||
<button class="btn-cancel" onclick="closePdfModal()">لغو</button>
|
||
<button class="btn-print" onclick="doPrint()">🖨️ چاپ و ذخیره PDF</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ===================== INLINE JS ===================== -->
|
||
<script>
|
||
const allOrders = [{"id": 2149799150, "created_at": "2026-11-03T12:16:57.526Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "تجربه بک اند", "players": 1, "total_price": 10000000, "status": 3, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149795547, "created_at": "2026-11-02T20:13:38.348Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "پخت تیرامیسو شکلاتی", "players": 1, "total_price": 1350000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "— (بدون کمپین)", "utm_medium": "affiliate"}, {"id": 2149794977, "created_at": "2026-11-02T19:47:06.589Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "پخت تیرامیسو شکلاتی", "players": 1, "total_price": 1350000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "— (بدون کمپین)", "utm_medium": "affiliate"}, {"id": 2149760226, "created_at": "2026-10-30T11:37:02.386Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "بردگیم", "players": 1, "total_price": 160000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149748529, "created_at": "2026-10-29T15:26:52.672Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "آیینه نگاری", "players": 1, "total_price": 950000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149748316, "created_at": "2026-10-29T15:13:12.318Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "نقاشی روی آیینه صاد", "players": 1, "total_price": 980000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149739213, "created_at": "2026-10-29T08:46:52.453Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "وابستگی", "players": 4, "total_price": 996000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "ekp-list", "utm_medium": "social_organic_ekp"}, {"id": 2149725118, "created_at": "2026-10-28T14:19:32.911Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "چاپ دستی به روش کلاژ دونفره", "players": 2, "total_price": 2500000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "bio_art", "utm_medium": "social"}, {"id": 2149723138, "created_at": "2026-10-28T11:26:09.378Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "پخت نیوکی با تم هالووین", "players": 2, "total_price": 3900000, "status": 3, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149711529, "created_at": "2026-10-27T04:39:52.515Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "پخت کوکی آیسینگ طرح کرهای", "players": 1, "total_price": 1650000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149707489, "created_at": "2026-10-26T14:17:39.53Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "هالووين پارتى", "players": 2, "total_price": 3780000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149707445, "created_at": "2026-10-26T14:17:34.107Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "هالووين پارتى", "players": 2, "total_price": 3780000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149707430, "created_at": "2026-10-26T14:16:03.353Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "هالووين پارتى", "players": 2, "total_price": 3780000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149707316, "created_at": "2026-10-26T14:10:07.718Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "هالووين پارتى", "players": 2, "total_price": 3780000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149706975, "created_at": "2026-10-26T14:01:26.872Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "هالووين پارتى", "players": 2, "total_price": 3780000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149706946, "created_at": "2026-10-26T13:59:04.083Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "هالووين پارتى", "players": 2, "total_price": 3780000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149706887, "created_at": "2026-10-26T13:56:52.071Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "هالووين پارتى", "players": 2, "total_price": 3780000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149706838, "created_at": "2026-10-26T13:55:17.513Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "هالووين پارتى", "players": 2, "total_price": 3780000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149706790, "created_at": "2026-10-26T13:49:39.966Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "هالووين پارتى", "players": 2, "total_price": 3780000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149706710, "created_at": "2026-10-26T13:41:12.737Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "هالووين پارتى", "players": 2, "total_price": 3780000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149704661, "created_at": "2026-10-26T09:57:15.401Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "پانتومیم", "players": 1, "total_price": 250000, "status": 5, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149704021, "created_at": "2026-10-26T07:56:44.394Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "هالووين پارتى", "players": 2, "total_price": 3780000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149703512, "created_at": "2026-10-26T04:27:40.905Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "ساخت ماگ سرامیکی پاییزی(کرج)", "players": 3, "total_price": 2940000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "bio_art", "utm_medium": "social"}, {"id": 2149699199, "created_at": "2026-10-25T10:34:53.02Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری تجربه لمس آب و خاک", "players": 1, "total_price": 950000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149694389, "created_at": "2026-10-24T13:20:22.685Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "توت بگ هالوینی", "players": 1, "total_price": 1800000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149693851, "created_at": "2026-10-24T12:04:31.079Z", "period_key": "aban_p1", "period_title": "۱ تا ۱۴ آبان ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "سینما اسکیپ", "players": 6, "total_price": 2400000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "— (بدون کمپین)", "utm_medium": "— (ارگانیک / مستقیم)"}, {"id": 2149679439, "created_at": "2026-10-22T21:55:16.467Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سوارکاری", "players": 1, "total_price": 1900000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149673596, "created_at": "2026-10-22T13:11:50.082Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری با چرخ( زیتون)", "players": 1, "total_price": 9800000, "status": 5, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149669702, "created_at": "2026-10-22T09:38:10.026Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "ساخت جاشمعی و ماگ هالوین", "players": 1, "total_price": 1100000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149667763, "created_at": "2026-10-22T06:10:06.747Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "پانتومیم", "players": 1, "total_price": 250000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149667064, "created_at": "2026-10-21T21:38:34.643Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "عروسک کچه ای", "players": 1, "total_price": 1298000, "status": 3, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "art", "utm_medium": "social_organic"}, {"id": 2149650925, "created_at": "2026-10-20T14:48:49.092Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "آیینه نگاری", "players": 1, "total_price": 950000, "status": 3, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149648208, "created_at": "2026-10-20T06:48:52.715Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "جاکارتی من", "players": 1, "total_price": 850000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "— (بدون کمپین)", "utm_medium": "— (ارگانیک / مستقیم)"}, {"id": 2149647996, "created_at": "2026-10-19T22:41:55.221Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "پخت موچی (نقش و نگار)", "players": 1, "total_price": 888000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149647958, "created_at": "2026-10-19T22:17:39.256Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "ساخت شمع پینترستی پاییزی", "players": 1, "total_price": 980000, "status": 5, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149647055, "created_at": "2026-10-19T19:32:00.717Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "جاکارتی من", "players": 1, "total_price": 850000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "— (بدون کمپین)", "utm_medium": "— (ارگانیک / مستقیم)"}, {"id": 2149623794, "created_at": "2026-10-16T17:57:27.217Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "سجین (مشهد) 2", "players": 5, "total_price": 1750000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "— (بدون کمپین)", "utm_medium": "— (ارگانیک / مستقیم)"}, {"id": 2149623606, "created_at": "2026-10-16T17:43:51.02Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "سجین (مشهد) 2", "players": 5, "total_price": 1750000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "— (بدون کمپین)", "utm_medium": "— (ارگانیک / مستقیم)"}, {"id": 2149623518, "created_at": "2026-10-16T17:43:48.165Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "سجین (مشهد) 2", "players": 5, "total_price": 1750000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "— (بدون کمپین)", "utm_medium": "— (ارگانیک / مستقیم)"}, {"id": 2149619383, "created_at": "2026-10-16T14:29:49.147Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "بردگیم", "players": 1, "total_price": 160000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149618819, "created_at": "2026-10-16T14:12:48.237Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "شدو", "players": 4, "total_price": 1000000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149618769, "created_at": "2026-10-16T14:12:16.76Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "شدو", "players": 4, "total_price": 1000000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149618569, "created_at": "2026-10-16T14:07:38.305Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "مهیل", "players": 4, "total_price": 720000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149607842, "created_at": "2026-10-15T19:02:48.229Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "تیراندازی با تفنگ و تپانچه ورزشی", "players": 2, "total_price": 1800000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "— (بدون کمپین)", "utm_medium": "— (ارگانیک / مستقیم)"}, {"id": 2149594606, "created_at": "2026-10-14T19:50:22.069Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "ساخت بند عینک", "players": 1, "total_price": 850000, "status": 3, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149592184, "created_at": "2026-10-14T17:27:30.222Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "ایکس (X)", "players": 3, "total_price": 1050000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "— (بدون کمپین)", "utm_medium": "— (ارگانیک / مستقیم)"}, {"id": 2149583969, "created_at": "2026-10-14T06:43:49.645Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "بوم کیک", "players": 2, "total_price": 4000000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "— (بدون کمپین)", "utm_medium": "— (ارگانیک / مستقیم)"}, {"id": 2149580605, "created_at": "2026-10-13T20:27:19.251Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "ساخت جاشمعی و ماگ هالوین", "players": 1, "total_price": 850000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149569233, "created_at": "2026-10-12T12:43:00.215Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "انتظاری ابدی", "players": 4, "total_price": 1120000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149556477, "created_at": "2026-10-10T13:09:33.686Z", "period_key": "mehr_p2", "period_title": "۱۶ تا ۳۰ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "مجسمه سازی با تکنیک پاپیه ماشه", "players": 1, "total_price": 900000, "status": 3, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "art-momdays", "utm_medium": "social_organic"}, {"id": 2149526872, "created_at": "2026-10-07T13:45:55.758Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "ساخت گل سرامیکی (ساگل)", "players": 1, "total_price": 850000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-yoga", "utm_medium": "social_organic"}, {"id": 2149523884, "created_at": "2026-10-07T09:18:49.81Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "پخت اودون ژاپنی", "players": 1, "total_price": 1950000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-affiliate", "utm_medium": "affiliate"}, {"id": 2149523777, "created_at": "2026-10-07T09:14:08.595Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "پخت اودون ژاپنی", "players": 1, "total_price": 1950000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-affiliate", "utm_medium": "affiliate"}, {"id": 2149520366, "created_at": "2026-10-06T14:48:57.622Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "بوم کیک", "players": 2, "total_price": 3760000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149517747, "created_at": "2026-10-06T00:05:52.239Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "اتاق 9", "players": 4, "total_price": 1080000, "status": 5, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149515153, "created_at": "2026-10-05T15:34:21.583Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری دونفره", "players": 2, "total_price": 1960000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "bio_art", "utm_medium": "social"}, {"id": 2149511553, "created_at": "2026-10-04T19:45:11.996Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "نمایش و نقد فیلم", "players": 1, "total_price": 160000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149510164, "created_at": "2026-10-04T16:25:17.874Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "کارگاه سواد رابطه", "players": 2, "total_price": 840000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149510092, "created_at": "2026-10-04T16:24:58.93Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "کارگاه سواد رابطه", "players": 2, "total_price": 840000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149509987, "created_at": "2026-10-04T16:16:08.086Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "کارگاه سواد رابطه", "players": 2, "total_price": 840000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149508628, "created_at": "2026-10-04T12:52:29.51Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "تخریب می زون (خشم ، ریج روم )", "players": 2, "total_price": 1700000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149506012, "created_at": "2026-10-03T18:48:58.41Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "شمع پاییزی خودتو بساز", "players": 1, "total_price": 980000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149505742, "created_at": "2026-10-03T18:43:44.454Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "شمع پاییزی خودتو بساز", "players": 1, "total_price": 980000, "status": 3, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149500315, "created_at": "2026-10-02T15:40:21.371Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "عطر سازی", "players": 1, "total_price": 2500000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149500268, "created_at": "2026-10-02T15:39:10.54Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "عطر سازی", "players": 1, "total_price": 2500000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149500175, "created_at": "2026-10-02T15:38:42.348Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "عطر سازی", "players": 1, "total_price": 2500000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149500130, "created_at": "2026-10-02T15:37:52.001Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "عطر سازی", "players": 1, "total_price": 2500000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149498210, "created_at": "2026-10-02T11:42:52.499Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "شکلات خودت رو بساز!", "players": 2, "total_price": 2800000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "— (بدون کمپین)", "utm_medium": "— (ارگانیک / مستقیم)"}, {"id": 2149489701, "created_at": "2026-10-01T14:11:14.768Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "ساخت ماگ شخصی (ساگل)", "players": 2, "total_price": 1760000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149489561, "created_at": "2026-10-01T14:09:46.962Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "ساخت ماگ شخصی (ساگل)", "players": 2, "total_price": 1760000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149489496, "created_at": "2026-10-01T14:09:15.63Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "ساخت ماگ شخصی (ساگل)", "players": 2, "total_price": 1760000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149488982, "created_at": "2026-10-01T13:35:30.636Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری(بوشهر)", "players": 1, "total_price": 3300000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149485731, "created_at": "2026-10-01T04:18:03.898Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "ساخت ماگ شخصی(هیکارو)", "players": 1, "total_price": 1150000, "status": 3, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149484063, "created_at": "2026-09-30T18:18:54.967Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری(بوشهر)", "players": 1, "total_price": 3300000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149483917, "created_at": "2026-09-30T18:17:26.557Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری(بوشهر)", "players": 1, "total_price": 3300000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149483870, "created_at": "2026-09-30T18:16:35.411Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری(بوشهر)", "players": 1, "total_price": 3300000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149483808, "created_at": "2026-09-30T18:16:30.678Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری(بوشهر)", "players": 1, "total_price": 3300000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149478331, "created_at": "2026-09-30T09:44:00.877Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری(بوشهر)", "players": 1, "total_price": 3300000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149476326, "created_at": "2026-09-29T20:06:21.502Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "رنگ زیرلعابی(مگنت)", "players": 1, "total_price": 680000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149472122, "created_at": "2026-09-29T09:34:55.661Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "کارگاه پخت بائوزی چینی (KFL)", "players": 1, "total_price": 1950000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149470329, "created_at": "2026-09-28T18:30:10.617Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "صابون سازی (نقش و نگار)", "players": 1, "total_price": 888000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149470228, "created_at": "2026-09-28T18:30:01.379Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "صابون سازی (نقش و نگار)", "players": 1, "total_price": 888000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149470064, "created_at": "2026-09-28T18:18:09.332Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "شمع سازی(نقش و نگار)", "players": 1, "total_price": 888000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "affiliate", "utm_medium": "affiliate"}, {"id": 2149469500, "created_at": "2026-09-28T16:33:03.392Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری مادر و کودک", "players": 2, "total_price": 2400000, "status": 2, "status_fa": "پرداخت موفق", "status_type": "paid", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149469407, "created_at": "2026-09-28T16:26:39.016Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری مادر و کودک", "players": 2, "total_price": 2400000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149469375, "created_at": "2026-09-28T16:26:04.742Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری مادر و کودک", "players": 2, "total_price": 2400000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149469285, "created_at": "2026-09-28T16:24:50.682Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری مادر و کودک", "players": 2, "total_price": 2400000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149469255, "created_at": "2026-09-28T16:24:01.604Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "سفالگری مادر و کودک", "players": 2, "total_price": 2400000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149459012, "created_at": "2026-09-27T07:06:20.015Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "کارگاه سواد رابطه", "players": 1, "total_price": 420000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art", "utm_medium": "social_organic"}, {"id": 2149458743, "created_at": "2026-09-27T03:05:13.382Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "نقاشی روی باکس چوبی", "players": 1, "total_price": 850000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149458718, "created_at": "2026-09-27T03:04:45.523Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa-art", "line_fa": "اکیپا آرت", "room": "نقاشی روی باکس چوبی", "players": 1, "total_price": 850000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "art-list", "utm_medium": "social_organic"}, {"id": 2149454243, "created_at": "2026-09-25T21:03:43.586Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "تجربه بک اند", "players": 1, "total_price": 10000, "status": 5, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149454223, "created_at": "2026-09-25T21:02:43.925Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "تجربه بک اند", "players": 1, "total_price": 10000, "status": 5, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149454122, "created_at": "2026-09-25T21:01:56.118Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "تجربه بک اند", "players": 1, "total_price": 10000, "status": 5, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149454081, "created_at": "2026-09-25T21:01:13.405Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "تجربه بک اند", "players": 1, "total_price": 10000, "status": 5, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149453997, "created_at": "2026-09-25T21:00:36.159Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "تجربه بک اند", "players": 1, "total_price": 10000, "status": 5, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149453899, "created_at": "2026-09-25T20:59:44.84Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "تجربه بک اند", "players": 1, "total_price": 10000, "status": 5, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149453885, "created_at": "2026-09-25T20:58:50.455Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "تجربه بک اند", "players": 1, "total_price": 10000, "status": 5, "status_fa": "لغو / ناموفق", "status_type": "failed", "utm_campaign": "pump", "utm_medium": "affiliate"}, {"id": 2149434658, "created_at": "2026-09-24T11:29:41.957Z", "period_key": "mehr_p1", "period_title": "۱ تا ۱۵ مهر ۱۴۰۵", "line": "ekeepa.ir", "line_fa": "اتاق فرار / اکیپا", "room": "موجی", "players": 5, "total_price": 1750000, "status": 6, "status_fa": "انصراف در درگاه", "status_type": "abandoned", "utm_campaign": "pump", "utm_medium": "affiliate"}];
|
||
let currentPeriod = 'all';
|
||
let currentLine = 'all';
|
||
let currentStatus = 'all';
|
||
let currentChannel = 'all';
|
||
|
||
// --- Helpers ---
|
||
function formatToman(n) {
|
||
if (!n) return '۰ تومان';
|
||
return (n).toLocaleString('fa-IR') + ' تومان';
|
||
}
|
||
|
||
function switchTab(tabId, btn) {
|
||
document.querySelectorAll('.tab-panel').forEach(p => p.classList.remove('active'));
|
||
document.querySelectorAll('.nav-tab-btn').forEach(b => b.classList.remove('active'));
|
||
document.getElementById(tabId).classList.add('active');
|
||
if (btn) btn.classList.add('active');
|
||
}
|
||
|
||
function getPeriodOrders() {
|
||
return allOrders.filter(o => {
|
||
if (currentPeriod === 'mehr_all') return o.period_key.startsWith('mehr');
|
||
if (currentPeriod === 'all') return true;
|
||
return o.period_key === currentPeriod;
|
||
});
|
||
}
|
||
|
||
// --- KPI update ---
|
||
function updateDashboard() {
|
||
const po = getPeriodOrders();
|
||
const paid = po.filter(o => o.status === 2);
|
||
const totalGmv = paid.reduce((s,o) => s + o.total_price, 0);
|
||
|
||
const igPaid = paid.filter(o => o.channel === 'instagram');
|
||
const igGmv = igPaid.reduce((s,o) => s + o.total_price, 0);
|
||
|
||
const affPaid = paid.filter(o => o.channel === 'affiliate');
|
||
const affGmv = affPaid.reduce((s,o) => s + o.total_price, 0);
|
||
const affAtt = po.filter(o => o.channel === 'affiliate').length;
|
||
|
||
const inAppAll = po.filter(o => o.is_in_app_insta);
|
||
const inAppPaid = inAppAll.filter(o => o.status === 2);
|
||
const inAppAban = inAppAll.filter(o => o.status === 6);
|
||
|
||
const tgBalePaid = paid.filter(o => o.channel === 'telegram' || o.channel === 'bale');
|
||
const tgBaleGmv = tgBalePaid.reduce((s,o) => s + o.total_price, 0);
|
||
const tgCnt = paid.filter(o => o.channel === 'telegram').length;
|
||
const baleCnt= paid.filter(o => o.channel === 'bale').length;
|
||
|
||
const abanCnt = po.filter(o => o.status === 6).length;
|
||
const cr = (paid.length + abanCnt) > 0 ? Math.round(paid.length/(paid.length+abanCnt)*100) : 0;
|
||
|
||
document.getElementById('valGmv').innerText = formatToman(totalGmv);
|
||
document.getElementById('subGmv').innerHTML = `<strong>${paid.length} رزرو قطعی</strong> در این دوره`;
|
||
|
||
document.getElementById('valIgGmv').innerText = formatToman(igGmv);
|
||
document.getElementById('subIgGmv').innerHTML = `<strong>${igPaid.length} سفارش قطعی</strong>`;
|
||
|
||
document.getElementById('valAffiliateGmv').innerText = formatToman(affGmv);
|
||
document.getElementById('subAffiliateGmv').innerHTML = `<strong>${affPaid.length} سفارش قطعی</strong> • ${affAtt} تلاش رزرو`;
|
||
|
||
document.getElementById('valInAppCount').innerText = `${inAppAll.length.toLocaleString('fa-IR')} انتقال ثبتشده`;
|
||
document.getElementById('subInApp').innerHTML = `<strong>${inAppPaid.length} سفارش قطعی</strong> • ${inAppAban.length} سبد معلق`;
|
||
|
||
document.getElementById('valTgBaleGmv').innerText = formatToman(tgBaleGmv);
|
||
document.getElementById('subTgBale').innerHTML = `<strong>${tgBalePaid.length} سفارش قطعی</strong> (${tgCnt} تلگرام + ${baleCnt} بله)`;
|
||
|
||
document.getElementById('valAbandoned').innerText = `${abanCnt.toLocaleString('fa-IR')} چکاوت`;
|
||
document.getElementById('subAbandoned').innerHTML = `نرخ تبدیل: <strong class="num">${cr}٪</strong>`;
|
||
|
||
renderTableAndStats();
|
||
}
|
||
|
||
// --- Table render ---
|
||
|
||
function renderTableAndStats() {
|
||
const po = getPeriodOrders();
|
||
const filtered = po.filter(o => {
|
||
const ml = currentLine === 'all' || o.line === currentLine;
|
||
const ms = currentStatus === 'all' ||
|
||
(currentStatus === 'paid' && o.status === 2) ||
|
||
(currentStatus === 'abandoned' && o.status === 6);
|
||
return ml && ms;
|
||
});
|
||
|
||
const paidF = filtered.filter(o => o.status === 2);
|
||
const gmvF = paidF.reduce((s,o) => s + o.total_price, 0);
|
||
const abanF = filtered.filter(o => o.status === 6).length;
|
||
|
||
document.getElementById('statFilteredCount').innerText = `${filtered.length.toLocaleString('fa-IR')} رکورد`;
|
||
document.getElementById('statFilteredPaid').innerText = `${paidF.length.toLocaleString('fa-IR')} سفارش`;
|
||
document.getElementById('statFilteredGmv').innerText = formatToman(gmvF);
|
||
document.getElementById('statFilteredAbandoned').innerText = `${abanF.toLocaleString('fa-IR')} چکاوت`;
|
||
|
||
const tbody = document.getElementById('ordersTableBody');
|
||
if (filtered.length === 0) {
|
||
tbody.innerHTML = `<tr><td colspan="10" style="text-align:center;padding:24px;color:var(--muted);">هیچ رکوردی با فیلترهای انتخابی یافت نشد.</td></tr>`;
|
||
return;
|
||
}
|
||
|
||
tbody.innerHTML = filtered.map(o => {
|
||
const lc = o.line === 'ekeepa-art' ? 'line-art' : 'line-ekp';
|
||
const sc = o.status === 2 ? 'st-success' : o.status === 6 ? 'st-warning' : 'st-danger';
|
||
const dateFa = o.created_at.replace('T',' ').substring(0,16);
|
||
return `<tr>
|
||
<td><code><span class="num">${o.id}</span></code></td>
|
||
<td><span class="num">${dateFa}</span></td>
|
||
<td><strong>${o.period_title}</strong></td>
|
||
<td><span class="badge-line ${lc}">${o.line === 'ekeepa-art' ? '🎨 ' : '🗝️ '}${o.line_fa}</span></td>
|
||
<td><strong>${o.room}</strong></td>
|
||
<td><span class="num">${o.players} نفر</span></td>
|
||
<td><span class="num"><strong>${formatToman(o.total_price)}</strong></span></td>
|
||
<td><span class="status-pill ${sc}">${o.status_fa}</span></td>
|
||
<td><span class="num"><strong style="color:var(--primary);">${o.utm_campaign}</strong></span></td>
|
||
<td><span class="num" style="color:var(--text-secondary);">${o.utm_medium}</span></td>
|
||
</tr>`;
|
||
}).join('');
|
||
}
|
||
|
||
// CSV Export Function (UTF-8 with BOM for Excel)
|
||
function exportFilteredOrdersToCsv() {
|
||
const po = getPeriodOrders();
|
||
const filtered = po.filter(o => {
|
||
const ml = currentLine === 'all' || o.line === currentLine;
|
||
const ms = currentStatus === 'all' ||
|
||
(currentStatus === 'paid' && o.status === 2) ||
|
||
(currentStatus === 'abandoned' && o.status === 6);
|
||
return ml && ms;
|
||
});
|
||
|
||
if (filtered.length === 0) {
|
||
alert('هیچ رکوردی برای خروجی وجود ندارد.');
|
||
return;
|
||
}
|
||
|
||
const headers = ['شناسه رزرو', 'تاریخ و ساعت', 'دوره زمانی', 'لاین تجاری', 'عنوان تجربه', 'تعداد نفرات', 'مبلغ کل (تومان)', 'وضعیت پرداخت', 'کمپین (utm_campaign)', 'مدیوم (utm_medium)'];
|
||
|
||
let csvContent = '\uFEFF'; // UTF-8 BOM
|
||
csvContent += headers.map(h => `"${h}"`).join(',') + '\r\n';
|
||
|
||
filtered.forEach(o => {
|
||
const dateFa = o.created_at.replace('T', ' ').substring(0, 16);
|
||
const row = [
|
||
o.id,
|
||
dateFa,
|
||
o.period_title,
|
||
o.line_fa,
|
||
o.room,
|
||
o.players,
|
||
o.total_price,
|
||
o.status_fa,
|
||
o.utm_campaign,
|
||
o.utm_medium
|
||
];
|
||
csvContent += row.map(val => {
|
||
const str = String(val === null || val === undefined ? '' : val).replace(/"/g, '""');
|
||
return `"${str}"`;
|
||
}).join(',') + '\r\n';
|
||
});
|
||
|
||
const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });
|
||
const link = document.createElement('a');
|
||
const url = URL.createObjectURL(blob);
|
||
link.setAttribute('href', url);
|
||
link.setAttribute('download', `ekeepa_orders_${currentPeriod}_${new Date().toISOString().slice(0,10)}.csv`);
|
||
document.body.appendChild(link);
|
||
link.click();
|
||
document.body.removeChild(link);
|
||
}
|
||
|
||
|
||
</script>
|
||
</body>
|
||
</html> |