---
title: How to setup Google Tag Manager, Google Analytics 4 🤔
description: What is Google Tag Manager? Google Tag Manager is a tool that helps you easily manage and update tracking codes—called &quot;tags&quot;—on your website or app without needing to change the code each time. Once
---

[Skip to content](https://help.zyda.com/en/how-to-setup-google-tag-manager-google-analytics-4#main-content)

English

Show submenu for translations

![1024px\_Zyda\_Mainlogo\_Black-8-1.png\]](https://help.zyda.com/hs-fs/hubfs/1024px_Zyda_Mainlogo_Black-8-1.png?height=40&name=1024px_Zyda_Mainlogo_Black-8-1.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [zyda.com](https://zyda.com/)

[zyda.com](https://zyda.com/?hsLang=en)

 Advice and answers from Zyda Team

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.zyda.com/en?hsLang=en)
2. [Marketing](https://help.zyda.com/en/marketing?hsLang=en)
3. [Tracking & Social Media](https://help.zyda.com/en/marketing?hsLang=en#tracking-social-media)

# How to setup Google Tag Manager, Google Analytics 4 🤔

**What is Google Tag Manager?**

**Google Tag Manager** is a tool that helps you easily manage and update tracking codes—called "**tags**"—on your website or app without needing to change the code each time. Once you add a small piece of Google Tag Manager code to your site, you can control things like Google Analytics, ads, and other tracking tools from a simple web interface ***for better analytics and marketing.***

It's a powerful tool. It is strongly advised that this tool would be used by advanced users, since you can add things like TikTok, Google Ads, and Snapchat tracking to run ads and collect data. Check this[**list**](https://support.google.com/tagmanager/answer/6106924?hl=en) for supported integrations.

 

#### **To connect or set Google Tag Manager, follow the steps below:**

### **Integration Steps:**

1- Go to[tagmanager.google.com](http://tagmanager.google.com/)

2- Login or create a new Google account

3- Click on **Create Account**

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-08-38-19-3816-AM.png?width=688&height=227&name=image-png-Jun-18-2025-08-38-19-3816-AM.png)

 

4- Provide your **company name**, **location,** and choose if you wish to share anonymous data or not

5- Provide a **container name** and choose **Web**

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-08-39-14-9478-AM.png?width=688&height=373&name=image-png-Jun-18-2025-08-39-14-9478-AM.png)

 

6- The Terms and Conditions page will pop-up. Click on **Yes** to proceed

7- The following page will appear. All you need is to copy the shown **Tracking ID**

![003\_Gif\_Google\_Tag\_Manager\_Integrations](https://help.zyda.com/hs-fs/hubfs/003_Gif_Google_Tag_Manager_Integrations.gif?width=688&height=336&name=003_Gif_Google_Tag_Manager_Integrations.gif)

8- Go to your Zyda dashboard \>\> **Marketing** \>\> **Tracking & Social Media** then paste the mentioned **Tracking ID** in the box under Google Tag Manager \>\> after clicking **Connect**. It will automatically check the ID and provide you with a confirmation message

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-08-51-45-1137-AM.png?width=688&height=288&name=image-png-Jun-18-2025-08-51-45-1137-AM.png)

 

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-08-54-01-8506-AM.png?width=688&height=301&name=image-png-Jun-18-2025-08-54-01-8506-AM.png)

---

#### ***Congratulations*, you’ve set up Google Tag Manager with Zyda. To begin using Google Analytics, Google ads, etc. Continue below…**

[You can also watch this short video showing all of the steps below from start to finish](https://drive.google.com/file/d/1s9upgEwP1h909IMwySXu82jJltTPTAik/view?usp=sharing)

9- Download the template below:

***[(DOWNLOAD) GA4 - Templates v4.json](https://drive.google.com/file/d/1Wa7Cah9Y7CnRTyRmevNrwyIFZ1z6K4tj/view?usp=drive_link)***

 

10 - Go back to your GTM Workspace on[https://tagmanager.google.com/](https://tagmanager.google.com/)

Once you're logged in, click on **Admin**

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-08-57-00-9672-AM.png?width=688&height=201&name=image-png-Jun-18-2025-08-57-00-9672-AM.png)

11- Click on **Import Container**

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-08-57-47-5823-AM.png?width=688&height=307&name=image-png-Jun-18-2025-08-57-47-5823-AM.png)

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-08-59-22-7083-AM.png?width=688&height=277&name=image-png-Jun-18-2025-08-59-22-7083-AM.png)

12- Once you've downloaded the file, proceed to import it into GTM \>\> Click on **Existing **

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-09-03-10-5612-AM.png?width=688&height=223&name=image-png-Jun-18-2025-09-03-10-5612-AM.png)

 

