We're just using standard Vue 3. However, I seem to have fixed the issue, we're using Azure App Insights in our application and we have a setting enabled that allows us to trace every HTTP request in the app for debugging.
This adds a "traceparent" header to each request and hubspot doesn't seem to allow that so we've allowlisted the hubspot domain in the App Insights config and everything is working perfectly.
We're just using standard Vue 3. However, I seem to have fixed the issue, we're using Azure App Insights in our application and we have a setting enabled that allows us to trace every HTTP request in the app for debugging.
This adds a "traceparent" header to each request and hubspot doesn't seem to allow that so we've allowlisted the hubspot domain in the App Insights config and everything is working perfectly.
Feb 27, 202211:15 AM - edited Feb 27, 202211:15 AM
Key Advisor | Partner
Vue.JS Load Chat Widget CORS error
SOLVE
@JLowe3 are you using nuxt.js by chance? If so, it might be trying to run the script server side instead of client side. Try putting it inside a client only component as described here: https://nuxtjs.ir/api/components-client-only