> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-google-analytics-4-with-gtm/google-tag-manager-import-container.md).

# Google Tag Manager Import Container

Now go to your Google Tag Manager dashboard, select the **Admin** tab, and then click on the **Import Container** option.

<figure><img src="/files/FGzkgKANqSZWC0CtTydl" alt=""><figcaption></figcaption></figure>

Now **upload JSON file** to be imported, **select workspace**, and choose the **import option**. After that, click on the **Add to Workspace** button.

<figure><img src="/files/wTfhwTVjMA2rGs6Q9sys" alt=""><figcaption></figcaption></figure>

Click on **Preview** to see if the event triggered on the frontend or not.

<figure><img src="/files/CbBd8sfuR6hYAsReqMrw" alt=""><figcaption></figcaption></figure>

Click on **Connect** to see the Google Tag Manager preview on your site

<figure><img src="/files/mO1EooJGLNJnN3arjRGM" alt=""><figcaption></figcaption></figure>

Google Tag Manager tracking event for **home page**

<figure><img src="/files/O0iIjNI0miVEaORr9HR4" alt=""><figcaption></figcaption></figure>

Google Tag Manager tracking event for **category page**

<figure><img src="/files/HdwQyiKIi4qPs2Ki3hbt" alt=""><figcaption></figcaption></figure>

Google Tag Manager tracking event for **product view page**

<figure><img src="/files/zXmJUxdJC7FDKywZtm2U" alt=""><figcaption></figcaption></figure>

Google Tag Manager tracking event for **add to cart**

<figure><img src="/files/86YskfVswBaWO4z0pEAY" alt=""><figcaption></figcaption></figure>

Google Tag Manager tracking event for **shopping cart**&#x20;

<figure><img src="/files/iLY4PMiv54i4MheGxmRK" alt=""><figcaption></figcaption></figure>

Google Tag Manager tracking event for **checkout (shipping & payment method)**

<figure><img src="/files/9drlk155e3QJH4GJyFot" alt=""><figcaption></figcaption></figure>

Google Tag Manager tracking event for **success page**

<figure><img src="/files/PDIZiY4lFhP7i7UEJtTD" alt=""><figcaption></figcaption></figure>

Google Tag Manager **purchase data layer**

<figure><img src="/files/mzaXyK418BHaWqDKNomH" alt=""><figcaption></figcaption></figure>

Auto-generated JSON file contains the following

**Tags**

<figure><img src="/files/7hwXjRCoAp1mffjtqa6s" alt=""><figcaption></figcaption></figure>

**Triggers**

<figure><img src="/files/dZqA4maEz0IheAEv7EUX" alt=""><figcaption></figcaption></figure>

**Variables**

<figure><img src="/files/gc5pkC3TrltPOQpZsSSa" alt=""><figcaption></figcaption></figure>

**Folders**

<figure><img src="/files/5fOVkxiE8rbTfdaJeWAA" alt=""><figcaption></figcaption></figure>
