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

SvelteKit

Install Talivia in a SvelteKit app.

View Markdown

Use the app template so Talivia loads once for the whole SvelteKit site.

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.

Add the script

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

<body data-sveltekit-preload-data="hover">
  <div style="display: contents">%sveltekit.body%</div>
  <script defer src="https://talivia.com/script.js" data-website-id="YOUR_WEBSITE_ID"></script>
</body>

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

Talivia tracks normal page views and client-side route changes after the script loads.

Angular

Install Talivia in an Angular app.

Astro

Install Talivia in an Astro site.