13- If you're asked to select a workspace, click on the **Default Workspace**

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-09-04-03-7465-AM.png?width=688&height=104&name=image-png-Jun-18-2025-09-04-03-7465-AM.png)

14- Click on **Confirm** at the bottom of the page

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-09-04-47-2157-AM.png?width=688&height=375&name=image-png-Jun-18-2025-09-04-47-2157-AM.png)

 

15- Return to your **GTM and workspace**, and you should see that imported **Tags**, **Triggers**, and **Variables** have been added.

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-09-18-31-7270-AM.png?width=688&height=328&name=image-png-Jun-18-2025-09-18-31-7270-AM.png)

 

16- To add your Google Analytics 4 measurement ID, go to variables and open "**GA4 Measurement ID**" and replace "***ADD\_YOUR\_GOOGLE\_ANALYTICS\_4\_CODE\_HERE***" with your measurement ID from Google Analytics. Make sure you are using a G-XXXXXXX property, and not a Universal Analytics UA-XXXXX property.

**Admin** \>\> **Data Streams** \>\> Copy the code **\[Measurement ID\]** \>\> Go to **Variables** and past the code under **GA4 Measurement ID**

![19-may-2022\_adding\_GTM\_templates\_v1-ezgif.com-video-to-gif-converter (1)](https://help.zyda.com/hs-fs/hubfs/19-may-2022_adding_GTM_templates_v1-ezgif.com-video-to-gif-converter%20(1).gif?width=688&height=387&name=19-may-2022_adding_GTM_templates_v1-ezgif.com-video-to-gif-converter%20(1).gif)

18- Once you’ve added your pixels and Google Analytics codes, click **Submit**

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-09-51-41-3737-AM.png?width=688&height=248&name=image-png-Jun-18-2025-09-51-41-3737-AM.png)

19- Click **Publish**

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-09-52-37-3060-AM.png?width=688&height=107&name=image-png-Jun-18-2025-09-52-37-3060-AM.png)

20- Click on **Skip**

![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-09-53-24-0158-AM.png?width=688&height=362&name=image-png-Jun-18-2025-09-53-24-0158-AM.png)

---

**And you're (FINALLY) done!**

Now you should begin to see data flowing into your **Google Analytics 4 account within 48 hours**. However you can take a look at the "**Realtime**" tab in Google Analytics for real-time data.

### **Best Practice:**

**To avoid duplicate events, make sure to disable enhanced measurement on your GA4 stream settings.**

Feom **Google Analytics 4**: ***P**r**operty Settings Sign*** \> ***Data** **Streams*** \> Click on the stream \>\> ***Turn off enhanced measurement ***

