Skip to content

GA4 Reports

This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.

FieldValue
Composer packagecapell-app/ga4-reports
Package slugga4-reports
Product groupCapell Marketing & Growth
Tierpremium
Bundlemarketing-growth
Runtime contextsadmin, console
Capell version^1.0
Catalogue roleextension
Release channelBeta
Source repositorycapell-app/packages
Source pathpackages/ga4-reports
Docs sourcepackages/ga4-reports/docs
Manifestcapell.json

GA4 Reports is an Available, Schema-owning Capell package in the Capell Marketing & Growth product group. It ships as capell-app/ga4-reports and extends these surfaces: admin, console.

GA4 Reports synchronizes Google Analytics 4 metrics into local daily, page, and sync-run records for cached admin reporting.

Administrators configure the property and credentials, then review overview metrics, traffic trends, top pages, setup state, and sync freshness from the admin page and widgets.

Status details:

  • Status: Available
  • Tier: premium
  • Bundle: marketing-growth
  • Composer package: capell-app/ga4-reports
  • Namespace: Capell\GA4Reports
  • Theme key: not applicable

For developers: A replaceable data-client contract and focused sync and report Actions keep external API calls off the admin render path.

For teams: Content and marketing teams can read recent traffic and page performance beside their CMS work and use sync history to judge whether the snapshot is current.

Screenshot contract: docs/screenshots.json.

GA4 Reports dashboard page

