How to embed a external search engine at my landing page?

Good evening!

Im having some trouble. I was requested to develop a landing page to support an external search engine. Its a external api for flight booking. When I embed my script at some html page at my computer, everything does fine. But, when I use webflow’s embed element, nothing appear at my page.

I cant share the code details here, but the structure is basically:

<head>
	<script type='text/javascript' src='https://---'></script>
	<script type='text/javascript'>
		Global.ShortCodeParameters.showsearchmotortabs = true;
		Global.ShortCodeParameters.transactionalurl = "https://www.---";
	</script>
	<link href="https://---" rel="stylesheet" type="text/css">	
</head>
<body>
    <div id="searchEngine"></div>
</body>

Loading this structure at any html page, it all runs well (I tested even at Best HTML Viewer, HTML Beautifier, HTML Formatter and to Test / Preview HTML Output and it all works). But at Webflow, did not. I tried putting the scripts at Inside Head Tag at the page settings and both embed and div block elements. Nothing worked.

Anyone can help me, please?

Debugging custom code means using your browser dev tools and checking the console for errors. There is no way for someone to advise you as to the nature of your issue without at least being able to visit a published page with the code you reference. So if you can’t share then you are on your own.