Exporting code is not clean to upload in external hosting

Hi.
I have been using Netlify to host my website. Always it has been a working perfectly, except today.
If I’m hosting the website to webflow it looks perfect, but when I’m exporting the code and upload in Netlify it doesn’t look good.

This is the website andreucasals.webflow.com
This is the project: https://preview.webflow.com/preview/andreucasals?utm_medium=preview_link&utm_source=designer&utm_content=andreucasals&preview=ac3649807a2896b0d52f075a3c68e113&mode=preview

I exported other websites to check if there is webflow problem, but they look good.


Thank you,

Andreu

Have you recently added any custom code? Was Netlify updated recently?

It could be a number of things. I suggest reviewing https://university.webflow.com/lesson/code-export to see if you may have missed something.

Hi… I haven’t upload any custom code. And I have tried with other websites hosting in Netlify, and they work fine.

https://drive.google.com/file/d/1cw6jg-e3lqnnx1Lmhz8aQo38BqHsVcbm/view?usp=sharing

Here is a link if you want to check the code.

Thank you!

I have upload the website to www.andreucasals.com and you will see the code. if you compare with andreucasals.webflow.com you will notice that is different.

Thank you

You should fix the script tag that is not closed in your document head. See if that resolves your issue.

<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA-168798277-1');
</script</head>

Thank you so much!
I was turning crazy!

Regards,
Andreu

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.