No document or window?

I was really excited about Wix code when you pushed it but now it looks like it’s basically useless unless you’re trying to make code 100% locked into wix.

I’m just trying to get Intercom and a few 3rd party apps to work via their embed codes.

Because you’re blocking window and document this is now essentially impossible.

I doubt I could even rework the code to make it work actually.

Please tell me I’m mistaken and that you didn’t handicap it …

Hi Kevin,
are you familiar with the code-embed feature in wix?
take a look here:

as long an Intercom does not get too weird with the HTML that should work.

anyway, regarding wix-code’s coding model, we do not provide direct access to the document or window objects. the only way to achieve that is via code-embeds as mentioned above.

hope this helps!

Hi Ziv,

Could you also look please at this —> https://www.wix.com/code/home/forum/questions-answers/how-to-get-image-url ?

Thank you!