Skip to content

Analytics & nested data · Fictional sample data

Analytics events JSON Sample

Three fictional event records showing timestamps, session sequence, device context, and varied properties.

Use this dataset for event pipeline fixtures, time-series parsing, optional event properties.

JSON preview

analytics-events.json · 1.7 KB · formatted JSON

{
  "batchId": "batch-demo-2025-04-16-a",
  "schemaVersion": 2,
  "events": [
    {
      "eventId": "evt_demo_001",
      "name": "page_view",
      "occurredAt": "2025-04-16T09:02:14Z",
      "anonymous": true,
      "session": {
        "id": "session-demo-31",
        "sequence": 1
      },
      "page": {
        "path": "/docs/getting-started",
        "referrer": "https://search.example.com/"
      },
      "device": {
        "type": "desktop",
        "locale": "en-US"
      },
      "properties": {
        "campaign": null,
        "viewportWidth": 1440
      }
    },
    {
      "eventId": "evt_demo_002",
      "name": "search_submitted",
      "occurredAt": "2025-04-16T09:04:48Z",
      "anonymous": true,
      "session": {
        "id": "session-demo-31",
        "sequence": 2
      },
      "page": {
        "path": "/docs/getting-started"
      },
      "device": {
        "type": "desktop",
        "locale": "en-US"
      },
      "properties": {
        "queryLength": 12,
        "resultCount": 4,
        "filters": [
          "guides",
          "examples"
        ]
      }
    },
    {
      "eventId": "evt_demo_003",
      "name": "download_clicked",
      "occurredAt": "2025-04-16T09:06:03Z",
      "anonymous": false,
      "session": {
        "id": "session-demo-31",
        "sequence": 3
      },
      "page": {
        "path": "/examples/sample-export"
      },
      "device": {
        "type": "desktop",
        "locale": "en-US"
      },
      "properties": {
        "format": "json",
        "fileSizeBytes": 2480,
        "experimentVariant": "B"
      },
      "user": {
        "id": "user-demo-81",
        "plan": "starter"
      }
    }
  ]
}

Notable fields

events[].properties
Event-specific values differ by event name.
events[].user
Present only when the example event is associated with a known user.

This is fictional sample data created for development and testing. Names, addresses, identifiers, and example-domain URLs are illustrative. It is not sourced from real people or a live API.

If an in-page download is unavailable, download the static JSON file directly.

Try these related samples

  • Nested JSON fixtureA deeply nested workspace fixture with arrays, empty collections, nulls, optional properties, and warning paths.
  • Paginated API responseA task-list response with three items and internally consistent page, total, and navigation metadata.

Useful JSON tools

Browse every JSON sample