# Import GTM JSON

### How to import

1. Open your workspace canvas
2. Click the **project name dropdown** at the top
3. Click **Import GTM JSON**
4. Select your GTM JSON file
5. Nodes are automatically generated on the canvas

\[📸 IMAGE: Canvas after import showing auto-generated nodes]

> ⚠️ Importing replaces the current canvas flow. Export a backup first if needed.

***

### How to export JSON from GTM

1. Go to [tagmanager.google.com](https://tagmanager.google.com)
2. Select your container
3. Go to **Admin** → **Export Container**
4. Select a version and download

\[📸 IMAGE: GTM export container screen]

***

### After importing — apply back to GTM

After editing in Taviqo, apply changes back to GTM:

1. Click **Export GTM JSON** in Taviqo
2. Go to GTM → **Admin** → **Import Container**
3. Upload the file
4. Select **Merge** (never Overwrite)
5. Test with **Preview**
6. Click **Publish** when ready


---

# 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://taviqo.gitbook.io/taviqo-docs/import-and-export/import-gtm-json.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.
