src/app.html, inside <head> and before %sveltekit.head%, so it loads on every route:
src/app.html
- No hydration wait. pagent can’t tell when SvelteKit has finished hydrating, so
data-await-hydrationhas no effect here. Leave it out. - Check your variants: open each test’s preview link once and check that the variant stays after the page has finished loading and after you navigate.
- Navigation between routes is tracked automatically.
Check it worked
- Deploy, then open your site in a private browser window.
- Back in pagent, click Check connection in the install step.
- Open a test’s preview link and check that the variant shows and stays after the page has finished loading.