Tjar
    • 🗂️ Overview
    • 🚀 Start Here
    • Orders
      • List Orders
        GET
      • Get Order Details
        GET
      • Order Statuses
        GET
      • Create Order
        POST
      • Change Order Status
        POST
    • Products
      • Digital
        • Create Digital Product
        • Get Digital Product Details
        • Update Digital Product
      • Booking
        • Get Booking Product Details
        • Create Booking Product
        • Update Booking Product
      • Service
        • Get Service Product
        • Create Service Product
        • Update Service Product
      • Physical
        • Get Physical Product Details
        • Create Physical Product
        • Update Physical Product
      • List All Products
        GET
      • Get Product Details
        GET
      • Delete Product
        DELETE
    • Media
      • Upload Media
      • Upload Multiple Media
      • Update Media
    • Webhook
      • Events
        • Cart Abandoned
        • Order Created
        • Order Created
        • Order Status Changed
        • Order Updated
        • Product Created
        • Product Deleted
        • Product Updated
        • Product Review Submitted
        • Product Stock Update
        • Customer Created
        • Customer Updated
        • Customer Login
        • Customer Welcome
        • Customer OTP Sent
        • Category Created
        • Category Updated
        • Category Deleted
        • Brand Created
        • Brand Updated
        • Brand Deleted
      • List Webhooks
      • Register Webhook
      • Update Webhook
      • Delete Webhook
      • Verify Signature
      • Refresh Secret
      • Webhook Events
    • Abandoned Cart
      • List Abandoned Carts
      • Get Abandoned Cart Details
      • Send Reminder
    • Articles / Blog
      • List Articles
      • Get Article Details
      • List Article Categories
      • Create Article
      • Update Article with New Image File
      • Update Article
      • Delete Article
    • Reports
      • Visits report
    • Schemas
      • MediaImage
      • VisitsReportResponse
      • ArticleCategory
      • VisitsReportData
      • ArticleSeo
      • AudienceItem
      • Article
      • Pagination
      • ArticleListResponse
      • ArticleCategoryListResponse
      • ArticleResponse
      • DeleteArticleResponse
      • CreateArticleJsonRequest
      • CreateArticleMultipartRequest
      • UpdateArticleJsonRequest
      • UpdateArticleMultipartRequest

    VisitsReportResponse

    {
        "status": "success",
        "message": "Visits report returned successfully",
        "data": {
            "start_date": "2026-09-15",
            "end_date": "2026-10-14",
            "stats": {
                "visitors": 128,
                "events": 340,
                "duration": "3m 42s"
            },
            "top_pages": [
                {
                    "name": "Home",
                    "url": "/",
                    "views": 120,
                    "percent": 100
                }
            ],
            "map_data": [
                {
                    "id": "SA",
                    "value": 90
                }
            ],
            "audience": {
                "browsers": [
                    {
                        "browser": "Chrome",
                        "device_type": "mobile",
                        "os": "Android",
                        "unique_users": 80
                    }
                ],
                "devices": [
                    {
                        "browser": "Chrome",
                        "device_type": "mobile",
                        "os": "Android",
                        "unique_users": 80
                    }
                ],
                "os": [
                    {
                        "browser": "Chrome",
                        "device_type": "mobile",
                        "os": "Android",
                        "unique_users": 80
                    }
                ]
            },
            "summary": "AI-generated text summary of the period"
        }
    }
    Built with