Secure Privacy

How to Embed Your Privacy Policy Text Directly on a Web Page Using Secure Privacy

[CMP v1] This guide explains how to embed your Secure Privacy Privacy Policy text directly on a webpage using the Direct Text Embedding code — ideal for creating a dedicated privacy policy page where the full policy text is visible to visitors on page load.

SPT
Secure Privacy Team
2 min read ()

This guide explains how to embed your Secure Privacy Privacy Policy as direct text on any page of your website using the embed code from your account. This is one of three available embed options — alongside the button and hyperlink methods — and displays the full privacy policy text inline on the page.

This guide assumes the Secure Privacy script is already installed on your website. If not, complete the installation before proceeding.

Who Is This For?

  • Website administrators and developers embedding privacy policy text directly on a webpage

  • Compliance teams adding a dedicated privacy policy page to their website using Secure Privacy

  • Anyone using the Secure Privacy Privacy Policy Generator who wants to display policy text inline rather than via a button or link

How to Embed Your Privacy Policy Text on a Web Page

  1. Log in to your Secure Privacy account and navigate to Privacy & Cookie Policy > Use on Website > Direct Text Embedding.

Secure Privacy account showing Privacy Policy Use on Website section with Direct Text Embedding embed code
  1. Copy the embed code shown on the screen.

  2. Open the web page where you want the privacy policy text to appear — in your HTML editor, CMS, or page builder.

  3. Paste the HTML embed code anywhere inside the <body> section of your page where you want the privacy policy text to display.

HTML editor showing the Secure Privacy privacy policy embed code pasted inside the body section of a webpage
  1. Save your page. Your Privacy Policy text will now appear inline on the page wherever you pasted the embed code.

Frequently Asked Questions

The Direct Text Embedding option displays your full privacy policy text inline on the page — visible to visitors without any clicking. The Button embed displays a clickable button that opens the policy in a pop-up, and the Hyperlink embed displays a text link. Use Direct Text Embedding when you want a dedicated privacy policy page with the full policy text visible on load.

Does the embedded privacy policy update automatically when my scan results change?

Yes. The embed code loads your policy content dynamically from Secure Privacy — so auto-generated sections such as cookie and plugin data update automatically whenever you rescan your domain, without needing to update the embed code on your page.

Where in the page should I paste the embed code?

Paste the embed code anywhere inside the <body> tag of your HTML page where you want the privacy policy text to appear. For a dedicated privacy policy page, paste it in the main content area. In most CMS platforms, use the HTML or source code editing mode to add it to the page body.

See Also

Need more help?

Our privacy experts are here to guide you through complex regulations and find the right solution.

Contact Support

Related Articles

View all