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

Express

Install Talivia in an Express app.

View Markdown

Use the shared HTML template that wraps your Express pages.

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.

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.

Ruby on Rails

Install Talivia in a Rails app.

NestJS

Install Talivia in a NestJS app.