Installation
Express
Install Talivia in an Express app.
Use the shared HTML template that wraps your Express pages.
Template apps
If you use EJS, Pug, Handlebars, or another view engine, place the snippet in the base layout before </body>.
<main>
<!-- page content -->
</main>
<script defer src="https://talivia.com/script.js" data-website-id="YOUR_WEBSITE_ID"></script>
</body>Static apps
If Express serves a static frontend, add the snippet to the generated index.html.
Replace the website ID. Use the value from Talivia Settings -> Tracking.
Restart the server, open a page, and verify the session in Talivia.