Laravel
1.Site analytics
- Open the site in Studio and copy the Embed snippet.
- Open your main Blade layout (often
resources/views/layouts/app.blade.php). - Paste the snippet immediately before
</body>. - Deploy.
- Load a public page and confirm a visit in Site Analytics.
Shared layouts keep the tag on every Blade view that extends them.
2.Blog
- Open the site in Studio and go to Settings β Domain.
- Connect
blog.yourdomain.com, add the CNAME Studio shows, then verify. - In the Blade navigation, link Blog to
https://blog.yourdomain.com. - Optional: redirect
/blogto that host inroutes/web.php. - To render posts inside Laravel instead, open Settings β API and use the public list and post endpoints.