Simple Privacy Policy example for website, template for blog, small business?

Simple Privacy Policy example for website, template for blog, small business?

This is a very simple privacy policy script. You can see in the screenshot how it looks. Requires almost no coding skills.

Download the script from here: privacy_policy_script.

Tutorial, how to install it (takes beginner HTML skills).

For WordPress websites

Copy cookie.js and cookie_css.css into the root of your website.
Go to the theme folder, your theme, footer.php, copy/paste all the code that you find in the cookie_demo.php. You can leave it on the last line of your footer.php file.

You will have to do a small edit in the cookie-demo.php code: you should write the correct path, example: instead of src=”http://yourwebsite.com/cookie.js” replace with src=”http://name_of_your_website.com/cookie.js”. Do the same for cookie_css.css
Upload footer.php on your server and load your website.

If you want to edit the text that is getting displayed, you can do it, it is very easy to understand how it works.

You should notice the privacy policy widget.

The user can click on the “close” link and the widget will not appear on his second visit. The script is set to appear after one year since the user has clicked the close button.


For standard websites

Copy cookie.js and cookie_css.css into the root of your website.
From footer.php or index.php (if you don’t use a footer.php file), copy/paste the code from cookie_demo.php. You can leave it on the last line of your footer.php/index.php file.

You will have to do a small edit in the cookie-demo.php code: you should write the correct path, example: instead of src=”http://yourwebsite.com/cookie.js” replace with src=”http://name_of_your_website.com/cookie.js”. Do the same for cookie_css.css
Upload footer.php/index.php on your server and load your website.

You should notice the privacy policy widget.

Add a comment: