ℹ️Prerequisites
You need a Sypnia account. Sign up here if you haven't already.
1Create a Project
- 1. Go to your Dashboard
- 2. Click "New Project"
- 3. Enter your website name (e.g., "My Blog")
- 4. Add your domain (e.g.,
myblog.com) - 5. Click "Create Project"
2Copy the SDK Script
After creating your project, you'll see your unique script tag in the Settings page:
Your SDK Script
<script src="https://your-sypnia-domain.com/api/sdk/sk_abc123xyz"></script>3Add to Your Website
Paste the script tag in your HTML <head> section:
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Website</title>
<!-- Sypnia Analytics -->
<script src="https://sypnia.com/api/sdk/sk_abc123xyz"></script>
</head>
<body>
<!-- Your content -->
</body>
</html>4Verify Installation
Open your browser's Developer Tools (F12) and check the Console. You should see:
🔮 Sypnia SDK Loaded
Project: My Website
Session: sess_abc123...
Visitor: vis_xyz789...Navigate around your website and check your Sypnia dashboard — you should see events appearing in real-time!
✅You're all set!
Sypnia is now tracking:
- ✓ Page views and navigation
- ✓ User sessions
- ✓ JavaScript errors
- ✓ HTTP errors (configurable)
- ✓ Performance metrics
🔧 Troubleshooting
SDK not loading?
- • Check that your API key is correct
- • Ensure the domain matches your allowed domains
- • Check for ad blockers that might block the script
No events appearing?
- • Wait a few seconds — events are batched
- • Check the Network tab for requests to
/api/track - • Ensure tracking is enabled in project settings