F
Filament6mo ago
WEBMAS

How to add analytics counters (Google, Yandex, LiveInternet)?

Hello everybody. How to add analytics counters to Laravel Filament such as Google Analytics, Yandex Metrika and LiveInternet. I use SPA mode.
3 Replies
krekas
krekas6mo ago
use render hook to add script tags
WEBMAS
WEBMASOP6mo ago
I thought about it, but will there be problems due to SPA? I thought there was a special mechanism for this. Okay, I'll try it using hooks.
krekas
krekas6mo ago
To use render hooks I don't think so. To add scripts so that they would work yes with spa there is I think. But for that check livewire docs, it's not filament related
Want results from more Discord servers?
Add your server