Guides
Best Practices
Tips for getting the most out of Metrifyr
Best Practices
Query Optimization
Be specific:
- ✅ "Show me users and sessions for the last 7 days"
- ❌ "Show me analytics"
Batch requests:
- Ask for multiple metrics in one query
- Reduces API calls and saves rate limit
Use memory:
- Store default properties to avoid repeating yourself
Security
API keys:
- One key per device/project
- Rotate keys every 3-6 months
- Never commit to Git
Permissions:
- Enable only needed tools per key
- Use read-only when possible
Rate Limits
Monitor usage:
- Check dashboard regularly
- Set up alerts (coming soon)
Optimize:
- Cache common queries
- Avoid redundant requests