I need help adding a code to my site. I have a several I need to add, but this is one of them…
I have looked through the developer tools and tried to add it a couple different ways without success. Help!
I need help adding a code to my site. I have a several I need to add, but this is one of them…
I have looked through the developer tools and tried to add it a couple different ways without success. Help!
Hi,
In order to add code to your site, you need to add html component, and set the src of this component to your code url. Make sure it’s on https.
For example:
$w(“#myHtmlComponent”).src = “HTTPS - Wikipedia”;
You can have a look here: HtmlComponent - Velo API Reference - Wix.com
Thank you for your response! I have a couple questions about this.
Hey,
You can simply paste your code to an HTML component, without the need to set it via Wixcode, see here: Wix Editor: Embedding a Site or a Widget | Help Center | Wix.com.
The code you add can include everything you have before and after the URL, but is must use https, otherwise it won’t be displayed on your published site.
Hello,I also wanted to add code to one of my page, on the header section and the body section but am finding it hard
I definitely going crazy with this! I hope someone can help me. I signup with few ads companies. When I enter the codes in wix, nothing shows! I add the codes directly from the embed option that wix offers but when I add the codes, nothing happens.
I really tried every way possible to understand watching youtube videos and reading articles. Hope someone can have a solution . Thank you very much for now.
Please be aware the HTML component that you’re using only support embeds over the secure protocol HTTPS , insecure widgets won’t work.
Please open a new post with your own problem instead of bumping up old posts. It’s against the Community Guidelines .
Thank you so much for your thoughts!