Documentation Index
Fetch the complete documentation index at: https://mintlify.com/vemetric/vemetric/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Vemetric is built with privacy at its core, providing you with the tools to comply with GDPR, CCPA, and other privacy regulations while still gaining valuable insights into user behavior.Vemetric gives you full control over cookie usage and data collection, allowing you to respect user privacy choices while maintaining analytics functionality.
Cookie Management
Understanding Vemetric’s Cookie Usage
Vemetric uses a single first-party cookie (_vuid) to track users across sessions when cookies are enabled. This cookie:
- Is set as HttpOnly and Secure
- Uses SameSite=None for cross-subdomain tracking
- Has a domain scope matching your base domain
- Expires after approximately 400 days
- Contains only a user identifier (no personal information)
Cookie-Based vs Cookieless Tracking
Vemetric supports two tracking modes:GDPR Compliance
Consent Management
To comply with GDPR, you must obtain explicit consent before setting cookies. Here’s how to implement consent management with Vemetric:Right to be Forgotten
GDPR grants users the right to have their data deleted. To handle deletion requests:Implementation Steps
Implementation Steps
- Identify the user: Use the user identifier or email to locate their data
- Contact Vemetric support: Submit a deletion request with the user identifier
- Verify deletion: Confirm that all user data has been removed from analytics
Vemetric automatically anonymizes data after retention periods, but explicit deletion requests should be processed immediately.
Data Minimization
Vemetric follows data minimization principles by:- Header filtering: Only essential headers are stored (user-agent, referer, SDK headers)
- IP anonymization: Client IPs are used for geo-location but can be excluded from storage
- No PII by default: Personal information is not collected unless explicitly sent
CCPA Compliance
The California Consumer Privacy Act (CCPA) requires businesses to disclose data collection practices and honor opt-out requests.Do Not Track
Respect the Do Not Track browser setting:Opt-Out Implementation
Provide users with an easy way to opt out of tracking:IP Exclusion
Vemetric allows you to exclude specific IP addresses from tracking, useful for:- Filtering out internal team traffic
- Excluding office networks
- Removing bot traffic from specific sources
Configure IP Exclusion
Geographic Restrictions
Exclude traffic from specific countries to comply with regional restrictions or focus on target markets:- The request is identified by IP geolocation
- No data is stored or processed
- The response returns a silent 200 OK status
Data Retention
Vemetric supports configurable data retention periods:Event Data
Events are retained based on your plan:
- Free tier: 30 days
- Pro tier: 1 year
- Enterprise: Custom retention
User Data
User profiles are retained as long as they remain active. Inactive users are automatically cleaned up after the retention period.
Privacy-First Features
Bot Detection
Vemetric automatically filters out bot traffic using:- User agent analysis
- Known bot pattern matching
- Behavioral signals
Prefetch Filtering
Browser prefetch requests are automatically detected and excluded:Header Sanitization
Only essential headers are stored for analytics: Allowed headers:user-agent(for device detection)referer(for traffic source analysis)v-sdk,v-sdk-version,v-host,v-referrer(Vemetric SDK headers)sec-ch-*(Client Hints for privacy-preserving device info)
Best Practices
Be transparent
Be transparent
- Clearly disclose what data you collect in your privacy policy
- Explain how analytics data is used
- Provide links to Vemetric’s privacy documentation
Honor user choices
Honor user choices
- Respect opt-out preferences
- Don’t track users who decline cookies
- Make it easy to withdraw consent
Minimize data collection
Minimize data collection
- Only track events that provide business value
- Avoid collecting unnecessary user properties
- Use aggregated data when possible
Secure data transmission
Secure data transmission
- Always use HTTPS for your website
- Vemetric enforces secure connections
- Enable HSTS headers on your domain
Legal Disclaimer
Next Steps
Cross-Subdomain Tracking
Learn how to track users across multiple subdomains while maintaining privacy.
Best Practices
Follow recommended patterns for event naming and data structure.