Installation
Qwik
Install Talivia in a Qwik or Qwik City app.
Use the root layout so the tracker is included on every public page.
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 the root layout or document file and add the Talivia snippet near the end of the body.
export default component$(() => {
return (
<>
<Slot />
<script defer src="https://talivia.com/script.js" data-website-id="YOUR_WEBSITE_ID" />
</>
);
});Replace the website ID. Copy it from Talivia Settings -> Tracking for the Qwik site.
Open a route and confirm the visit in Talivia.