# Event Log

> Every event about your contacts and website visitors, where it came from, and how events trigger journeys

URL: https://docs.lemuai.com/event-log/overview

**Event Log** is a live feed of what your contacts (and, where available, your website visitors) did: events your own systems send to [`POST /api/v1/events`](https://docs.lemuai.com/api-reference/events/trigger), storefront events from Shopify, website and app activity from your [Tracking Sources](https://docs.lemuai.com/website-pixel/overview), WhatsApp replies, segment changes and custom record changes. It is also the entry point for the [Events trigger](https://docs.lemuai.com/automation/nodes-and-triggers#triggers) that starts a journey run from an event.

<img src="/images/event-log-send-test.png" alt="Event Log page with the Send Test Event panel open" />

## Where events come from

Each event shows its **Source**. Filter by source with the source menu above the table.

| Source | What it records |
|---|---|
| API | Events your systems send to `POST /api/v1/events`, and test events from **Send Test Event** |
| Shopify | Orders, checkouts and other events from your connected [Shopify](https://docs.lemuai.com/integrations/shopify) store |
| Website | Page views, app screens and tracked actions from your [Tracking Sources](https://docs.lemuai.com/website-pixel/overview) (websites and apps), including Shopify storefront events |
| Messages | Customer replies (`whatsapp_message_received`) and, when **Message updates** is ticked, delivery updates for messages you sent |
| Segments | A contact entering (`segment_entered`) or leaving (`segment_exited`) a segment |
| Custom records | Custom records created, changed or deleted |
| Imported | Older events copied in from before the event store was turned on |

## What an API event does

Every event sent to the API carries an `event_type` (e.g. `InitiateCheckout`, `Purchase`), an optional `phone` number, and an arbitrary `data` payload. Meta's [standard event names](https://docs.lemuai.com/website-pixel/standard-events) are matched whatever their case, and older names such as `order_placed` still match `Purchase`. When an event arrives:

1. Lemu resolves it to a contact by phone number, creating a new contact if none matches (this counts against your plan's [CRM contacts](https://docs.lemuai.com/settings/usage-and-plan) limit). If `list_name` is included, the contact is upserted into that list, created if it doesn't already exist.
2. The event is stored and shows up in this log, with its type, phone, resolved contact, and payload fields as columns.
3. Any active journey with an **API Events** trigger whose `event_type` matches is queued to run, with the event's payload available as context variables.

Tracked actions from identified website and app visitors work the same way when their tracking source has **Let identified visitors' tracked actions trigger journeys** switched on.

## Using the log

The table has fixed columns for **Created At**, **Event Type**, **Source**, **Phone** and **Contact**. Columns beyond these are derived from whatever keys your events' `data` payloads actually contain, so the table looks different for every organization depending on what you're sending.

Above the table you can:

- Search by phone, name, event type or visitor id
- Filter by date range, event type and source
- Tick **Message updates** to include delivery updates (sent, delivered, read, clicked, failed) for messages you sent. They are hidden by default because there are a lot of them

### Website visitors

When your account's event store is on, the log also includes events from anonymous website visitors. These have no contact yet, so the **Contact** column shows **Visitor** and the start of their visitor id. Once a visitor identifies, their later events show the contact, and their earlier visits appear in the contact's activity. The page description reads "Everything your contacts and website visitors did" when this is on.

**Info:** **Message updates** and anonymous website visitor events only appear when the event store is on for your account. Without it, the log shows your contacts' events from every source.

### Sending a test event

**Send Test Event** lets you fire an event from inside the dashboard without wiring up real integration code. It is useful for building and testing a journey's API Events trigger before your actual system sends anything. Fill in an event type, optionally a phone number and a list to upsert into, and any payload fields as key/value pairs, then **Send**. It goes through the same path as a real `POST /api/v1/events` call and can trigger real journeys, so use a phone number you don't mind creating a test contact for.

### API Docs

The **API Docs** button opens a reference panel for the endpoint in place (authentication, the request and response shape, and copyable code examples in cURL, Python, and JavaScript) without leaving the page.

<img src="/images/event-log-api-docs.png" alt="In-app Events API reference panel with request fields and a cURL example" />