*![](https://help.zyda.com/hs-fs/hubfs/image-png-Jun-18-2025-09-57-44-0591-AM.png?width=688&height=403&name=image-png-Jun-18-2025-09-57-44-0591-AM.png)*

#### You've now set up GA4 using Google Tag Manager. You can explore the hundreds of other integrations available on Google Tag Manager [tag integrations](https://support.google.com/tagmanager/answer/6106924?hl=en) or in the [community gallery](https://tagmanager.google.com/gallery/#/?page=1).

---

### **Notes:**

- Google Tag Manager is intended for advanced users only

- While setting up your Tag Manager, inform the technical person doing so that Zyda's storefront uses a single-page application and "***page views****"* may not always work. We suggest using our custom data layer event called "**page\_view**"
- To deep dive into GTM's Data Layer, you can check "**[\[Advanced\] What data does Zyda push to the Google Tag Manager Data Layer](https://help.zyda.com/en/advanced-what-data-does-zyda-push-to-the-google-tag-manager-data-layer?hsLang=en)**["](https://help.zyda.com/en/advanced-what-data-does-zyda-push-to-the-google-tag-manager-data-layer?hsLang=en)

---

**To watch a video on how to set up Google Tag Manager, Google Analytics 4 🤔**

**[Click here ◀](https://drive.google.com/file/d/1RoPBciy46dSDccdtz3-vZcLPSi7XDDiU/view?usp=sharing)**

 

 

 

- [Orders](https://help.zyda.com/en/orders?hsLang=en)
- [Customers](https://help.zyda.com/en/customers?hsLang=en)
- [Menu](https://help.zyda.com/en/menu?hsLang=en#main-content)

    - [Option Groups](https://help.zyda.com/en/menu?hsLang=en#option-groups)
    - [Item tracking](https://help.zyda.com/en/menu?hsLang=en#item-tracking)
    - [Items](https://help.zyda.com/en/menu?hsLang=en#items)
- [Marketing](https://help.zyda.com/en/marketing?hsLang=en#main-content)

    - [Vouchers](https://help.zyda.com/en/marketing?hsLang=en#vouchers)
    - [SMS Campaigns](https://help.zyda.com/en/marketing?hsLang=en#sms-campaigns)
    - [Tracking & Social Media](https://help.zyda.com/en/marketing?hsLang=en#tracking-social-media)
- [Setup](https://help.zyda.com/en/setup?hsLang=en#main-content)

    - [Business Information](https://help.zyda.com/en/setup?hsLang=en#business-information)
    - [Branding](https://help.zyda.com/en/setup?hsLang=en#branding)
    - [Store Theme](https://help.zyda.com/en/setup?hsLang=en#store-theme)
    - [Business Locations](https://help.zyda.com/en/setup?hsLang=en#business-locations)
    - [Delivery New Version](https://help.zyda.com/en/setup?hsLang=en#delivery-new-version)
    - [Orders Management](https://help.zyda.com/en/setup?hsLang=en#orders-management)
    - [Integrations](https://help.zyda.com/en/setup?hsLang=en#integrations)
- [Analytics](https://help.zyda.com/en/analytics?hsLang=en)
- [OrderFast](https://help.zyda.com/en/orderfast?hsLang=en#main-content)

    - [Orderfast Wallet](https://help.zyda.com/en/orderfast?hsLang=en#orderfast-wallet)
    - [Orderfast Loyalty](https://help.zyda.com/en/orderfast?hsLang=en#orderfast-loyalty)
    - [User Info](https://help.zyda.com/en/orderfast?hsLang=en#user-info)
- [Payment Gateways](https://help.zyda.com/en/payment-gateways?hsLang=en)
- [Team](https://help.zyda.com/en/team?hsLang=en#main-content)

    - [Team users](https://help.zyda.com/en/team?hsLang=en#team-users)
- [Verd](https://help.zyda.com/en/verd?hsLang=en#main-content)

    - [Verd Dispatch](https://help.zyda.com/en/verd?hsLang=en#verd-dispatch)
    - [Verd Network](https://help.zyda.com/en/verd?hsLang=en#verd-network)
- [Billing & Plans](https://help.zyda.com/en/billing-plans?hsLang=en)
- [Sales Report](https://help.zyda.com/en/sales-report?hsLang=en)
- [General Troubleshooting](https://help.zyda.com/en/general-troubleshooting?hsLang=en)

[![Zyda](https://help.zyda.com/hubfs/SVG_logo_ZydaArtboard%202-1.svg "Zyda")](https://zyda.com?hsLang=en)

zyda.com Help Center

Copyright © 2026, Zyda Technologies