Docs / Activity

Presence

Count observed community visits, including visits without contributions. Understand each source's coverage and collection gaps.

Overview

Presence records days when known members visit a community. Several visits by one person to one community on one day count as one visit day.

Presence remains separate from contribution activity. Visits never create members or accounts. They do not affect matching, start enrichment, or trigger routing. They do not identify which posts someone read, reading duration, or reasons for absence.

Presence counts are minimum observed values. Missing records indicate unknown activity, not confirmed absence.

Where presence comes from

Presence requires an existing account on the source. Import the source’s accounts before enabling presence.

Source Collection
Discourse Hourly admin API snapshots record each account’s last-seen day. Datum does not infer intervening days.
PostHog Identified pageviews on one exact community hostname become visit days. Datum excludes anonymous views, paths, titles, and query strings.
Slack Imports use Slack member analytics exports. Datum does not read Slack’s green active indicator.
Discord and other sources No built-in collector. Your server can push known visits.

Configure

Presence configuration requires the owner role. For a source with a built-in collector:

  1. Open the source on Sources.
  2. Open Overview.
  3. Enable Collect presence.

PostHog requires a hostname first:

  1. Select Set up to open Settings.
  2. Find Community presence.
  3. Enter the Community hostname.
  4. Select Collect presence.
  5. Press Save presence settings.

The PostHog hostname cannot change after configuration. Use another connection for another community.

Other sources, including a webhook source, show the same Collect presence switch on Overview. Switching it on accepts pushes from your own server through a workspace API key, for accounts the source already holds. See Push visits from your own server. Datum creates no accounts from presence and installs nothing in browsers.

Enable collection before the measurement period. Pausing collection retains existing records.

Basics

Read presence

Open Activity → Presence. The controls in the header select the results.

Control Effect
Community or Everyone Community leaves your team out. This is the default. Everyone includes them.
All sources or a source Selects communities with presence collection.
Last 7 days, Last 30 days, Last 90 days Selects a date range. The default is 30 days.
Custom dates and Apply Selects dates up to one year apart.

Below the numbers and the chart, three groups pick out people from the last 30 days:

Group Who is in it
Regulars Present on 10 or more of the last 30 days.
Lurkers Present on 3 or more of the last 30 days, with no contributions in 90 days.
Not observed lately Seen before, but not in the last 14 days. This does not mean they left.

Save as segment saves a group as a segment that keeps itself up to date. The Everyone present table lists each person with Days, Contributions and Last seen. Sort it by last seen, most days or most contributions.

The view has no minimum-days or Visited without contributing filter. To select people with at least some visit days, or visitors without contributions, use the presence filters in a segment. A member profile’s Community presence section has Here 1+ days and Visited without contributing for that one person.

See Reading the presence view for metric definitions.

Use presence in a segment

Last observed community visit and Observed visit days (30 days) provide presence filters. Combine them with activity conditions to select visitors without contributions. Zero observed days does not prove absence.

Import Slack’s member analytics

  1. Export Admin → Analytics → Members → Export in Slack immediately after the required period ends.
  2. Import the file against your Slack connection through the CLI, REST API, or agent.
  3. Specify the first and last dates that the export covers.

The app does not support this upload yet.

A one-day export records each active member on that day. Longer exports record one day per active member: their last active day in the range. Weekly exports therefore identify active members without identifying every visit day.

Datum reads user IDs, active-day counts, and last-active dates. It ignores names, emails, and other columns. It counts and skips unknown user IDs without creating accounts.

Push visits from your own server

Send visit days from your server with a workspace API key that has write scope. Never put this key in a browser.

Each record contains a source account ID (externalId), a date (day), and a basis. Visits and snapshots also need the times you saw the person that day:

Basis Meaning firstAt and lastAt
event An observed visit. Required. Both fall on day, in UTC.
last_seen A snapshot of the account’s last-seen date. Required. Both fall on day, in UTC.
daily_active A day that the source reports as active, without a time. Leave both out.

