# spatie/laravel-analytics

> Fetch Google Analytics data from a Laravel application

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/spatie/laravel-analytics
- HTML: https://awesomeopensource.dev/project/spatie-laravel-analytics
- Website: https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released
- License: MIT
- Language: PHP
- stars: 3250
- Topics: analytics, google, laravel, php, statistics
- Activity score: 4.5/5 (Thriving)
- Last commit (any branch): 2026-11-05
- Last release: 5.8.0 2026-10-19

## Description

A Laravel package that retrieves page views, visitors and other Google Analytics data through the Google Analytics Data API. It offers methods for the most visited pages, referrers, browsers and periods, caches responses and returns collections for dashboards or reports. The package installs with Composer and is configured with Google service account credentials.

## Maintenance activity

- Recency: 94% (weight 40%) — last commit: 8 days ago
- Commit volume: 65% (weight 25%)
- Releases: 91% (weight 25%) — last release: 25 days ago
- Bug fixes: 100% (weight 10%)
- Commits: 7 / 90d, 30 / 365d

## Screenshots

- [Screenshot of the Laravel Analytics dashboard widget showing visitors, top pages and referrers](https://awesomeopensource.dev/uploads/1217/adfd84ee91f54fca.png)

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
