https://www.growthbook.io/ logo
p

proud-family-69484

08/10/2022, 5:40 PM
Hey guys, trying a test using the Visual Editor to see what might be possible. I'm having trouble getting it to recognize the required script. I've tried putting it in both the <head> and towards the end of HTML where we load other libs, but I always get the "Missing Required Script" popup in the editor. Any idea what I might be doing wrong? I'm testing my site on localhost but I'm running a cloud-hosted Growthbook instance. Maybe that's the issue?
f

future-teacher-7046

08/10/2022, 5:42 PM
Do you see any errors in the browser console? We use iframes in the visual editor and that can cause issues on some sites.
p

proud-family-69484

08/10/2022, 5:43 PM
Ah, that's probably it, thanks! Didn't realize it was an iframe, I've got X-frame-options set to sameorigin
That was it, thanks again!