# Pendo: Visitor

## Description

* Table capturing individual visitors - their latest state enhanced with metrics. Includes any custom columns passed through via the `pendo__account_history_pass_through_columns` variable.

## Supported Data Sources

* <img src="https://fivetran.com/integrations/pendo/resources/pendo.svg" alt="" data-size="line"> Pendo

## Columns

| Type     | Name                        | Description                                                                                                                                                                                                     |
| -------- | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| STRING   | visitor\_id                 | Unique identifier of the visitor.                                                                                                                                                                               |
| STRING   | account\_id                 | Foreign key referencing the `ACCOUNT` associated with this visitor. Visitors can belong to multiple accounts, however. Refer to `VISITOR_ACCOUNT_HISTORY` for all accounts associated with individual visitors. |
| STRING   | first\_visit\_at            | Timestamp of when an event was first captured for the visitor.                                                                                                                                                  |
| INTEGER  | visitor\_id\_hash           | 32-bit hash of the visitor ID.                                                                                                                                                                                  |
| STRING   | last\_browser\_name         | Most recent browser name.                                                                                                                                                                                       |
| STRING   | last\_browser\_version      | Most recent browser version.                                                                                                                                                                                    |
| STRING   | last\_operating\_system     | Most recent operating system.                                                                                                                                                                                   |
| STRING   | last\_server\_name          | Most recent server name.                                                                                                                                                                                        |
| STRING   | last\_updated\_at           | Timestamp of when the visitor was last updated.                                                                                                                                                                 |
| STRING   | last\_user\_agent           | Most recent user agent (unparsed).                                                                                                                                                                              |
| STRING   | last\_visit                 | Timestamp of the user's last visit.                                                                                                                                                                             |
| INTEGER  | n\_id                       | Numeric id for the visitor.                                                                                                                                                                                     |
| DATETIME | \_fivetran\_synced          | UTC timestamp that indicates the time when Fivetran last successfully synced the row.                                                                                                                           |
| INTEGER  | latest\_visitor\_index      |                                                                                                                                                                                                                 |
| INTEGER  | count\_associated\_accounts | Count of accounts currently associated with the visitor.                                                                                                                                                        |
| INTEGER  | latest\_nps\_rating         | The latest NPS rating that the visitor submitted via a poll.                                                                                                                                                    |
| INTEGER  | count\_active\_days         | Count of calendar days on which events were tracked for this visitor.                                                                                                                                           |
| INTEGER  | count\_active\_months       | Count of calendar months on which events were tracked for this visitor.                                                                                                                                         |
| INTEGER  | sum\_minutes                | Total time, in minutes, of logged event activity for this visitor (based on `event.num_minutes`).                                                                                                               |
| INTEGER  | sum\_events                 | Total number of tracked events for this visitor (based on `event.num_events`)                                                                                                                                   |
| INTEGER  | count\_event\_records       | Count of records in the `EVENT` table logged for this visitor.                                                                                                                                                  |
| INTEGER  | average\_daily\_minutes     | Of days on which they were active, the average total daily tracked time.                                                                                                                                        |
| INTEGER  | average\_daily\_events      | Of days on which they were active, the average total daily sum of events.                                                                                                                                       |
| DATE     | first\_event\_on            | Date on which the first event was tracked for this visitor.                                                                                                                                                     |
| DATE     | last\_event\_on             | Date on which the last event was tracked for this visitor.                                                                                                                                                      |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://endash-guidance-docs.gitbook.io/cigro-data-templates/data-model-templates/pendo-visitor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
