# Tags

### Tag Types

| Label | Type        | Description                |
| ----- | ----------- | -------------------------- |
| G4    | GA4 Event   | Sends event data to GA4    |
| GT    | Google Tag  | Initializes GA4 connection |
| HTML  | Custom HTML | Executes custom HTML/JS    |

***

### Google Tag (GT)

The Google Tag must exist in your GTM container for GA4 Event tags to work.

In Taviqo, if you enter a GA4 Measurement ID in workspace settings, the Google Tag is **automatically included** in the exported JSON.

***

### How to add a GA4 Event tag

1. Select **GA4 Event** from the left library panel
2. Drag it onto the canvas
3. Configure in the right settings panel:

| Field      | Description             | Example                   |
| ---------- | ----------------------- | ------------------------- |
| Name       | Tag name                | GA4 - create\_project     |
| Event Name | Event name sent to GA4  | create\_project           |
| Parameters | Additional data to send | project\_id, source\_page |

\[📸 IMAGE: Tag settings panel screenshot with event name and parameters]

***

### Naming Convention

```
GA4 - [event_name]

Examples:
GA4 - create_project
GA4 - add_backlink
GA4 - generate_report
```

***

### Parameter Settings

Parameters are additional data sent to GA4 alongside the event.

| Key          | Value              | Description               |
| ------------ | ------------------ | ------------------------- |
| project\_id  | DLV - project\_id  | Project ID                |
| source\_page | DLV - source\_page | Page where event occurred |
| user\_type   | DLV - user\_type   | User type                 |

> 💡 When typing a parameter key, a list of commonly used keys appears as autocomplete suggestions.

***

### Connect a tag to a trigger

A tag cannot fire on its own — it must be connected to a trigger.

```
[CE - create_project]
         ↓
[GA4 - create_project]
```

Connect the trigger node to the tag node on the canvas to link them.

\[📸 IMAGE: Canvas showing trigger connected to tag with arrow]


---

# 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/features/tags.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.
