WordPress installation guide

Follow these steps to install SimpleCookie on your WordPress site.

⚡ Auto-blocking: SimpleCookie automatically blocks tracking scripts (Google Analytics, Facebook Pixel, Hotjar etc.) until the user gives consent. You do not need to change your existing scripts.
⚠️ Important: The SimpleCookie script must be the first script tag in the head of your site — before all other scripts.

Method 1: Plugin (recommended)

  1. Install the WPCode plugin (Insert Headers and Footers).
  2. Go to Code Snippets → Header & Footer.
  3. Insert your SimpleCookie script in the Header section (top, as the first script).
  4. Click Save Changes.

Method 2: Theme editor

  1. Log in to your WordPress admin panel.
  2. Go to Appearance → Theme Editor.
  3. Select the file header.php.
  4. Insert your SimpleCookie script as the first script tag inside the head section.
  5. Click Update File.

Language selection

The banner supports 9 languages. Add ?lang=xx to the embed URL to display the banner in a specific language:

<script src='https://simplecookie.eu/embed/[your-id].js?lang=en'></script>

Language codes: da Danish · de German · sv Swedish · en English · fr French · nl Dutch · pl Polish · es Spanish · it Italian

Create free account →