Filter by Category

CROSS LINE DETECTION (MINIMAL)
Basic Flow → Cross Line Detection
{
  "type": "cross_line",
  "date": "2024-01-16",
  "entry_count": 65,
  "exit_count": 58,
  "in_store": 7
}
CROSS LINE DETECTION (DETAILED)
Basic Flow → Cross Line Detection
{
  "type": "cross_line",
  "date": "2024-01-16",
  "entry_count": 145,
  "exit_count": 132,
  "in_store": 13,
  "timestamp": "2024-01-16T10:30:00Z",
  "sensor_location": "main_entrance",
  "confidence_level": 95.5,
  "weather": "sunny"
}
MEMBER TRAFFIC (MINIMAL)
Basic Flow → Member
{
  "type": "member",
  "date": "2024-01-16",
  "entry_count": 18,
  "exit_count": 15,
  "in_store": 3
}
MEMBER TRAFFIC (DETAILED)
Basic Flow → Member
{
  "type": "member",
  "date": "2024-01-16",
  "entry_count": 34,
  "exit_count": 31,
  "in_store": 3,
  "timestamp": "2024-01-16T11:00:00Z",
  "verified_members": 28,
  "guest_members": 6,
  "vip_members": 2
}
NEW FACE (MINIMAL)
Visitor Statistics → New Face
{
  "type": "new_face",
  "date": "2024-01-16",
  "count": 34
}
NEW FACE (DETAILED)
Visitor Statistics → New Face
{
  "type": "new_face",
  "date": "2024-01-16",
  "count": 89,
  "timestamp": "2024-01-16T12:00:00Z",
  "age_estimated": {
    "18-25": 23,
    "26-35": 34,
    "36-50": 22,
    "50+": 10
  },
  "gender_estimated": {
    "male": 45,
    "female": 44
  }
}
TOTAL VISITORS (MINIMAL)
Visitor Statistics → Visitor
{
  "type": "visitor",
  "date": "2024-01-16",
  "count": 125
}
TOTAL VISITORS (DETAILED)
Visitor Statistics → Visitor
{
  "type": "visitor",
  "date": "2024-01-16",
  "count": 267,
  "timestamp": "2024-01-16T13:00:00Z",
  "new_visitors": 89,
  "returning_visitors": 178,
  "peak_hours": ["12:00", "14:00", "16:00"]
}
DWELL TIME (MINIMAL)
Behavior → Dwell Time
{
  "type": "dwell_time",
  "date": "2024-01-16",
  "average_seconds": 420,
  "total_sessions": 87
}
DWELL TIME (DETAILED)
Behavior → Dwell Time
{
  "type": "dwell_time",
  "date": "2024-01-16",
  "average_seconds": 485,
  "total_sessions": 198,
  "timestamp": "2024-01-16T14:00:00Z",
  "distribution": {
    "quick_visit_0_5min": 45,
    "short_visit_5_15min": 78,
    "medium_visit_15_30min": 52,
    "long_visit_30_60min": 18,
    "extended_visit_60min_plus": 5
  }
}
PASSERBY CONVERSION (MINIMAL)
Behavior → Passerby Conversion
{
  "type": "passerby_conversion",
  "date": "2024-01-16",
  "passerby_count": 245,
  "converted_count": 87
}
PASSERBY CONVERSION (DETAILED)
Behavior → Passerby Conversion
{
  "type": "passerby_conversion",
  "date": "2024-01-16",
  "passerby_count": 456,
  "converted_count": 145,
  "timestamp": "2024-01-16T15:00:00Z",
  "window_shoppers": 311,
  "conversion_rate": 31.8,
  "peak_conversion_hours": ["11:00", "14:00", "16:00"]
}
ACTUAL CONVERSION (MINIMAL)
Conversion → Actual Conversion
{
  "type": "actual_conversion",
  "date": "2024-01-16",
  "total_visitors": 125,
  "converted_visitors": 28
}
ACTUAL CONVERSION (DETAILED)
Conversion → Actual Conversion
{
  "type": "actual_conversion",
  "date": "2024-01-16",
  "total_visitors": 267,
  "converted_visitors": 67,
  "timestamp": "2024-01-16T16:00:00Z",
  "purchase_made": 52,
  "membership_signup": 8,
  "service_inquiry": 7,
  "total_revenue": 4446.00
}
NEW VS RETURN (MINIMAL)
Group Characteristic → New/Return
{
  "type": "group_characteristic",
  "date": "2024-01-16",
  "new_visitors": 34,
  "return_visitors": 91
}
NEW VS RETURN (DETAILED)
Group Characteristic → New/Return
{
  "type": "group_characteristic",
  "date": "2024-01-16",
  "new_visitors": 89,
  "return_visitors": 178,
  "timestamp": "2024-01-16T17:00:00Z",
  "frequent_visitors": 25,
  "occasional_visitors": 66,
  "average_visits_per_customer": 3.2
}
GENDER DISTRIBUTION (MINIMAL)
Group Characteristic → Gender
{
  "type": "gender_distribution",
  "date": "2024-01-16",
  "male_count": 62,
  "female_count": 63
}
GENDER DISTRIBUTION (DETAILED)
Group Characteristic → Gender
{
  "type": "gender_distribution",
  "date": "2024-01-16",
  "male_count": 134,
  "female_count": 133,
  "timestamp": "2024-01-16T18:00:00Z",
  "male_percentage": 50.2,
  "female_percentage": 49.8,
  "male_avg_visit_duration": 425,
  "female_avg_visit_duration": 520
}
AGE DISTRIBUTION (MINIMAL)
Group Characteristic → Age
{
  "type": "age_distribution",
  "date": "2024-01-16",
  "age_groups": {
    "0-17": 8,
    "18-24": 25,
    "25-34": 42,
    "35-44": 32,
    "45-54": 15,
    "55+": 3
  }
}
AGE DISTRIBUTION (DETAILED)
Group Characteristic → Age
{
  "type": "age_distribution",
  "date": "2024-01-16",
  "age_groups": {
    "0-17": 23,
    "18-24": 59,
    "25-34": 81,
    "35-44": 68,
    "45-54": 40,
    "55+": 19
  },
  "timestamp": "2024-01-16T19:00:00Z",
  "total_count": 290,
  "dominant_age_group": "25-34"
}

