{"adoption": {"forks": 472, "observed_at": "2026-08-28T04:07:50.436212+00:00", "stars": 3239}, "canonical_url": "https://ross.abutalabs.com/products/laravel-analytics", "card": {"archived": false, "artifact_type": "library", "description": "A Laravel package to retrieve pageviews and other data from Google Analytics", "domain": ["analytics", "web-development", "developer-tools"], "enriched": true, "function": ["analytics", "api-framework", "http-client"], "health_score": 92, "homepage": "https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["spatie/laravel-analytics"], "name": "spatie/laravel-analytics", "platform": ["php"], "pushed_at": "2026-06-26T09:43:28+00:00", "repo": "spatie/laravel-analytics", "stars": 3239, "tags": ["laravel-package", "google-analytics", "ga4", "spatie", "pageviews", "laravel"], "topics": ["laravel", "php", "analytics", "google", "statistics"], "urls": [], "use_cases": ["show pageviews and visitor stats in a Laravel admin dashboard", "fetch most visited pages for the last 7 days", "get top browsers of my site visitors", "display total visitors and page views for a period", "run custom Google Analytics GA4 queries from PHP", "embed site statistics into a Laravel app"], "what_it_is": "A Laravel PHP package that provides a simple, fluent API for retrieving pageviews, visitors, top pages, browsers, and other data from Google Analytics (GA4). It wraps the verbose Google Analytics API responses into convenient Laravel Collections.", "when_to_avoid": ["your project is not Laravel/PHP", "you need real-time or server-side event tracking rather than reporting data", "you use a different analytics provider like Plausible or Matomo"], "when_to_choose": ["you have a Laravel app and want Google Analytics data with minimal setup", "you want GA4 responses converted to clean PHP collections", "you need clear guidance for Google service account authentication"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/laravel-analytics", "repo": "spatie/laravel-analytics", "role": "main", "score": 84}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:43:55.795876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83bd67912e4730d777dae70b9b5efc73cf1c4ea6f54dc4ec86a0ae3a3ac307c8", "fetched_at": "2026-08-28T04:07:50.436212+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-analytics"}, {"content_hash": "b8c7bf8404e510d61825f3868a526898c2e922ac7dc2d87fa9bc6541e127f5f4", "fetched_at": "2026-08-29T09:37:18.434948+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:37:18.444382+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:43:55.795876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83bd67912e4730d777dae70b9b5efc73cf1c4ea6f54dc4ec86a0ae3a3ac307c8", "fetched_at": "2026-08-28T04:07:50.436212+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-analytics"}, {"content_hash": "b8c7bf8404e510d61825f3868a526898c2e922ac7dc2d87fa9bc6541e127f5f4", "fetched_at": "2026-08-29T09:37:18.434948+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:37:18.444382+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:43:55.795876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83bd67912e4730d777dae70b9b5efc73cf1c4ea6f54dc4ec86a0ae3a3ac307c8", "fetched_at": "2026-08-28T04:07:50.436212+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-analytics"}, {"content_hash": "b8c7bf8404e510d61825f3868a526898c2e922ac7dc2d87fa9bc6541e127f5f4", "fetched_at": "2026-08-29T09:37:18.434948+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:37:18.444382+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:43:55.795876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83bd67912e4730d777dae70b9b5efc73cf1c4ea6f54dc4ec86a0ae3a3ac307c8", "fetched_at": "2026-08-28T04:07:50.436212+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-analytics"}, {"content_hash": "b8c7bf8404e510d61825f3868a526898c2e922ac7dc2d87fa9bc6541e127f5f4", "fetched_at": "2026-08-29T09:37:18.434948+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:37:18.444382+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:43:55.795876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83bd67912e4730d777dae70b9b5efc73cf1c4ea6f54dc4ec86a0ae3a3ac307c8", "fetched_at": "2026-08-28T04:07:50.436212+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-analytics"}, {"content_hash": "b8c7bf8404e510d61825f3868a526898c2e922ac7dc2d87fa9bc6541e127f5f4", "fetched_at": "2026-08-29T09:37:18.434948+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:37:18.444382+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:43:55.795876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83bd67912e4730d777dae70b9b5efc73cf1c4ea6f54dc4ec86a0ae3a3ac307c8", "fetched_at": "2026-08-28T04:07:50.436212+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-analytics"}, {"content_hash": "b8c7bf8404e510d61825f3868a526898c2e922ac7dc2d87fa9bc6541e127f5f4", "fetched_at": "2026-08-29T09:37:18.434948+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:37:18.444382+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:50.436212+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:43:55.795876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83bd67912e4730d777dae70b9b5efc73cf1c4ea6f54dc4ec86a0ae3a3ac307c8", "fetched_at": "2026-08-28T04:07:50.436212+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-analytics"}, {"content_hash": "b8c7bf8404e510d61825f3868a526898c2e922ac7dc2d87fa9bc6541e127f5f4", "fetched_at": "2026-08-29T09:37:18.434948+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:37:18.444382+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:43:55.795876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83bd67912e4730d777dae70b9b5efc73cf1c4ea6f54dc4ec86a0ae3a3ac307c8", "fetched_at": "2026-08-28T04:07:50.436212+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-analytics"}, {"content_hash": "b8c7bf8404e510d61825f3868a526898c2e922ac7dc2d87fa9bc6541e127f5f4", "fetched_at": "2026-08-29T09:37:18.434948+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:37:18.444382+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:43:55.795876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83bd67912e4730d777dae70b9b5efc73cf1c4ea6f54dc4ec86a0ae3a3ac307c8", "fetched_at": "2026-08-28T04:07:50.436212+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-analytics"}, {"content_hash": "b8c7bf8404e510d61825f3868a526898c2e922ac7dc2d87fa9bc6541e127f5f4", "fetched_at": "2026-08-29T09:37:18.434948+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:37:18.444382+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:43:55.795876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83bd67912e4730d777dae70b9b5efc73cf1c4ea6f54dc4ec86a0ae3a3ac307c8", "fetched_at": "2026-08-28T04:07:50.436212+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-analytics"}, {"content_hash": "b8c7bf8404e510d61825f3868a526898c2e922ac7dc2d87fa9bc6541e127f5f4", "fetched_at": "2026-08-29T09:37:18.434948+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/2477-laravel-analytics-v5-with-support-for-ga4-has-been-released"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T09:37:18.444382+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 89, "longevity": 100, "rhythm": 69}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4192, "days_push": 68, "days_rel": 127, "gap_med": 36.0, "n_releases_24m": 9}, "score": 84, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}