v1.2.0

Janus Client SDK

A lightweight JavaScript library for tracking events from web applications. Automatically handles batching, retries, rate limiting, and persistence.

Lightweight (~3KB)Auto RetryBatchingPersistence

Troubleshooting

Events not appearing in dashboard#

1. Check browser console for errors 2. Enable debug mode: { debug: true } 3. Verify API key is correct and starts with jns_ 4. Check network tab for failed requests

"Origin not allowed" error#

Your API key has origin restrictions that don't include your current domain. 1. Go to Settings > API Keys 2. Edit the key 3. Add your domain to allowed origins

Rate limit errors#

You're sending too many events. The SDK will automatically retry, but consider: 1. Reducing event frequency 2. Upgrading your plan for higher limits 3. Batching more events (increase batchSize)

Events missing after page navigation#

For SPAs, the SDK automatically tracks navigation via the History API (enabled by default). For multi-page sites, make sure you're initializing the SDK on every page. If you disabled trackSPANavigation, re-enable it or manually call Janus.page() on route changes.

Need Help?

If you have questions or run into issues, check out our troubleshooting guide or reach out to our support team.

Troubleshooting Guide