All Collections
How to embed a policy on your website
How to embed a policy on your website
Updated over a week ago

Termly offers three distinct ways to embed a policy on your website. Here's a step-by-step guide to help you choose the right method and get your policy live.

Your Options Include:

  • HTML: Embed static HTML directly.

  • URL: Link to a Termly-hosted URL

  • Code Snippet: Embed a dynamic, always up-to-date policy on the page

Comparison Table


Ease of Use

Automatic Updates*







Code Snippet



What are Automatic Updates?

A policy that supports automatic updates only needs to be installed on your site once, and will stay up-to-date with any changes you make in the Termly dashboard automatically each time you publish your policy.

Updates to your policy include:

  • Revisions from our legal team when new or changing legislation requires it (after review from you)

  • Style and theme changes

  • Changes to answers to your policy builder questionnaire

  • New cookies found in your periodic cookie scan


HTML Format

To embed your policy using HTML, select "HTML", and paste it into the <body> section of your website.


To use a URL, select "URL," and paste the URL as a hyperlink on your webpage, mobile app or web store. This links to a Termly-hosted URL that always displays the latest published version of your policy.

Code Snippet

To use a code snippet, select "Code Snippet," and paste it into the <body> section of your website. An iframe displaying your policy will load inline on your page.

Advanced Customization

For those looking to tweak the content or appearance of the embedded policy outside of the options available in the Termly dashboard and policy questionnaire, HTML format offers the most flexibility. You can change fonts, colors, and layout to match your site's design and alter the text in any way.

Note: We recommend that you consult with a lawyer when altering the content of your Termly-generated legal policies

Updates and Versioning

Keep in mind that only the URL and Code Snippet methods will automatically reflect any updates to your policy. If you choose the HTML method, you'll need to manually update the embedded code whenever there are changes to your policy.

Did this answer your question?