I'm trying to test my website with Optimizely (a name of a tool allowing to create A/B tests etc).
This tool tries to load my page inside an iframe and I get JS error: blocked a frame with origin "...optimizely..." from accessing a frame with origin "...my site..." protocols domains and ports must match
.
I want to somehow allow optimizely to access my site and run the JS - what should I do?
I read I can add an http-header to allow such access, but I can't find if I can define it to allow for a specific site (I don't want to create a security breach)
I read something about
window.postMessage
but I guess I need to change code on both sides - and I won't be able to change Optimizely code