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
use render hook to add script tags
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.
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