With Google Tag Manager, you can quickly and easily update measurement codes and related code fragments, collectively known as tags on your website.
This guide will walk you through connecting your landing page with GTM manually.
You can also use our in-app Google Tag Manager integration to apply the tag to all your landing pages and manage it globally.
Install Google Tag Manager on a landing page
1. Go to Google Tag Manager. If you do not have an account, create a new one.
2. If you already have an account, navigate to the Admin tab and add a new container.
3. Installation codes will appear. Copy the first one.
![](https://landingi.com/wp-content/uploads/2020/09/en_gtm1.png)
4. In a new window, go to the JavaScript Code tab in your landing page’s Dashboard in Landingi. Click Add script.
![add script](https://landingi.com/wp-content/uploads/2022/07/en_slidesection2.png)
You can enter Dashboard and JavaScript Code tab also directly from the editor.
![dashboard javascript landingi](https://landingi.com/wp-content/uploads/2024/03/dashboard-javascript-landingi-editor.png)
5. Name the script and paste the copied code in the Content field. Choose the Head position on Both pages. Save by clicking Add.
![add google tag manager to landing page](https://landingi.com/wp-content/uploads/2020/09/en_gtm2.png)
6. Copy the second code from Google Tag Manager.
![google tag manager installation](https://landingi.com/wp-content/uploads/2020/09/en_gtm3.png)
7. Add another script to your landing page.
8. Name the script and paste the copied code in the Content field. Choose the Body top position on Both pages. Save by clicking Add.
![install google tag manager in landingi](https://landingi.com/wp-content/uploads/2020/09/en_gtm4.png)
9. Go back to Google Tag Manager. Click OK, and then Submit.
![submit google tag manager](https://landingi.com/wp-content/uploads/2020/09/en_gtm5-1.png)
10. Add name and description. Click Publish.
![publish google tag manager](https://landingi.com/wp-content/uploads/2020/09/en_gtm6.png)
11. Once your Google Tag Manager is published, you can add tags and monitor your statistics.
![add google tag manager landing page](https://landingi.com/wp-content/uploads/2020/09/en_gtm7.png)
Read our blog article to learn more about Google Tag Manager.
Browse all integrations in our Integrations Catalog to see tools you can connect Landingi with.