Closed timlalev closed 3 weeks ago
Same issue, any updates?
Hi, same issue here, using filament 3.
Change the filament_dashboard
variable in the 'filament-google-analytics.php' config file to true for each of the widgets you want to show on your Filament dashboard. Currently your CanView trait is returning false.
Change the
filament_dashboard
variable in the 'filament-google-analytics.php' config file to true for each of the widgets you want to show on your Filament dashboard. Currently your CanView trait is returning false.
worked. This should be in the docs.
Filament 3. Installed package added json credential and published the config file and set the property id. Added the widgets to the filament dashboard page but there is absolutely nothing rendered on the page and no errors either. So not sure what is going on. Inside the panel I try to use the widgets like so:
->widgets([ Widgets\AccountWidget::class, \BezhanSalleh\FilamentGoogleAnalytics\Widgets\PageViewsWidget::class, \BezhanSalleh\FilamentGoogleAnalytics\Widgets\VisitorsWidget::class, \BezhanSalleh\FilamentGoogleAnalytics\Widgets\ActiveUsersOneDayWidget::class, \BezhanSalleh\FilamentGoogleAnalytics\Widgets\ActiveUsersSevenDayWidget::class, \BezhanSalleh\FilamentGoogleAnalytics\Widgets\ActiveUsersTwentyEightDayWidget::class, \BezhanSalleh\FilamentGoogleAnalytics\Widgets\SessionsWidget::class, \BezhanSalleh\FilamentGoogleAnalytics\Widgets\SessionsDurationWidget::class, \BezhanSalleh\FilamentGoogleAnalytics\Widgets\SessionsByCountryWidget::class, \BezhanSalleh\FilamentGoogleAnalytics\Widgets\SessionsByDeviceWidget::class, \BezhanSalleh\FilamentGoogleAnalytics\Widgets\MostVisitedPagesWidget::class, \BezhanSalleh\FilamentGoogleAnalytics\Widgets\TopReferrersListWidget::class, // Widgets\FilamentInfoWidget::class, ])
But I get an empty page: