Installation
Qwik
Install Talivia in a Qwik or Qwik City app.
Use the root layout so the tracker is included on every public page.
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.