Dainik Bhaskar Z-Analytics
Custom Real-Time Web Analytics Platform
Built Z-Analytics, a custom real-time web analytics platform for Dainik Bhaskar replacing Google Analytics and paid enterprise tools with a unified, accurate tracking system. Provides precise UVs, PVs, sessions, bounce rate, session duration, and pages-per-session with sub-second data freshness and no sampling.
Enterprise Ready
Designed for large-scale business deployments.
Scalable
Flexible architecture supporting enterprise growth.
Modern Technology
Built with secure APIs and modern engineering practices.
Project Overview
Client
Dainik Bhaskar (India's Largest Circulated Hindi Daily)
Project
Z-Analytics — Custom Real-Time Web Analytics Platform
Description
Dainik Bhaskar needed to replace Google Analytics and expensive third-party paid analytics tools with a unified, self-hosted solution providing 100% accurate data without sampling. ZAAX Consulting built Z-Analytics, a custom real-time web analytics platform on LAMP stack delivering precise Unique Visitors (UVs), Page Views (PVs), Sessions, Bounce Rate, Session Duration, and Pages-per-Session metrics with sub-second data freshness — eliminating sampling errors and vendor lock-in.
Technology Stack
LAMP (Linux, Apache, MySQL, PHP) • HTML • JSON • jQuery • JavaScript • REST APIs
Platforms
Web (Desktop/Mobile/Tablet) • Responsive Admin Dashboard
Key Deliverables
Real-Time Event Collection Pipeline • Sessionization Engine • Metric Computation Engine • No-Sampling Aggregation • Sub-Second Dashboard • Export/Scheduled Reports • API Access
Enterprise Platform Capabilities
Built with enterprise-grade architecture, scalable integrations, security and modern user experiences.
Real-Time Event Collection & Ingestion
Client-Side Event Tracker
Lightweight JavaScript snippet deployed across all Dainik Bhaskar web properties (desktop, mobile web, AMP) capturing page views, scroll depth, clicks, video plays, form submissions, and custom events with <50ms overhead.
High-Throughput Ingestion Pipeline
PHP/MySQL-based ingestion endpoint handling 500K+ events/second with batched writes, async queue processing, and automatic retry/backoff for database resilience during traffic spikes.
Cross-Domain & Subdomain Tracking
Unified visitor identification across dainikbhaskar.com, epaper.dainikbhaskar.com, and mobile subdomains using first-party cookies with fallback to localStorage and fingerprinting for privacy-compliant tracking.
Sessionization & Visitor Identification
Server-Side Sessionization Engine
Real-time session construction from raw events using 30-minute inactivity timeout, midnight cutover handling, and campaign attribution (UTM, referrer, direct) with first/last touch attribution models.
Accurate Unique Visitor (UV) Counting
Probabilistic HyperLogLog-based UV estimation with deterministic cookie-based exact counting for logged-in users — eliminating GA-style sampling with 99.9%+ accuracy at scale.
Bot & Spam Filtering
Real-time filtering of known bots, crawlers, and suspicious traffic using IP reputation lists, user-agent analysis, and behavioral heuristics (impossibly fast navigation, zero mouse movement) before metrics computation.
Core Metrics Computation (No Sampling)
Page Views (PV) & Unique Page Views
Exact PV count with deduplication for single-page applications and AJAX navigation. Unique page views per session computed in real-time.
Sessions & Session Metrics
Total sessions, avg. session duration, pages per session, bounce rate (single-page sessions), and exit rate — all computed from complete session data with zero sampling.
Engagement & Behavior Metrics
Scroll depth percentile (25/50/75/100), time on page (heartbeat-based), video play/completion rates, file downloads, outbound link clicks, and form conversion funnels — all computed from raw events.
Real-Time & Historical Dashboards
Sub-second refresh showing live active users, current PV/minute, top pages, traffic sources, geographic heatmap, device breakdown, and trending content — with historical comparison (WoW, MoM, YoY) and anomaly detection alerts.
Segmentation & Drill-Down
Multi-Dimensional Slicing
Slice any metric by: Date/Time (minute/hour/day/week/month), Geography (Country/State/City), Device (Desktop/Mobile/Tablet), OS, Browser, Screen Resolution, Traffic Source (Direct/Organic/Social/Referral/Email/Campaign), Content Category, Author, Language.
Content Performance Analytics
Article-level PV, UV, avg. time on page, scroll completion %, social shares, comments, and revenue attribution. Top/Bottom content lists with filters for date range, category, author, and traffic source.
Audience & Retention Analysis
New vs. Returning visitors, frequency/recency distributions, cohort retention curves (Day 1/7/30), loyalty segments (power users, casual, at-risk), and churn prediction based on engagement decay.
Traffic Source & Campaign Attribution
UTM parameter parsing, referrer classification, direct traffic de-anonymization, and multi-touch attribution (first touch, last touch, linear, time decay) with ROI calculation for paid campaigns.
Reporting, Export & API
Scheduled & Automated Reports
Cron-based report generation (hourly/daily/weekly/monthly) delivered via email as Excel (.xlsx), PDF, or CSV with customizable templates for editorial, marketing, and leadership teams.
Ad-Hoc Report Builder
Self-service drag-and-drop report builder with metric/dimension selection, filters, visualizations (line/bar/pie/area/heatmap), and save/share/clone functionality for power users.
Multi-Format Export & API Access
Export to Excel (.xlsx), PDF, CSV, JSON with custom date formats and locale. REST API endpoints for programmatic data access enabling integration with internal BI tools (Tableau, PowerBI) and custom dashboards.
Data Governance & Privacy
GDPR/PDPB-compliant data retention policies, user deletion API, IP anonymization option, consent management integration, and audit logs for all data access/export actions.
Enterprise Benefits
Delivering measurable business outcomes through modern technology, intelligent automation and enterprise-grade engineering.
Data Accuracy
100% unsampled data — eliminated GA sampling errors showing 5-15% variance on high-traffic pages.
Cost Savings
Eliminated $50K+/year in Google Analytics 360 and third-party analytics tool licensing fees.
Data Freshness
Sub-second dashboard updates vs. GA's 24-48 hour processing delay for standard reports.
Data Sovereignty
Full data ownership on-premise/in private cloud — no vendor lock-in, GDPR/PDPB compliant by design.
Customization
Custom metrics, dimensions, and funnel definitions impossible in GA — tailored to Dainik Bhaskar's editorial workflow.
Scalability
Handles 10M+ daily UVs and 100M+ daily PVs with horizontal MySQL scaling and Redis caching for dashboards.
Enterprise
Architecture
Secure
APIs
Cloud
Ready
Scalable
Platform
Business Value
Z-Analytics gave Dainik Bhaskar complete ownership of their web analytics — eliminating vendor dependency, sampling errors, and costly enterprise licenses while delivering faster, more accurate insights. The editorial team now makes real-time content decisions based on live data; marketing optimizes campaigns with accurate attribution; leadership sees true audience metrics without sampling distortion. The platform processes 100M+ daily events at a fraction of GA360 cost, proving that custom analytics can outperform enterprise SaaS at scale.
Enterprise Solution
Built with modern architecture, secure integrations and scalable engineering practices to support enterprise growth.
Need Accurate Real-Time Web Analytics?
ZAAX Consulting builds custom analytics platforms replacing GA360/paid tools with accurate, real-time, first-party analytics for media, publishing, and enterprise.
Talk to Our Experts