Skip to content

Insights reference

Developer reference for capell-app/insights. Start with the README for what the extension does and how to install it.

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

  • Status: Available
  • Tier: free
  • Bundle: marketing-growth
  • Composer package: capell-app/insights
  • Namespace: Capell\Insights
  • Theme key: not applicable
  • Capell\Insights\Providers\MigrationMetadataServiceProvider
  • 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/migrations/2026_11_12_000001_add_dedupe_key_to_insights_events_table.php
  • packages/insights/database/migrations/2026_11_12_000002_strip_query_strings_from_insights_visit_urls.php
  • packages/insights/database/migrations/2026_11_12_000003_add_visitor_hash_and_sample_weight_to_insights_visits_table.php
  • packages/insights/database/migrations/2026_11_12_000004_create_insights_daily_visitors_table.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
  • packages/insights/database/settings/2026_11_18_000001_make_insights_settings_authoritative.php
  • InsightsSettings
  • InsightsSettingsMigrationProvider
  • InsightsConsent
  • InsightsDailyRollup
  • InsightsEvent
  • InsightsVisit
  • InsightsPage
  • InsightsDashboardSettingsContributor
  • InsightsSettingsSchema
  • AcquisitionSourcesFilamentWidget
  • BuildsInsightsDashboardWindow
  • InsightsOverviewStatsFilamentWidget
  • LiveInsightsStatsFilamentWidget
  • PopularPagesFilamentWidget
  • RecentJourneysFilamentWidget
  • TopActionsFilamentWidget
  • TrendingPagesFilamentWidget
  • packages/insights/routes/web.php
  • InvalidatePublicPagesAfterInsightsSettingsSaved
  • AnonymizeInsightsVisitAction
  • BuildAcquisitionSourcesQueryAction
  • BuildFunnelConversionReportAction
  • BuildInsightsDigestAction
  • BuildInsightsOverviewStatsAction
  • BuildInsightsVisitPrivacyExportAction
  • BuildInsightsWorkspaceAction
  • BuildJourneyTimelineAction
  • BuildLiveInsightsStatsAction
  • BuildPopularPagesQueryAction
  • BuildRecentJourneysQueryAction
  • BuildTopActionsQueryAction
  • BuildTrendingPagesQueryAction
  • CanRecordForInsightsVisitAction
  • CreateInsightsVisitAction
  • ExportInsightsDigestCsvAction
  • GetInsightsTrackerScriptAction
  • HashInsightsVisitorValueAction
  • ImportLegacyPageViewsAction
  • IngestInsightsBeaconAction
  • MirrorInsightsConsentToPrivacyCenterAction
  • PurgeInsightsDataAction
  • RebuildInsightsDailyRollupsAction
  • RecordClickAction
  • RecordConversionAction
  • RecordCustomActionAction
  • RecordInsightsEventAction
  • RecordInsightsEventsAction
  • RecordPageViewAction
  • RememberInsightsDashboardAggregateAction
  • RequireSameOriginConsentRequestAction
  • ResolveConsentRegionAction
  • ResolveInsightsAnalyticsDecisionAction
  • ResolveInsightsConsentPolicyAction
  • ResolveInsightsHashSaltAction
  • ResolveInsightsRuntimeSettingsAction
  • ResolveInsightsSampleRateAction
  • ResolveInsightsSiteTimezoneAction
  • UpdateInsightsConsentAction
  • ValidateInsightsBeaconRequestAction
  • InsightsBeaconData
  • InsightsConsentData
  • InsightsConsentPolicyData
  • InsightsDigestData
  • InsightsEventData
  • InsightsEventMetadataData
  • InsightsJourneyStepData
  • InsightsPageSummaryData
  • InsightsReportTableData
  • InsightsRequestContextData
  • InsightsRuntimeSettingsData
  • 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, insights_daily_visitors.
  • 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, 2026_11_12_000001_add_dedupe_key_to_insights_events_table.php, 2026_11_12_000002_strip_query_strings_from_insights_visit_urls.php, 2026_11_12_000003_add_visitor_hash_and_sample_weight_to_insights_visits_table.php, 2026_11_12_000004_create_insights_daily_visitors_table.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).