Commanders Act TMS

Steps to implement Consent Module with TMS Commanders Act

Consent Module and TMS Commanders Act are natively integrated with each other. This setup requires minimal technical knowledge and can be done entirely in the interface.


Following you will find the required steps to implement a standard Commanders Act Consent module setup.

  1. Choose the default account configuration mode for your account (see Options).

  2. Setup your Consent categories & vendors (see Manage Categories).

  3. Assign your Consent categories & vendors to your Commanders Act Web Container tags (see Assign categories)

  4. Create one or multiple Consent banner templates (see Manage Banner)

  5. Deploy your Consent banner templates to the Commanders Act CDN or on premise target (see Deploy Banner).

  6. Connect your privacy banner templates with Commanders Act Web Container and implement rules for which the banner should be played out (see below).

To deploy a Consent banner with the Commanders Act TMS it needs to be linked to a container. Commanders Act TMS can then be use to implement detailed rules for which a Consent banner is shown to visitors.

Implement rules to display Consent banners

Sources > Overview > Web Containers > tab RULES > Privacy Banners Constraints​

In Commanders Act TMS it is possible to provide exact conditions to decide when each of the linked privacy banners should be shown to visitors. Typical use cases consist of:

  • Implement different banner for different languages or regions

  • Avoid to deploy the banner on legal pages (privacy policy) so that users can read them before providing consent.

  • Implement AB test for two banner designs.

You can create constrains under the PRIVACY BANNERS section to define under which conditions a privacy banner should be shown. Privacy banner constraint work the same way as tag constraints. Please reference constraints in the Web Container documentation for more information.

You have to first deploy a banner to the Commanders Act CDN or on premise location before being able to configure constraints (see Deploy Banner).

Sources > Overview > Web Containers > tab GENERATE

Commanders Act TMS makes it easy to implement Consent banner on websites. To link a privacy banner with a Commanders Act TMS container it just has to be activated in the GENERATE tab with the ACTIVATION checkbox. This installs the selected privacy banner in the generated container version.

You have to first deploy a banner to the Commanders Act CDN or on premise location before boing able to link it (see Deploy Banner).

All web containers of your website should be re-generated and deployed when installing a new privacy banner.

Go further with OnSite API

The OnSite API allows you to reload your container(s) on consent, manage behaviour or create custom variables/rules!

You can find the full list of commands in the dedicated section.

To reload your web container(s) on user consent, here's a sample code that you can use in the custom js block of your privacy banner, or directly in your web containers

/* Reload web containers on user interaction */

cact('consent.onUpdate', function (result) {      
/* Different approach for container reoad - based on work environment variable */

cact('consent.onUpdate', function (result) {      
    if (tc_vars.env_work === 'prod') {    
    } else {          

Last updated