Cookie Integration

Cookie Blocking

By EU law, you have to inform your website’s visitors (that are from the EU) that your website sets cookies. To set cookies that track a person you need their consent i.e. they have to opt-in or accept cookies.

To help you make your website compliant, you have to connect cookies to the Privacy Center. This gives users full control of cookies your website sets.

TRUENDO uses six different categories for cookies. necessary, statistics, marketing, social_sharing, social_content and preferences

Note: Non-necessary cookies are only allowed to be set when a person gives their consent, before that they have to be blocked

How to Block Cookies

You will have to add two attributes to every script in your website that needs to be controlled by TRUENDO.

At first we set the type attribute to "text/plain". This way the script is not running before the user accepts it.

The second attribute is data-trucookiecontrol. This attribute has to be set to the corresponding category. For example "statistics". When both are in the script it could look something like this:

<script type="text/plain" data-trucookiecontrol="statistics" src="[...]"></script>

Adding Placeholders

Some scripts might add visual content to your webpage such as Youtube Videos or Instagram embeds. In order to be GDPR compliant and keep your layout intact you need to have a placeholder instead of the content. To do that change the src attribute of your script to data-src and add the following attribute next to data-trucookiecontrol in your script:


The result should look similar to this:

<script type="text/plain" data-trucookiecontrol="statistics" src="" data-src="[...]"></script>
Important Note: Scripts that fall under the necessary category should not be changed as these can run without consent.