Repository navigation
v1.2.0 β Apps, shop insights & journeys π±ππ¦
Nyx Analytics now tracks native apps in the same dashboard as your website, and adds the insights a shop actually needs. Still no cookies, no device ids and no IP storage. π¦
π± Apps β same dashboard as your website
- Every event carries a platform (
web,android,ios,macos,windows,linux) and an app version. Older data counts as web, and nothing gets migrated away. - Platforms panel (with an app-version tab) and Revenue by platform. Both appear once an app reports in, so web-only sites look exactly as before.
- Platform and version filters narrow everything, including revenue, site search, 404s and goals.
- Flutter SDK in
sdk/flutter: consent switch, automatic screen views (NyxRouteObserver),event(),search(),purchase()andsetCampaign(). Fire-and-forget, never throws into your app. - Any other stack (Swift, Kotlin, React Native, Unity β¦): one JSON
POST /api/collect. The protocol table is in the README. - Privacy: apps send a random id per launch, kept in memory only and hashed with the daily salt. There is no device or advertising id. The bot filter still applies to apps.
- Embed dialog with tabs for Website / Flutter app / Other apps. It comes prefilled with your server URL and domain, so you just copy and paste.
π Shop insights
- Purchases & revenue: revenue, orders, average order value, conversion rate and revenue by source (first source of the buying visit). Send a
Purchaseevent with avalue. - Site search with result counts and a No results tab, including search overlays that live in the URL hash.
- Broken pages (404) with the referring page.
- Scroll depth per page (average and share reaching 75 %).
- Payment providers (PayPal, Klarna, Mollie β¦) no longer show up as traffic sources. They are listed separately as returning customers.
- Internal traffic filter: visitors opening configured paths (CMS preview, admin) are excluded for the day, retroactively too.
- Year-over-year comparison in the stat cards, shown automatically once data reaches back a year.
π Also new since v1.1
- Visitor journeys (Sankey) + journeys API
- Funnels builder and visualisation
- Share links (read-only, per site)
- Daily digest webhook (Discord-compatible) + hourly anomaly watchdog
- Toggle chart series from the legend
Upgrading
git pull && npm install, then restart. New columns are added automatically on start, and existing data is kept.
Full changelog: v1.1.0...v1.2.0