Integration of Klaviyo with Nuxt 3
Hi, I'm new at using Nuxt 3. to be honest, i dont know where to start, does anyone have integrated Klaviyo before with nuxt 3? could you give me some steps on how to do it the right way? I tried looking it up and i could not find a guide for nuxt
1 Reply
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.