Fathom Analytics · Schema

Fathom Event

A custom event tracked for a Fathom Analytics site.

AnalyticsPrivacyGDPRWebsite AnalyticsCookielessPage ViewsEventsReporting

Properties

Name Type Description
id string Unique event identifier.
object string
name string Event display name.
site_id string ID of the site this event belongs to.
created_at string ISO 8601 timestamp when the event was created.
View JSON Schema on GitHub

JSON Schema

fathom-event.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fathom/main/json-schema/fathom-event.json",
  "title": "Fathom Event",
  "description": "A custom event tracked for a Fathom Analytics site.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique event identifier."
    },
    "object": {
      "type": "string",
      "const": "event"
    },
    "name": {
      "type": "string",
      "description": "Event display name."
    },
    "site_id": {
      "type": "string",
      "description": "ID of the site this event belongs to."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the event was created."
    }
  },
  "required": ["id", "object", "name", "site_id", "created_at"]
}