GA4 Reports setup status widget

  • GA4 Reports dashboard page (admin, required evidence).
  • GA4 Reports setup status widget (admin, required evidence).
  • GA4 Reports settings (admin, required evidence).
  • GA4 Reports top pages detail (admin, supplementary evidence).
  • GA4 Reports dashboard page with admin sidebar menu open (admin, supplementary evidence).
  • Capell\GA4Reports\Providers\GA4ReportsServiceProvider
  • Capell\GA4Reports\Providers\AdminServiceProvider
  • packages/ga4-reports/config/capell-ga4-reports.php
  • packages/ga4-reports/database/migrations/2026_05_10_190852_01_create_ga4_reports_daily_metrics_table.php
  • packages/ga4-reports/database/migrations/2026_05_10_190852_02_create_ga4_reports_page_metrics_table.php
  • packages/ga4-reports/database/migrations/2026_05_10_190852_03_create_ga4_reports_sync_runs_table.php
  • packages/ga4-reports/database/settings/2026_05_10_190853_01_create_ga4_reports_settings.php
  • packages/ga4-reports/database/settings/2026_10_02_000001_add_ga4_reports_sync_cron.php
  • GA4ReportsSettings
  • GA4ReportsSettingsMigrationProvider
  • GA4ReportsDailyMetric
  • GA4ReportsPageMetric
  • GA4ReportsSyncRun
  • GA4ReportsPage
  • GA4ReportsDashboardSettingsContributor
  • GA4ReportsSettingsSchema
  • BuildsGA4ReportsDashboardWindow
  • GA4ReportsOverviewStatsFilamentWidget
  • GA4ReportsSetupStatusFilamentWidget
  • GA4ReportsTopPagesFilamentWidget
  • GA4ReportsTopPagesTableFilamentWidget
  • GA4ReportsTrafficTrendFilamentWidget
  • GA4ReportsDataClientInterface
  • BuildGA4ReportsDigestAction
  • BuildGA4ReportsOverviewAction
  • BuildGA4ReportsTrendAction
  • BuildGA4ReportsWindowAction
  • BuildTopGA4ReportsPagesAction
  • CheckGA4ReportsCredentialsPathAction
  • ExportGA4ReportsDigestCsvAction
  • PersistGA4ReportsDailyMetricAction
  • PersistGA4ReportsPageMetricAction
  • PruneGA4ReportsSyncRunsAction
  • RedactGA4ReportsSyncErrorMessageAction
  • ResolveGA4ReportsConfigAction
  • SyncGA4ReportsMetricsAction
  • GA4ReportsConfigData
  • GA4ReportsCredentialsStatusData
  • GA4ReportsDailyMetricData
  • GA4ReportsDigestData
  • GA4ReportsOverviewData
  • GA4ReportsPageMetricData
  • GA4ReportsSyncResultData
  • GA4ReportsTopPageData
  • GA4ReportsTrendPointData
  • GA4ReportsWindowData
  • capell:ga4-reports-doctor
  • capell:ga4-reports-prune
  • capell:ga4-reports-prune (daily; package registered)
  • capell:ga4-reports-sync (package registered)
  • GA4ReportsDoctorCommand
  • PruneGA4ReportsSyncRunsCommand
  • SyncGA4ReportsCommand
  • admin-page: Capell\GA4Reports\Manifest\GA4ReportsAdminPageContribution
  • console-command: Capell\GA4Reports\Manifest\GA4ReportsConsoleCommandsContribution
  • dashboard-widget: Capell\GA4Reports\Manifest\GA4ReportsDashboardFilamentWidgetsContribution
  • health-check: Capell\GA4Reports\Manifest\GA4ReportsHealthContribution
  • model: Capell\GA4Reports\Manifest\GA4ReportsModelsContribution
  • overview-stat: Capell\GA4Reports\Manifest\GA4ReportsOverviewStatsContribution
  • scheduled-job: Capell\GA4Reports\Manifest\GA4ReportsRetentionScheduleContribution
  • scheduled-job: Capell\GA4Reports\Manifest\GA4ReportsScheduledSyncContribution
  • setting: Capell\GA4Reports\Manifest\GA4ReportsSettingsContribution
  • Capell\GA4Reports\Health\Ga4ReportsHealthCheck
  • packages/ga4-reports/resources/views/filament/pages/ga4-reports.blade.php
  • ga4-reports
  • Required tables: ga4_reports_sync_runs, ga4_reports_daily_metrics, ga4_reports_page_metrics.
  • Models: GA4ReportsDailyMetric, GA4ReportsPageMetric, GA4ReportsSyncRun.
  • Migration files: 2026_05_10_190852_01_create_ga4_reports_daily_metrics_table.php, 2026_05_10_190852_02_create_ga4_reports_page_metrics_table.php, 2026_05_10_190852_03_create_ga4_reports_sync_runs_table.php.
  • Migration impact: run host migrations through the package install flow before opening package surfaces.
  • Deletion/retention behaviour: retention is scheduled through capell:ga4-reports-prune (daily; registered by the package provider).
  • Required packages: capell-app/admin, capell-app/core.
  • Admin navigation: declares admin-page: GA4ReportsAdminPageContribution; each Filament page or resource controls its own navigation visibility.
  • Admin/editor extensions: dashboard-widget: GA4ReportsDashboardFilamentWidgetsContribution, overview-stat: GA4ReportsOverviewStatsContribution.
  • Permissions: View:GA4ReportsPage; Shield-generated page permissions for Capell\GA4Reports\Filament\Pages\GA4ReportsPage (names and grants depend on host Shield configuration).
  • Public routes: none declared.
  • Database changes: package migrations are declared.
  • Config: config/capell-ga4-reports.php.
  • Settings: Capell\GA4Reports\Settings\GA4ReportsSettings.
  • Queues or schedules: scheduled commands capell:ga4-reports-prune (daily; package registered), capell:ga4-reports-sync (package registered).
  • Cache tags: ga4-reports.
  • Commands: capell:ga4-reports-doctor, capell:ga4-reports-prune.
  • Keep required Capell packages on compatible v4 releases: capell-app/admin, capell-app/core.
  • Run migrations before opening package resources or public routes.
  • Review package configuration before production-like verification: config/capell-ga4-reports.php, Capell\GA4Reports\Settings\GA4ReportsSettings.
  • Keep the host Laravel scheduler running so package-registered schedules can execute: capell:ga4-reports-prune (daily; package registered), capell:ga4-reports-sync (package registered).
  • Custom write integrations must preserve invalidation for ga4-reports cache tags.
SymptomLikely causeCheckFix
Package health check reports a problemPackage configuration or runtime dependencies are not readyRun php artisan capell:ga4-reports-doctorFollow the reported checks, then rerun the doctor command
Package surface is missing after installProvider or manifest is not loadedConfirm capell.json, package composer.json, and provider registrationReinstall the package, refresh Composer autoload, and clear host caches
Admin screen or command fails on missing tablePackage migrations have not runCheck the tables listed in Data ModelRun host migrations and rerun the focused package test
Background work does not runQueue worker or declared schedule is not activeCheck the jobs and scheduled commands listed in Technical ShapeStart the queue worker or host scheduler, then run the focused command or package test
  1. Install the package: composer require capell-app/ga4-reports.
  2. Open the package admin surface at /admin/ga4-reports and confirm GA4 Reports is available.