Talivia Docs
Talivia Docs
HomeDashboard
IntroductionInstallationTeamGetting updates
Next.jsReactVueNuxtAngularSvelteKitAstroRemixSolidStartQwikGatsbyExpoLaravelDjangoRuby on RailsExpressNestJSFlaskPhoenixWordPressShopifyWixWebflowSquarespaceFramerTilda
Integrations
AI agents and MCPllms.txtllms-full.txt
Installation

NestJS

Install Talivia in a NestJS app.

View Markdown

NestJS can serve templates or a separate frontend. Add Talivia wherever the browser HTML shell is created.

Copy the complete snippet from Settings -> Tracking. The examples below focus on framework placement. Keep generated attributes such as data-domain in the installed snippet. See Tracker configuration for every option and Subdomain tracking when the same visitor moves between subdomains.

Server-rendered templates

Place the snippet in the shared layout or template before the closing </body> tag.

<main>
  <!-- page content -->
</main>
<script defer src="https://talivia.com/script.js" data-website-id="YOUR_WEBSITE_ID"></script>
</body>

API-only apps

If NestJS only serves an API, install Talivia in the frontend app instead, such as Next.js, React, Angular, or Vue.

Replace the website ID. Copy it from Talivia Settings -> Tracking for the public website.

Open the public app and verify the first session in Talivia.

Express

Install Talivia in an Express app.

Flask

Install Talivia in a Flask app.