Analytics

Analytics Overview

Novus CMS integrates with Google Analytics 4 (GA4) to provide valuable insights about your website's traffic, user behavior, and content performance. This integration allows you to access analytics data directly within your admin dashboard.

What You Can Track

The Novus Analytics Dashboard provides rich insights into:

  • Visitor Metrics: Track user counts, page views, and session durations
  • Content Performance: Discover your most popular pages and posts
  • Traffic Sources: Identify where your visitors are coming from
  • User Behavior: Understand how visitors interact with your content
  • SEO Performance: Monitor search engine visibility and keyword performance
  • Technical Metrics: View page load times, bounce rates, and device usage

Analytics Dashboard Sections

Novus organizes analytics into three main sections:

  1. Dashboard Overview: Quick summary of key metrics
  2. Statistics: Detailed visitor and pageview analytics
  3. Performance: Technical performance and user experience metrics

Configuration At A Glance

The analytics integration is configured in your config/novus.php file:

'analytics' => [
    'property_id' => env('ANALYTICS_PROPERTY_ID', 'XXXXXXXX'),
    'service_account_credentials_json' => storage_path('app/analytics/service-account-credentials.json'),
    'cache_lifetime_in_minutes' => 60,
    'default_period' => 30,
    'available_periods' => [30, 60, 90, 180],
    // Additional settings...
],

Getting Started

To use Google Analytics with Novus, you'll need to:

  1. Set up a Google Analytics 4 property for your website
  2. Create service account credentials in Google Cloud
  3. Configure Novus with your GA4 property ID and credentials

See the following guides for step-by-step instructions:

Requirements

  • A Google account
  • A website with Google Analytics 4 tracking set up
  • Google Cloud project with API access
  • Service account with appropriate permissions

Data Refresh

By default, Novus caches analytics data for 60 minutes to improve performance. You can refresh the data manually by clicking the "Refresh" button in the analytics dashboard.

Data Latency

Google Analytics data typically has a 24-48 hour delay for complete data processing. Real-time data is available but may be limited. Plan your reporting expectations accordingly.

Next Steps

To set up Google Analytics integration:

  1. Follow the Google Analytics Setup Guide to create your GA4 property and service account
  2. Review the Analytics Configuration Options to customize your analytics dashboard
Previous
Installation