Installation
Install the tracker and connect payments so Talivia can attribute revenue to traffic.
Installation has two useful steps: add the tracker to your site, then connect the payment system that creates revenue.
Step 1. Install the tracker
The Talivia tracker works anywhere you can add a script tag. Start with the universal snippet, then use a framework guide only when you need exact placement for your stack.
Universal snippet
In the app, open the website, go to Settings -> Tracking, and copy the snippet generated for that website.
<script
defer
src="https://talivia.com/script.js"
data-website-id="YOUR_WEBSITE_ID"
data-domain="example.com"
></script>Always copy the snippet from your website settings. Replace YOUR_WEBSITE_ID with the real ID from Talivia Settings -> Tracking. Do not reuse the example value.
Place the snippet before the closing </body> tag, or load it through your framework's shared document/layout component.
Talivia Cloud usually includes data-domain in the generated snippet. A website running on one hostname also works without it, but keeping the generated value lets the root website and its subdomains share the same visitor and 30-minute rolling session. You do not need to add or remove this attribute manually for a normal installation.
If your flow crosses to a different root domain, add the owned domains under Settings -> Attribution and copy the refreshed snippet.
Framework and builder guides
If your site uses a framework, CMS, ecommerce platform, or no-code builder, open the guide below for the exact place to paste the same snippet. Framework examples focus on placement and may omit optional attributes, so use the complete code generated in Settings -> Tracking.
Step 2. Connect payments
Traffic only becomes useful revenue analytics after Talivia can see payment events. Choose the payment path that matches your checkout.
For hosted providers that expose a unique checkout return ID, configure that provider's return
placeholder. For custom payment flows, pass window.talivia.getSessionId() as supported provider
metadata or as sessionId to the Manual Payment API. The Revenue guides document each provider's
preferred signal.
Verify the install
- Open your website in a normal browser tab.
- Visit a page that includes the tracker.
- Return to Talivia and open the website dashboard.
- Look for a new session, page view, referrer, browser, and country.
- After payment setup, make a test payment and confirm revenue appears in the same website.