# Campaign statistics

Canonical: https://crispy.sh/help/campaign-stats

Category: Analytics & Insights

`get_variant_stats` returns per-step, per-arm delivery and response counts for campaign activities whose variant_index was recorded. Base-only steps and deterministic base fallbacks have variant_index NULL and are excluded. Campaigns with variants on unsupported paths fail with VARIANTS_NOT_APPLIED instead of returning partial attribution.

For the live activity picture, `get_activity_analytics` returns a daily breakdown over a chosen window (default 7 days) covering invitations sent, messages, and posts. Days with no recorded activity come back as empty rows, which makes gaps in your outreach cadence easy to spot.

By default it counts only actions taken through Crispy. Set tracking mode to 'all_activity' via `update_account_settings` to cover everything on the account, which matters if you also work LinkedIn manually.
