Articles on: Scripts & cookies

How to control the services on your website


After installing Clym on your website, advanced users might want to customize the default configurations for the services that are running on the website.


By default, Clym offers automatic blocking for services, which means that the Clym widget automatically identifies the scripts and services that are running on your website, adds them to your Clym account, and provides website visitors with a mechanism to opt in or opt out of these services, depending on which jurisdiction they are visiting your website from. There may be circumstances where you wish to gain more control of what's happening with the scripts on your website. Here is how you can do it:


Automatic blocking


If you still would like to enjoy the feature of automatic scripts management, but there are certain scripts that you don't want to block in any scenario, you can exclude certain scripts by adding data-clym-blocking="restrict-blocking" attribute to the script itself, like this:


<script src="https://myownscript.com" **data-clym-blocking="restrict-blocking"**></script>


If you use automatic blocking with additional "restrict-blocking", regardless of the user's preference, it will always load in.


To turn off the restriction, you can simply remove the attribute from the script.


Explicit blocking


If you would like to gain full control of the scripts running on your website, you have the option to switch to explicit blocking. This will make sure the Clym widget will not block anything unless set explicitly in the source code. Add the following attribute to the main blocking.js script.


<script src="https://widget.clym-sdk.net/blocking.js" **data-explicit-blocking="allowed"**></script>


If this is set up, a script is being blocked only if that script has this following attribute:


<script src="https://myownscript.com" **data-clym-blocking="allow-blocking"**></script>


In this case, Clym won't add it to the list of services anymore, will simply ignore it.


If you encounter any challenges, please reach out to us at support@clym.io.

Updated on: 05/02/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!