Quick Testing Scenario

Copy semua JSON di bawah ini satu per satu untuk testing lengkap semua fitur Traffic Detail:

Testing Steps:

1

Buka /statistics/add

2

Pilih Model: LOCATION

3

COPY & PASTE JSON

4

LIHAT DI TRAFFIC DETAIL

1. BASIC FLOW - CROSS LINE
{"type":"cross_line","date":"2024-01-16","entry_count":145,"exit_count":132,"in_store":13}
2. BASIC FLOW - MEMBER
{"type":"member","date":"2024-01-16","entry_count":34,"exit_count":31,"in_store":3}
3. VISITOR - NEW FACE
{"type":"new_face","date":"2024-01-16","count":89}
4. VISITOR - TOTAL
{"type":"visitor","date":"2024-01-16","count":267}
5. BEHAVIOR - DWELL TIME
{"type":"dwell_time","date":"2024-01-16","average_seconds":485,"total_sessions":198}
6. BEHAVIOR - PASSERBY CONVERSION
{"type":"passerby_conversion","date":"2024-01-16","passerby_count":456,"converted_count":145}
7. CONVERSION - ACTUAL
{"type":"actual_conversion","date":"2024-01-16","total_visitors":267,"converted_visitors":67}
8. GROUP - NEW/RETURN
{"type":"group_characteristic","date":"2024-01-16","new_visitors":89,"return_visitors":178}
9. GROUP - GENDER
{"type":"gender_distribution","date":"2024-01-16","male_count":134,"female_count":133}
10. GROUP - AGE
{"type":"age_distribution","date":"2024-01-16","age_groups":{"0-17":23,"18-24":59,"25-34":81,"35-44":68,"45-54":40,"55+":19}}