How to block cookies by using the {cpnb} tags

Some services like the 'Google Tag Manager', 'Google Analytics', the 'Google Adsense', the 'Olark live chat', the 'Zopim live chat', and many other javascript applications, use cookies in their javascript code. This plugin has the great opportunity to block the cookies of these scripts by using the <cpnb> tags.

Usage

Block any script

Block scripts from a specific Cookie Category

With the attribute "data-cpnb-cookie-category-id" you can block the javascript code from specific categories which have already added in the plugin settings. 
Note that the category ID should be the same (e.g. analytical-cookies) as has been set in the plugin settings.

Example with the Google Tag Manager

Google asks for you to place the below code in your index.php of your current Joomla! template.

Without the <cpnb> tags should be like this:

Add before the </head>
Add after the <body>

With the <cpnb> tags should be like this:

Add before the </head>
Add after the <body>

Still need help? Contact Us Contact Us