Skip to content

Insights

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/insights
Package sluginsights
Product groupCapell Marketing & Growth
Tierfree
Bundlemarketing-growth
Runtime contextsadmin, frontend
Capell version^1.0
Catalogue roleextension
Release channelBeta
Source repositorycapell-app/packages
Source pathpackages/insights
Docs sourcepackages/insights/docs
Manifestcapell.json

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

Insights records first-party page views, events, journeys, conversions, and consent state for reporting inside Capell.

Admins can review overview metrics, trends, journeys, and dashboard widgets. Public pages send consent-aware events through the Insights beacon.

Status details:

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

For developers: Typed Actions handle beacon validation, event storage, rollups, consent, and retention instead of spreading analytics logic across controllers and views.

For teams: Teams can inspect site activity and conversion paths without sending visitor analytics to a third-party reporting service.

Screenshot contract: docs/screenshots.json.

Live Insights dashboard statistics Live Insights dashboard statistics Popular pages widget Popular pages widget
  • Live Insights dashboard statistics (admin, required evidence).
  • Popular pages widget (admin, required evidence).
  • Recent journeys widget (admin, required evidence).
  • Insights settings screen (admin, required evidence).
  • Frontend page with tracker active (frontend, supplementary evidence).
  • Consent banner flow (frontend, supplementary evidence).
  • Public root page with the Insights tracker active (frontend, required evidence).
  • Insights overview dashboard widgets with admin sidebar menu open (admin, supplementary evidence).
  • Capell\Insights\Providers\InsightsServiceProvider
  • Capell\Insights\Providers\AdminServiceProvider
  • packages/insights/config/capell-insights.php
  • 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
  • packages/insights/database/migrations/2026_07_22_000001_add_path_digest_to_insights_daily_rollups_table.php
  • packages/insights/database/migrations/2026_09_25_000001_invalidate_legacy_insights_html_cache.php
  • 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
  • InsightsSettings
  • InsightsSettingsMigrationProvider
  • InsightsConsent
  • InsightsDailyRollup
  • InsightsEvent
  • InsightsVisit
  • InsightsPage
  • InsightsDashboardSettingsContributor
  • InsightsSettingsSchema
  • AcquisitionSourcesFilamentWidget
  • BuildsInsightsDashboardWindow
  • InsightsOverviewStatsFilamentWidget
  • LiveInsightsStatsFilamentWidget
  • PopularPagesFilamentWidget
  • RecentJourneysFilamentWidget
  • TopActionsFilamentWidget
  • TrendingPagesFilamentWidget
  • packages/insights/routes/web.php
  • AnonymizeInsightsVisitAction
  • BuildAcquisitionSourcesQueryAction
  • BuildFunnelConversionReportAction
  • BuildInsightsDigestAction
  • BuildInsightsOverviewStatsAction
  • BuildInsightsWorkspaceAction
  • BuildJourneyTimelineAction
  • BuildLiveInsightsStatsAction
  • BuildPopularPagesQueryAction
  • BuildRecentJourneysQueryAction
  • BuildTopActionsQueryAction
  • BuildTrendingPagesQueryAction
  • CreateInsightsVisitAction
  • ExportInsightsDigestCsvAction
  • GetInsightsTrackerScriptAction
  • ImportLegacyPageViewsAction
  • IngestInsightsBeaconAction
  • MirrorInsightsConsentToPrivacyCenterAction
  • PurgeInsightsDataAction
  • RebuildInsightsDailyRollupsAction
  • RecordClickAction
  • RecordConversionAction
  • RecordCustomActionAction
  • RecordInsightsEventAction
  • RecordInsightsEventsAction
  • RecordPageViewAction
  • RememberInsightsDashboardAggregateAction
  • ResolveConsentRegionAction
  • ResolveInsightsConsentPolicyAction
  • ResolveInsightsHashSaltAction
  • UpdateInsightsConsentAction
  • ValidateInsightsBeaconRequestAction
  • InsightsBeaconData
  • InsightsConsentData
  • InsightsConsentPolicyData
  • InsightsDigestData
  • InsightsEventData
  • InsightsEventMetadataData
  • InsightsJourneyStepData
  • InsightsPageSummaryData
  • InsightsReportTableData
  • InsightsRequestContextData
  • InsightsVisitData
  • InsightsWindowData
  • InsightsWorkspaceData
  • ProcessInsightsBeaconJob
  • insights:purge
  • insights:rollups:rebuild
  • insights:purge (monthly; package registered)
  • insights:rollups:rebuild (daily; package registered)
  • PurgeInsightsDataCommand
  • RebuildInsightsDailyRollupsCommand
  • admin-page: Capell\Insights\Manifest\InsightsAdminPageContribution
  • console-command: Capell\Insights\Manifest\InsightsConsoleCommandsContribution
  • dashboard-widget: Capell\Insights\Manifest\InsightsDashboardFilamentWidgetsContribution
  • health-check: Capell\Insights\Manifest\InsightsHealthContribution
  • migration: Capell\Insights\Manifest\InsightsMigrationsContribution
  • 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
  • Capell\Insights\Health\InsightsHealthCheck
  • 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
  • insights
  • Required tables: insights_visits, insights_consents, insights_events, insights_daily_rollups.
  • Models: InsightsConsent, InsightsDailyRollup, InsightsEvent, InsightsVisit.
  • Core record references in migrations: sites via site_id, languages via language_id.
  • 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, 2026_07_22_000001_add_path_digest_to_insights_daily_rollups_table.php, 2026_09_25_000001_invalidate_legacy_insights_html_cache.php.
  • Migration impact: run host migrations through the package install flow before opening package surfaces.
  • Deletion/retention behaviour: migrations declare null-on-delete relationships; retention is scheduled through insights:purge (monthly; registered by the package provider).
  • Required packages: capell-app/admin, capell-app/core, capell-app/frontend.
  • Admin navigation: declares admin-page: InsightsAdminPageContribution; each Filament page or resource controls its own navigation visibility.
  • Admin/editor extensions: dashboard-widget: InsightsDashboardFilamentWidgetsContribution, overview-stat: InsightsOverviewStatsContribution.
  • Permissions: View:InsightsPage; Shield-generated page permissions for Capell\Insights\Filament\Pages\InsightsPage (names and grants depend on host Shield configuration).
  • Public routes: loads routes/web.php; registers InsightsRoutesContribution.
  • Database changes: package migrations are declared.
  • Config: config/capell-insights.php.
  • Settings: Capell\Insights\Settings\InsightsSettings.
  • Queues or schedules: scheduled commands insights:purge (monthly; package registered), insights:rollups:rebuild (daily; package registered); queue jobs ProcessInsightsBeaconJob.
  • Cache tags: insights.
  • Commands: insights:purge, insights:rollups:rebuild.
  • Keep required Capell packages on compatible v4 releases: capell-app/admin, capell-app/core, capell-app/frontend.
  • Run migrations before opening package resources or public routes.
  • Review package configuration before production-like verification: config/capell-insights.php, Capell\Insights\Settings\InsightsSettings.
  • Review middleware, throttling, signatures, and public-output safety in routes/web.php before exposing routes.
  • Keep the host Laravel scheduler running so package-registered schedules can execute: insights:purge (monthly; package registered), insights:rollups:rebuild (daily; package registered).
  • Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
  • Custom write integrations must preserve invalidation for insights cache tags.
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 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
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. Open the package admin surface at /admin and confirm Insights is available.