Quick Start

Step 1: Install the Cookie Widget

Let's get started by putting a placeholder on your site. Before we begin, make sure you've installed the Cookie Widget on your site.


If you want your users to only be able to give their consent via a placeholder and not in the Cookie Widget, you can uncheck the "Include in Cookie Widget" checkbox on the Micropolicies page.

Step 2: Choose a Micropolicy

When you sign up for an account, we take you through the process of creating a Micropolicy. A Micropolicy is a granular use-case for data, and serves as an agreement between you and your users about why, how, and where you collect and process their data.

A placeholder is simply a visual representation of a Micropolicy on your website!

Step 3: Placehold a third party script

Add to your <script> tag a few attributes, including your chosen Micropolicy slug:

  • type="text/x-confirmic"
  • data-micropolicy="MY-MICROPOLICY-SLUG"
  • data-placeholder="@confirmic/generic"


See the Manual blocking documentation for a deeper explanation of how this works.

Step 4: Wrap an element with a Placeholder

You can also placehold any non-script elements by wrapping them a similar looking <script> tag. You may find this particularly useful for <iframe>s or any elements with a src attribute.

Bonus Step: Autoblocking

If you turned on Autoblocking when you signed up, Confirmic will automatically block and placehold any content that we know about, including everything in the list of Sample placeholders. That means you can skip steps 2 to 4 if you don't need to placehold anything else!


If you have Autoblocking turned on, make sure not to manually block those scripts as well!