For a webhook source, externalId is the id you pushed for the person, such as app-101. The member’s Identity panel shows the same account as id:app-101, and either form works. For other sources, use the account ID shown in the Identity panel. Push the person before their presence.

Each push accepts up to 1,000 records. Repeating the same extract adds no duplicate records.

The response counts the records: received, changed (new or widened visit days), unknown (no account on this source) and erased. When some records are unknown, unknownIds lists up to 20 of them as you sent them, and hint says what to send instead. Datum skips unknown records and stores the rest. The source shows an error only when a push matches no account at all.

ocmgr presence configure <connectionId> --json
ocmgr presence push <connectionId> --file presence.json --dry-run --json
ocmgr presence import-slack-analytics <slackConnectionId> \
  --file members.csv --from 2026-09-21 --to 2026-09-27 --json
ocmgr presence list --from 2026-09-01 --to 2026-09-30 --quiet --json

REST and hosted agents require Slack export files staged by the instance operator inside the import directory. Hosted connections cannot upload Slack analytics yet. A CSV member source does not import this analytics file. Configuration requires admin scope. Pushes and imports require write scope.

See configure_presence, push_presence, import_slack_analytics, sync_presence, and list_presence.

Reading the presence view

The view contains summary numbers, a chart for collecting sources, and a people table.

The numbers

Metric Meaning
People present People with observations in the date range.
On an average day Average count across days with readings only.
Stickiness On an average day divided by People present. Higher means visits are becoming a habit.
Visited without contributing People with visits but no recorded contributions in the same community and period, out of everyone present. It says nothing about contributions elsewhere.

What each source counts

Collection methods differ, so sources can report different visit counts for the same person.

Source Visit evidence
PostHog An identified pageview on the configured hostname.
Discourse An account’s last-seen date from an hourly snapshot.
Slack analytics and server pushes A date reported through the export or push.

Bases: last-seen snapshot, visit event, daily active

Each record includes its basis: last_seen, event, or daily_active. The first two describe visits. daily_active reports activity within the community without a time.

The table does not display the basis. Run ocmgr presence list --connection <connectionId> --json to inspect each row’s bases.

When collection is stale

A source that isn’t current appears under the numbers with its status. Sources without records show nothing collected yet. Paused sources show paused. A source with a collection error shows needs attention in red. Hover a source for its latest Last collected time and the error in full. Select it to open the source.

After more than one day without data, the status includes stale. Thus, recent counts can show gaps in collection.

Observed days only: a missing day is unknown, not absent

The chart includes every date in the range. Dates without readings show a baseline mark and no reading on hover. They do not represent zero visits. Today’s darker bar indicates an incomplete day.

No visits match these filters. means the query found no observations. It does not establish inactivity. If presence was never on for a source, the view says Presence is off. It then shows Switch on in Sources. Pausing every source keeps the view and its history, with each source marked paused.

Days are days

The chart groups observations by day. An evening visit in the Americas can appear on the following date. Column height represents people.

The table has one row per person and community, with a strip of their last 30 days. Show more retrieves the next page.

Erasure

Erasure hides the member’s presence and clears its timestamps. Datum rejects all later records for those source account IDs, regardless of date. Repeated extracts cannot restore the records. Returning people need new accounts on the source.

FAQ

Someone visits every day but shows only a few days. Why?

Collection starts when you enable it. Datum never fills unobserved days. Failed collection and old data cause gaps.

PostHog counts only identified views. Longer Slack exports record one day per person. All counts represent minimum observed values.

Do visits make someone count as active?

Visits do not affect contribution counts or routing. They appear in Presence, presence filters, and the weekly scorecard’s visit count.

My push returned 200 but every record is unknown. Why?

No record named an account the source holds. Check unknownIds and hint in the response. For a webhook source, send the id you pushed for the person, and push the person first. For other sources, copy the account ID from the member’s Identity panel.

Can presence identify anonymous visitors?

No. Each record must identify an existing source account. Datum never matches browser identifiers to email addresses.