How to overcome 10000 character limit on an HTML file

Hi folks,

I am trying to add Termly Privacy Policy and Cookie Policy to my site.

In a free plan, you only get the HTML version of the policy to embed on your site.
But when I try and add it to the Embed HTML element I get 10000 character limit.
So I tried to put this file in a gist and then render it somehow (tried “script” and “link” tags but it didn’t work).

How would you go about it?

Were you able to find a solution to this? I’m currently in the same situation.

Options-

  • Recreate it. copy-paste-style.
  • Split the HTML body content you need into multiple embeds, but HEAD content you need in your page head.
  • Store the HTML document somewhere, and fetch / embed it using javascript
  • Look into HTMX for some locode fetch options involving attributes

I don’t know if this is against the guidelines of the provider you used to create the cookie policy. But you could simply take the code and put it in an editor. Then save the file as index.html and open it in the browser. You could then copy the text in the browser and paste it into a rich text element in Webflow.