Last updated: September 30, 2026
If your website collects personal data, visitors need an easy, visible way to find your privacy policy. Most sites handle this with a small privacy button or link, often in the footer, that opens the policy without cluttering the page.
Secure Privacy's cookie and privacy policy generator creates this button for you as a short snippet of HTML. You paste it into your site once, and it keeps working without further setup.
This guide assumes you've already installed the Secure Privacy script on your website. If you haven't, do that first, then come back to these steps.
How to add the privacy policy button
- Log in to your Secure Privacy account and go to Privacy Policy > Use on Website.
- Select the embed option for a button (as opposed to a plain text link; Secure Privacy offers both from the same screen, so pick whichever matches how you want it to appear on your site).
- Choose the background color you want for the button.
- Copy the generated HTML code.
- Open your web page in any HTML editor.
- Paste the code anywhere inside the <body> section of your HTML.
- Save the page. The privacy button will start appearing right away, with no further configuration needed.
A quick note on labels: Secure Privacy's dashboard has used slightly different names for this screen over time (for example, "Embedding code" versus "Direct text Embedding" for the text-link variant). If the exact wording you see doesn't match what's above, look for the option under Privacy Policy > Use on Website that generates an embeddable snippet, since button and text-link versions both live there.
Schedule a call if you'd like help setting this up.
FAQ
Do I need to install anything else for the button to work?
No, as long as the Secure Privacy script is already installed on your site. The button embed is a self-contained snippet that doesn't depend on any other setup.
Can I use a text link instead of a button?
Yes. The same Use on Website screen also generates a direct text-link embed if you'd rather show a plain "Privacy Policy" link instead of a styled button.
Will the button update automatically if my policy changes?
Yes. The embed pulls from your live Secure Privacy policy, so edits you make in your account are reflected wherever the button or link is placed, with nothing to re-paste.


