adding custom code to <head>....</head> to all the pages?
Hi , is there a way to add custom code like Google Analytics code to all the pages in Filament?
Like adding code to the head html tag.
2 Replies
Use render hooks: https://filamentphp.com/docs/3.x/panels/configuration#render-hooks
https://filamentphp.com/docs/3.x/support/render-hooks#available-render-hooks
panels::head.end
Before </head>
panels::head.start
After <head>
Thanks a lot πͺπ»πͺπ»