Overview
The flow on this page follows the original documentation: gather both scripts in Google Tag Manager, open the Studio CMS backoffice, select the editable language, fill in the correct fields and then confirm that the container is active using Preview mode.
What you need before entering Studio
Preparation
GTM account and container
Access Google Tag Manager and create or select the container associated with the website.
Two separate code snippets
Copy the two provided snippets: the script that goes in the head and the script that must be placed immediately after the opening body.
Step by step in Studio CMS
Implementation
1. Get the GTM codes
Inside Tag Manager, copy the script for the Header and the script for the Body.
2. Log into the backoffice
Sign in to Studio CMS with permission to edit website settings.
3. Open Settings
In the side menu, go to the Settings area.
4. Select Editable Languages
Choose the language where you want to apply the scripts and then repeat the same process for the remaining active languages.
5. Place the code in each field
In the Scripts group, paste the GTM snippet into the Header field and the second snippet into the Body field.
6. Save
Save the configuration and prepare the technical validation before considering the installation complete.
What goes in each area
Correct separation
Header
The first snippet must be placed inside the website's <head> section.
Body
The second snippet must be placed immediately after the opening <body> tag.
How to validate the installation
Final checklist
- Open the website source code and confirm the Header script appears in the head area.
- Confirm that the Body script appears immediately after the opening body tag.
- In Google Tag Manager, use Preview to validate that the container is active and responding.
See also
Related pages