# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.magecomp.com/magento-2-google-analytics-4-with-gtm/google-tag-manager-import-container.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
