# Angular (https://talivia.com/docs/installation-guides/angular)



For Angular apps, add the tracker to the HTML shell that wraps the app.




## Add the script [#add-the-script]

Open `src/index.html` and place the snippet before the closing `</body>` tag.

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

Replace the website ID. Use the ID from Talivia Settings -> Tracking for this exact Angular domain.

Build or run the app, open a page, and check Talivia for the first session.
