> For the complete documentation index, see [llms.txt](https://community.commandersact.com/trustcommander/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community.commandersact.com/trustcommander/setup-guides/tag-manager/tagcommander.md).

# TagCommander

Steps to implement TrustCommander with TagCommander

TrustCommander and TagCommander are natively integrated with each other. This setup requires minimal technical knowledge and can be done entirely in the interface.&#x20;

## Setup

Following you will find the required steps to implement a standard TrustCommander setup.

1. Choose the default account configuration mode for your account (see [Options](/trustcommander/user-guides/options.md#account-default-configuration)).
2. Setup your TrustCommander categories & vendors (see [Manage Categories](/trustcommander/user-guides/categories-and-tags/manage-categories.md)).
3. Assign your TrustCommander categories & vendors to your TagCommander tags (see [Assign Categories](/trustcommander/user-guides/categories-and-tags/assign-categories.md))
4. Create one or multiple banner templates (see [Manage Banner](/trustcommander/user-guides/privacy-banners/manage-banner.md))
5. Deploy your TrustCommander banner templates to the Commanders Act CDN or on premise target (see [Deploy Banner](/trustcommander/user-guides/privacy-banners/deploy-banner.md)).
6. Connect your privacy banner templates with TagCommander container and implement rules for which the banner should be played out (see below).<br>

## Install TrustCommander banner with TagCommander container

To deploy a TrustCommander banner with TagCommander it needs to be linked to a container. TagCommander can then be use to implement detailed rules for which a TrustCommander banner is shown to visitors.&#x20;

### Implement rules to show TrustCommander banner

`TAG > Tag Management > Edition (tab RULES)`

![Example: A IT SITE rule was assigned to the privacy banner header-with-privacy-center to only show this banner to Italian sites.](https://2515062769-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh69-tfWlhrtYE5Vhvq%2F-M69FtBbFM9OWnnxRyCM%2F-M6A1MEWYVHo_Vi249cb%2FCapture%20d%E2%80%99e%CC%81cran%202020-04-30%20a%CC%80%2014.21.56.jpg?alt=media\&token=75243e04-e5b4-4d1c-a15e-cd1b13ca640f)

In TagCommander 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 TagCommander documentation for more information.

![Example: The selected banner would only load in case the data layer property env\_template has the value FR.](https://2515062769-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh69-tfWlhrtYE5Vhvq%2F-M69FtBbFM9OWnnxRyCM%2F-M6A1dVD34CuQbEZ0sYx%2FCapture%20d%E2%80%99e%CC%81cran%202020-04-30%20a%CC%80%2014.23.13.jpg?alt=media\&token=f7d277b3-a257-4be7-bbe7-dcaae474dff6)

{% hint style="info" %}
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](/trustcommander/user-guides/privacy-banners/deploy-banner.md#banner-deployment-options)).
{% endhint %}

### Link TrustCommander banner with TagCommander container

`TAG > Tag Management > Edition (tab GENERATE)`

![Example: Add privacy banner to TagCommander container.](https://2515062769-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh69-tfWlhrtYE5Vhvq%2F-M69FtBbFM9OWnnxRyCM%2F-M6A22qG0fP5pUuuBSSf%2FCapture%20d%E2%80%99e%CC%81cran%202020-04-30%20a%CC%80%2014.24.01.jpg?alt=media\&token=b7a4fca4-8507-4126-9309-1af20c93f624)

TagCommander makes it easy to implement TustCommander banner on websites. To link a privacy banner with a TagCommander 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.

![Example: TrustCommander banner are now deployed with the TagCommander container.](https://2515062769-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh69-tfWlhrtYE5Vhvq%2F-M69FtBbFM9OWnnxRyCM%2F-M6A2H2IHcweUFB6H6oR%2FCapture%20d%E2%80%99e%CC%81cran%202020-04-30%20a%CC%80%2014.25.58.jpg?alt=media\&token=a92e0f9a-baeb-49e1-b345-2151f50f6319)

{% hint style="info" %}
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](/trustcommander/user-guides/privacy-banners/deploy-banner.md#banner-deployment-options)).
{% endhint %}

{% hint style="warning" %}
All containers of your website should be re-generated and deployed when installing a new privacy banner.
{% endhint %}
