Skip to content

Create a Server Container in GTM

In this step, we will configure Google Tag Manager (GTM) to manage your Usercentrics Server-Side Tagging container.

In GTM, a Web Container is different than a Server Container

For marketers that are familiar with GTM, you are probably using a Web Container to manage tags (scripts) deployed to the browser. In this step, we will instead be creating a Server Container in GTM (sGTM), which is where server-side tags will be run.

In this step you will:

  1. New GTM Users, Create a GTM account and Server Container
  2. Existing GTM Users, create a Server Container
  3. Obtain your Container Config
  4. Import a "client template" into your GTM Server Container
  5. Create a "client" based off your imported "client template"
  6. Publish your results

Go to Google Tag Manager.

For existing Google Tag Manager accounts

For existing Google Tag Manager accounts skip to 2. Existing GTM Users, create a Server Container.

1. Setting up Google Tag Manager, for new accounts

For Google Tag Manager accounts

  • Setup Account and Create your first Container are combined
  • Accessing your Server Container and Container Config appear in a different order.

For new Google Tag Manager users, "Create Account" Step 7 screenshot

Under "Add a New Account" - "Account Setup" - "Account Name" - enter name of business and select your "Country" - The following is the creation of your new Account (not yet the new Container)

Step 9 screenshot

Next, you are setting up your "Container" - This is the creation of your first Container, which we will setup as a Server Container.

Step 10 screenshot

Under "Container Setup" - "Container name" - type "Server Container" Step 11 screenshot

Select "Server" Step 12 screenshot

Click "Create" Step 13 screenshot

Accept the Terms of Service Step 14 screenshot

Click "Yes" Step 15 screenshot

If you see the "Install Google Tag Manager" skip to Install Google Tag Manager

Find the Install Google Tag Manager page

If you got lost, and cannot find the "Install Google Tag Manager" page, follow the directions to find the Install Google Tag Manager page.

2. Existing GTM Users, create a Server Container

If you already have an account, and need to create a container - go to the navbar - press the top left "Tag Manager" logo - when you see "All Accounts" you can create Container with next steps Step 1 screenshot

Click on the three dots next to the gear icon Step 2 screenshot

Click on "Create Container" Step 3 screenshot

For the "Container name" input, type "Server Container" Step 4 screenshot

Select "Server" Step 5 screenshot

Click on "Create" Step 6 screenshot

After Creation, you should be at 3. The "Install Google Tag Manager" screen. If you got lost, there will be direction to navigate back to the "Install Google Tag Manager" screen.

3. The "Install Google Tag Manager" screen, where you find your Container Config.

Getting Back to “Install Google Tag Manager” screen

If the window closed, use the following steps to return to “Install Google Tag Manager” screen:
 ·  [top Tab] (select) Admin
 ·  [right Box] (select) Container Settings
 ·  [bottom Button] (click) Setup Your Tagging Server
You should now be back at the “Install Google Tag Manager” screen.

Select "Manually provision tagging server" Step 16 screenshot

Copy and Save the text from "Your Container Config is:" Step 17 screenshot

We recommend you temporarily paste the text in a Notepad or Code Editing program for safekeeping. You will need it for future steps.

4. Importing Client Template

Download our Client Template

Download: Usercentrics Server Container Client Template

Save it on your computer for easy access, you will need it in a moment.

In Google Tag Manager:

Getting to Templates in sidebar

[top Tab] (select) Workspace
[sidebar] (select) Templates

Click on Templates Step 20 screenshot

Click on New in the "Client Templates" section Step 21 screenshot

Click on the three dots next to save button (top right) Step 22 screenshot

Click on Import Step 23 screenshot

Look for the template you downloaded named server-container-client-template.tpl and upload it. Step 24 screenshot

Click on UC Consent Manager Allowed DPS Client Step 26 screenshot

Click on Code, to verify import. If you see code, it was successful. Step 27 screenshot

Click on Save Step 28 screenshot

Close the "Template Editor" Step 29 screenshot

5. Use our Template to create a Client.

Getting to Clients in sidebar

[top Tab] (select) Workspace
[sidebar] (select) Clients

Click on Clients Step 30 screenshot

Click on New Step 31 screenshot

Click on Section edit button to see the options Step 32 screenshot

Click on UC Consent Manager Allowed DPS Client Step 33 screenshot

Click on Save Step 34 screenshot

Click on Save again to accept the default name Step 35 screenshot

Click on Submit Step 36 screenshot

Type "Added UC Consent Client" Step 37 screenshot

6. Click on Publish

Step 38 screenshot

Click on Close screen Step 39 screenshot

You have now successfully completed setting up the Server Container in GTM, which will manage the Usercentrics sGTM Container, that you will configure in the next step.

You are now ready to Setup Usercentrics sGTM Container