Skip to main content

How do I embed the HTML codes in my website?

Embedding TIS legal policies in your website using HTML codes

Updated over a week ago

Staying legally compliant is essential. When you embed our HTML codes correctly, your policies will auto-update any time TIS makes a change. That means:

  • You don’t have to copy-and-paste new text.

  • Your site always shows the latest legal language.

  • You avoid the risk of out-of-date or incomplete policies.

But how and where you embed the codes matters. If they’re added in the wrong place, you may see errors, duplicate content, blank pages, or the wrong policy appearing.

This guide walks you through:

  1. How TIS embed codes are meant to be used

  2. Where each policy code should go

  3. How to embed for WordPress, Wix, and Squarespace

  4. Common mistakes that cause errors (and how to avoid them)

1. How TIS embed codes are meant to be used

Each TIS policy (for example, Terms of Use or Privacy Policy) has its own unique HTML embed code.

Think of each code as a little “window” that pulls in one specific policy from TIS and displays it on your page.

  • Do: Use the correct code on the correct page.

  • Do not: Use the same code on every page of your site.

  • Do not: Put all your codes on every page.

If you paste multiple policy codes on every page (for example, in a global header or footer template), you will absolutely see errors and strange behavior.

2. Create one page per policy (recommended)

We strongly recommend that you create a dedicated page for each policy.

For example:

  • Terms of Use → yoursite.com/terms-of-use

  • Privacy Policy → yoursite.com/privacy-policy

  • California Privacy Policy → yoursite.com/california-privacy

  • Affiliate + Advertising Disclosure → yoursite.com/affiliate-disclosure

  • Client Terms and Conditions → yoursite.com/client-terms

On each page, you will embed only the code for that specific policy.

Then, in your website footer or main menu, you simply add links to these pages.

Important: The footer should contain links, not all the embed codes themselves.

3. Match the right code to the right page

From your TIS account, you’ll see different HTML codes labeled something like:

  • Terms of Use – HTML Embed Code

  • Privacy Policy – HTML Embed Code

  • California Privacy Policy – HTML Embed Code

  • Affiliate + Advertising Disclosure – HTML Embed Code

  • Client Terms and Conditions – HTML Embed Code

Use this simple mapping:

  • On the Terms of Use page → paste only the Terms of Use embed code

  • On the Privacy Policy page → paste only the Privacy Policy embed code

  • On the California Privacy Policy page → paste only the California Privacy Policy embed code

  • On the Affiliate + Advertising Disclosure page → paste only the Affiliate + Advertising Disclosure embed code

  • On the Client Terms and Conditions page → paste only the Client Terms and Conditions embed code

Do not mix and match codes or reuse the same one on multiple policy pages.

4. General embedding rules (for any website builder)

No matter which platform you use, the basics are the same:

  1. Create or open the page where that specific policy should appear.

  2. Switch to an HTML / Code / Embed block, not a normal text or paragraph block.

  3. Paste the exact TIS embed code you copied from your TIS dashboard.

    • Don’t edit or strip anything out.

    • Don’t remove <script>, <div>, or any tags from the code.

  4. Save / Publish / Update the page.

  5. View the page on the live site to confirm that the full policy appears.

5. Platform-specific instructions

WordPress

  1. Log in to your WordPress dashboard.

  2. Go to Pages and either:

    • Create a new page (e.g., “Privacy Policy”), or

    • Edit the existing policy page.

  3. In the page editor:

    • Gutenberg (block editor):

      • Click the + icon to add a block

      • Choose Custom HTML

      • Paste your TIS embed code in that block

    • Classic editor:

      • Click the Text tab (or “Code Editor”) to view HTML

      • Paste your embed code where you want the policy to appear.

  4. Click Update or Publish.

  5. Preview the page and confirm the full policy text loads.

Important:
Do not paste your TIS embed codes into:

  • The global header or footer template

  • A “Scripts in Header/Footer” plugin that runs on every page

  • Theme files (like header.php or footer.php)

Doing this will try to load all policies on all pages and will cause errors.

Instead, just put links in your footer that point to the dedicated policy pages.

Wix

  1. Log in to your Wix dashboard.

  2. Click Edit Site for the website you want to update.

  3. In the left menu, go to Menus & Pages, and either:

    • Create a new page (e.g., “Terms of Use”), or

    • Open an existing policy page.

  4. On that page, decide where you want the policy to appear.

  5. Click the + button (Add elements) on the left.

  6. Choose EmbedEmbed a Widget.

  7. Click on the new HTML element and choose Enter Code.

  8. Paste your TIS embed code into the HTML field.

  9. Resize the HTML box so the full policy can display.

  10. Click Publish.

Again: Add only one policy’s code per page and use footer/menu links to send users to those pages.

Squarespace

  1. Log in to your Squarespace account.

  2. Choose the website, then go to Pages.

  3. Create a new page (e.g., “Client Terms & Conditions”) or open the existing one.

  4. Click Edit on the page content.

  5. Hover where you want the policy to appear and click an Insert Point.

  6. Select the Code block.

  7. In the Code block, set the type to HTML and paste your TIS embed code.

  8. Click Apply, then Save.

Do not paste the embed codes into your global Site Header, Site Footer, or any code injection area that runs across all pages. Use links in the footer to each dedicated policy page instead.

6. Common mistakes that cause errors

If you’re seeing errors, blank space, or the wrong policy, check for these common issues:

  1. Using the same code on every page

    • Problem: All pages try to load the same policy, or multiple policies, leading to conflicts.

    • Fix: Use only one policy code per page, and only on that specific policy page.

  2. Putting all codes in the global header/footer

    • Problem: Every page gets all scripts at once. This can cause:

      • Slow load times

      • Layout breaks

      • Policies showing in the wrong place

    • Fix: Move the codes out of headers/footers and into individual policy pages. Use links in the footer to those pages.

  3. Placing codes in the wrong type of block

    • Problem: Pasting into a normal text/paragraph block instead of an HTML/Code block can break the script or display raw code.

    • Fix: Always use Custom HTML, Code, or Embed blocks.

  4. Editing or stripping parts of the code

    • Problem: Removing <script>, <div>, or changing the code may break the connection to TIS.

    • Fix: Copy/paste the full embed code exactly as provided in your TIS account.

  5. Caching or old content

    • Problem: Sometimes, your site’s cache or a caching plugin keeps an old version of the page.

    • Fix: Clear your site cache and refresh the page in an incognito/private browser window.

7. Quick checklist: Did I embed correctly?

For each policy, ask yourself:

  • Do I have a separate page for this policy?

  • Did I paste only the matching TIS embed code on that page?

  • Did I use a Code/HTML/Embed block, not just a text block?

  • Are my footer and menu using simple links to these pages (not the full embed code)?

  • Did I avoid putting TIS codes in the global header/footer or site-wide injection fields?

If you can answer “yes” to all of the above, you’re in great shape.


If you'd like to know more, chat with us on Messenger🗨️

Did this answer your question?