Tracking Services Integration
The application uses four primary analytics and user tracking services:Google Analytics 4 (GA4)
Google Analytics 4 provides core user activity tracking, including:- Pageview Tracking: Automatic tracking of page navigation
- Event Tracking: Monitoring user interactions with the application
- Conversion Tracking: Measuring goal completions
- User Journey Analysis: Understanding the user flow through the application
Microsoft Clarity
Clarity provides enhanced user behavior analytics through:- Session Recording: Visual replay of user interactions
- Heatmaps: Visualization of click and scroll patterns
- User Frustration Detection: Identification of rage clicks and dead clicks
- Performance Metrics: Tracking of page load and interaction times
Google Ads Conversion Tracking
For marketing performance measurement, the application implements Google Ads tracking:- Conversion Tracking: Measuring the effectiveness of ad campaigns
- Remarketing: Supporting audience targeting for ad campaigns
- Campaign ROI Analysis: Evaluating the return on ad spend
Crisp Chat Analytics
Crisp provides both customer support and behavior analytics:- Support Conversation Analysis: Tracking of support request patterns
- User Segmentation: Grouping users based on behavior
- Engagement Metrics: Measuring response times and satisfaction rates
Configuration Management
The analytics services are configured using environment variables and a centralized configuration object:Analytics Component Integration
All analytics scripts are managed by a centralized component that handles script injection and event tracking:Event Tracking Implementation
The application tracks various user events to gather insights on behavior and optimize the experience:Page Views
Page views are automatically tracked when users navigate between pages:Custom Events
For specific user actions, custom events are tracked:User Identification
For authenticated users, the analytics system associates behavior with user profiles:Privacy Compliance
The analytics implementation includes privacy features to comply with regulations:- Consent Management: Cookie consent banner with opt-out options
- Data Anonymization: PII is anonymized in analytics data
- Data Retention: Limited storage period for user data
- GDPR Compliance: Data processing agreements with all services
Analytics Dashboard
The collected data is visualized in dashboards accessible through:- Google Analytics Dashboard: For overall site metrics
- Microsoft Clarity Portal: For user behavior analysis
- Crisp Dashboard: For support-related analytics
- Custom Admin Dashboard: For integrated metrics visualization
Integration with Other Systems
The analytics system integrates with other components of the OnlyAutomator platform:- Web Application: Script injection and event tracking
- Chrome Extension: Usage metrics and feature adoption tracking
- Microservice: Server-side event tracking and processing
- Email System: Campaign performance measurement