Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rchase's avatar

Where to put Javascript for all Spark pages?

If I want to add Google Analytics for example, does anyone know where to put the code so it appears on all Spark pages?

0 likes
1 reply
rchase's avatar

Added Javascript to home.blade.php, /resources/view/welcome.blade.php and /resources/views/layouts/app.blade.php

Should be good now

Please or to participate in this conversation.