Ad.
Integration of Klaviyo with Nuxt 3
Are you trying to embed a pre-made form or are you wanting to use Klaviyo API ?
nuxt.config.js - To add a form
app: {
head: {
script: [{ src: "//static.klaviyo.com/onsite/js/klaviyo.js?company_id=XXX", body: true }]
}}
If your wanting to use Klaviyo API, create a server/api to collect and send data to Klaviyo
If you need further input let me know.
2 replies