Analytics Documentation

Everything you need to integrate analytics into your applications.

Getting Started

1. Get Your API Key

Go to Settings → API Keys and generate a new Write Key. You'll need this to authenticate your requests.

2. Choose Your Integration Method

JavaScript SDK

Best for web applications. Automatic page views, sessions, and identity.

View SDK Docs →

REST API

Best for backends, mobile apps, or any custom integration.

View API Docs →

3. Start Sending Events

Once integrated, events will appear in your dashboard within seconds.

API Endpoints

Collector API: https://analytics.chatnationbot.com/v1/capture
Dashboard API: https://analytics.chatnationbot.com/api/dashboard