Install
Nuxt
A module, configured once in nuxt.config.
Packages are on their way to npm
Until @usejot/nuxt is published, add the script tag through
app.head.script — it works today.
npm install @usejot/nuxtexport default defineNuxtConfig({
modules: [["@usejot/nuxt", { projectKey: "jot_pk_your_key" }]],
});The module registers a client-only plugin: nothing runs during server rendering, and the widget loads after hydration.
Every script option is a module option:
trigger, edge, offset, environment, autostart.
Wait for consent
Pass autostart: false, then call window.Jot?.init() once your cookie banner
grants consent.