Adding 3rd Party Widget Script to Site

Hello,

I am a web developer and am trying to insert our third party widget on a Wix site.

How it is supposed to work:

  • loads simply from the one-line html snippet asynchronously
  • when loaded/closed:
    – stays in fixed position to the bottom-right on larger devices
    – stays fixed as full-width bottom banner for smaller devices (mobile)
  • when opened
    – full height for larger devices with 300px width fixed to the right side
    – full screen for smaller devices

Issues I run into when adding the html snippet from the drag and drop editor:

  • the widget that would asynchronously load is forced inside an absolute-positioned iframe container
  • scrolling down on the website would leave the widget above and out of view

I am limited it seems from the Wix Website Editor to:

  • change the CSS of the iframe container from absolute to fixed
  • Append this script to the body using JS so it can display in its desired layout after the page loads

We are preparing to launch a new client this week who is hosting their site on Wix – and likely more in the future. I am sure there are options available on the Wix platform to make this successful that I have not yet considered.

Thank you

Hi Jeff,

The HTML component allows you to embed third party html code inside a Wix site and is loaded inside an iframe
Please take a moment to go over the guidelines and limitations here

At the moment it is only possible to add code either by using the HTML component or by using Wix Code.
Note that Wix Code does not allow you to directly interact with your site’s body and hence it is likely that adding the third party script will not produce the result you wish to achieve.

Ok I understand. Two questions:

  1. Is there anything on the product horizon that would solve this feature?
  2. How could we go about offering our product on the Wix App Market?