Installation
SolidStart
Install Talivia in a SolidStart app.
Add Talivia to the root document so it loads across the app.
Add the script
Open the root entry file where StartServer, Scripts, or the document body is defined, then place the snippet before closing the body.
import { Scripts } from '@solidjs/start';
export default function Root() {
return (
<html lang="en">
<body>
<script defer src="https://talivia.com/script.js" data-website-id="YOUR_WEBSITE_ID" />
<Scripts />
</body>
</html>
);
}Replace the website ID. Use the value from Talivia Settings -> Tracking.
Run the app and open a page to verify the first session.