---
title: "Analitika a parancssorból | Posty dokumentáció"
description: "Csatorna- és bejegyzésstatisztika lekérése, és mi hiányzik még egy bejegyzésből."
canonical: https://posty.hu/en/docs/cli/analytics
source: https://posty.hu/en/docs/cli/analytics.md
---

Parancssor (CLI)

# Analitika a parancssorból

Csatorna- és bejegyzésstatisztika lekérése, és mi hiányzik még egy bejegyzésből.

## analytics:platform

A channel's statistics for the last N days.

```
posty analytics:platform <csatorna-azonosito> -d 30
```

Kód másolása

## analytics:post

A published post's platform numbers.

```
posty analytics:post <bejegyzes-azonosito>
```

Kód másolása

The numbers come from the platform, with a delay

Platforms don't calculate in real time. A post's numbers start to make sense hours after publishing, and they can still change for days. If the post has no platform ID recorded, there will be no statistics either. The [Analytics](https://posty.hu/en/docs/analytics) page covers this.

## posts:missing

Tells you what is still missing from a post before it can be published: a required platform setting, media, a title. Worth running before you schedule.

```
posty posts:missing <bejegyzes-azonosito>
```

Kód másolása

## Weekly report

Every command writes JSON to stdout, so the report is a few lines:

```
for id in $(posty integrations:list | jq -r '.[].id'); do
  echo "== $id"
  posty analytics:platform "$id" -d 7
done > heti-riport.json 2>> hiba.log
```

Kód másolása

Errors go to stderr, so you can still process the report file even if a channel is disconnected. The [CLI intro](https://posty.hu/en/docs/cli) covers the output contract. The `-d` flag is the number of days on both analytics commands.

Documentation pages

Is something missing from this page? Email [norbert@posty.hu](mailto:norbert@posty.hu) or use the form on the [Help](https://posty.hu/en/help) page.
