# Laravel (https://talivia.com/docs/installation-guides/laravel)



Add Talivia to the Blade layout that wraps every public page.




## Blade layout [#blade-layout]

Open a shared layout such as `resources/views/layouts/app.blade.php` and place the snippet before `</body>`.

```html
    <script defer src="https://talivia.com/script.js" data-website-id="YOUR_WEBSITE_ID"></script>
</body>
</html>
```

If your marketing site uses another layout, add the snippet there instead.

Use the website ID from Talivia. Each Laravel app or domain should use the ID generated for that website.

## Verify [#verify]

Visit the Laravel site in a browser, then open Talivia and check the website dashboard for a new session.
