Skip to content

Insights

This page is generated from public package documentation in capell-4/packages and the package manifest checked into the source repository.

FieldValue
Composer packagecapell-app/insights
Package sluginsights
Product groupCapell Growth
Tierpremium
Bundlegrowth
Runtime contextsadmin, frontend
Capell version^4.0
Source repositorycapell-app/packages
Source pathpackages/insights
Docs sourcepackages/insights/docs
Manifestcapell.json

Insights is an Available, Schema-owning Capell package in the Capell Growth product group. It ships as capell-app/insights and extends these surfaces: admin, frontend.

Cookie-light, GDPR-aware web analytics built into your Capell admin - page views, clicks, visitor journeys, and consent, with no third-party scripts and no data leaving your server.

After install, admins get package-owned management surfaces and public users may see package-owned frontend output or routes.

Status details:

  • Status: Available
  • Tier: premium
  • Bundle: growth
  • Composer package: capell-app/insights
  • Namespace: Capell\Insights
  • Theme key: not applicable

For developers: The package gives developers package-owned service providers, Actions, Data objects, models, Laravel routes, Filament classes, and Blade views instead of pushing this behaviour into core or application code.

For teams: Cookie-light, GDPR-aware web analytics built into your Capell admin - page views, clicks, visitor journeys, and consent, with no third-party scripts and no data leaving your server.

Screenshot contract: docs/screenshots.json.

  • Insights overview dashboard widgets (admin, required).
  • Popular pages widget (admin, required).
  • Recent journeys widget (admin, required).
  • Insights settings screen (admin, required).
  • Frontend page with tracker active (frontend, optional).
  • Consent banner flow (frontend, optional).
  • Service providers: Capell\Insights\Providers\InsightsServiceProvider, Capell\Insights\Providers\AdminServiceProvider.
  • Config files: packages/insights/config/capell-insights.php.
  • Migrations: packages/insights/database/migrations/2026_05_10_190855_01_create_insights_visits_table.php, packages/insights/database/migrations/2026_05_10_190855_02_create_insights_consents_table.php, packages/insights/database/migrations/2026_05_10_190855_03_create_insights_events_table.php, packages/insights/database/migrations/2026_05_10_190855_05_import_legacy_page_views.php, packages/insights/database/migrations/2026_06_06_000001_create_insights_daily_rollups_table.php.
  • Settings migrations: packages/insights/database/settings/2026_05_10_190856_01_create_insights_settings.php, packages/insights/database/settings/2026_06_14_000001_rename_insights_form_tracking_setting.php.
  • Settings classes: InsightsSettings, InsightsSettingsMigrationProvider.
  • Models: InsightsConsent, InsightsDailyRollup, InsightsEvent, InsightsVisit.
  • Filament classes: InsightsPage, InsightsDashboardSettingsContributor, InsightsSettingsSchema, AcquisitionSourcesFilamentWidget, BuildsInsightsDashboardWindow, InsightsOverviewStatsFilamentWidget, LiveInsightsStatsFilamentWidget, PopularPagesFilamentWidget, RecentJourneysFilamentWidget, TopActionsFilamentWidget, TrendingPagesFilamentWidget.
  • Route files: packages/insights/routes/web.php.
  • Actions: BuildAcquisitionSourcesQueryAction, BuildFunnelConversionReportAction, BuildInsightsDigestAction, BuildInsightsOverviewStatsAction, BuildJourneyTimelineAction, BuildLiveInsightsStatsAction, BuildPopularPagesQueryAction, BuildRecentJourneysQueryAction, BuildTopActionsQueryAction, BuildTrendingPagesQueryAction, CreateInsightsVisitAction, ExportInsightsDigestCsvAction, and 16 more.
  • Data objects: InsightsBeaconData, InsightsConsentData, InsightsDigestData, InsightsEventData, InsightsEventMetadataData, InsightsJourneyStepData, InsightsPageSummaryData, InsightsVisitData, InsightsWindowData.
  • Command signatures: insights:purge, insights:rollups:rebuild.
  • Console command classes: PurgeInsightsDataCommand, RebuildInsightsDailyRollupsCommand.
  • Manifest contributions: admin-page: Capell\Insights\Manifest\InsightsAdminPageContribution, console-command: Capell\Insights\Manifest\InsightsConsoleCommandsContribution, dashboard-widget: Capell\Insights\Manifest\InsightsDashboardFilamentWidgetsContribution, health-check: Capell\Insights\Manifest\InsightsHealthContribution, model: Capell\Insights\Manifest\InsightsModelsContribution, overview-stat: Capell\Insights\Manifest\InsightsOverviewStatsContribution, route: Capell\Insights\Manifest\InsightsRoutesContribution, scheduled-job: Capell\Insights\Manifest\InsightsDailyRollupsScheduleContribution, scheduled-job: Capell\Insights\Manifest\InsightsPurgeScheduleContribution, setting: Capell\Insights\Manifest\InsightsSettingsContribution.
  • Health checks: Capell\Insights\Health\InsightsHealthCheck.
  • Blade views: packages/insights/resources/views/components/consent-banner.blade.php, packages/insights/resources/views/filament/pages/insights.blade.php, packages/insights/resources/views/tracker.blade.php.
  • Cache tags: insights.
  • Required tables: insights_visits, insights_consents, insights_events, insights_daily_rollups.
  • Models: InsightsConsent, InsightsDailyRollup, InsightsEvent, InsightsVisit.
  • Migration files: 2026_05_10_190855_01_create_insights_visits_table.php, 2026_05_10_190855_02_create_insights_consents_table.php, 2026_05_10_190855_03_create_insights_events_table.php, 2026_05_10_190855_05_import_legacy_page_views.php, 2026_06_06_000001_create_insights_daily_rollups_table.php.
  • Migration impact: run host migrations through the package install flow before opening package surfaces.
  • Deletion/retention behaviour: Docs gap unless the package has an explicit pruning command, retention setting, or tested cascade path.
  • Admin navigation: adds package-owned Filament classes when registered.
  • Permissions: View:InsightsPage.
  • Public routes: route files exist and must be reviewed before public enablement.
  • Database changes: package migrations are declared.
  • Settings: Capell\Insights\Settings\InsightsSettings.
  • Queues or schedules: none detected in standard package paths.
  • Cache tags: insights.
  • Commands: insights:purge, insights:rollups:rebuild.
  • Run migrations before opening package resources or public routes.
  • Configure package settings before testing production-like workflows.
  • Review route middleware, throttling, signed URLs, and public-output safety before exposing routes.
  • Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
  • Keep composer.json, composer.local.json, capell.json, docs, screenshots, and tests aligned when the package surface changes.
SymptomLikely causeCheckFix
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
Route returns unexpected outputRoute cache, middleware, or signed URL setup does not match the package route fileCheck the route files listed in Technical ShapeClear route cache and verify middleware before exposing public routes
Background work does not runQueue worker or scheduled command is not activeCheck package jobs, commands, and host scheduler configurationStart the queue or scheduler, then run the focused command or package test
Public output leaks unexpected stateRender data, cache variation, or authoring boundary has regressedCheck public Blade, cache tags, and public-output safety testsMove data loading out of Blade and rerun the package public-output tests
  1. Install the package: composer require capell-app/insights.
  2. Run the required setup: php artisan migrate.
  3. Open the related Capell admin surface and verify Insights appears.