# Tags

Tags were created to allow more granularity when it comes to campaign reporting. Adding tags to campaigns will allow a user to better see different groupings in reporting and within their CRM if data is pushed. For Example, a user can add “Region” as a tag to campaigns, then specify which region that campaign belongs to. Eventually, they will be able to pull reports using a specific tag to see only campaigns with that corresponding data.

## SETUP <a href="#heading-h.m0p716hxtzue" id="heading-h.m0p716hxtzue"></a>

* Navigate to **Manage Groups** under Administration on the navigation panel.
* Under **Manage Groups**, search for the highest level group you’d like to assign a tag to.
* Click on the Tags tab to get started

<figure><img src="https://2509010157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4GRlhSJjbB4yPjM459z%2Fuploads%2F50z3Hcyu8aKaGsoYUaBn%2FScreen%20Shot%202022-08-23%20at%2010.01.12%20AM.png?alt=media&#x26;token=01f1cfbf-60b7-4e48-aba8-eac8857869df" alt=""><figcaption></figcaption></figure>

Simply add the name of the tag you would like to have assigned to the group. Once a tag has been added to the group, it will be available for selection on all campaigns under any sub-group or location under that group.

![](https://2509010157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4GRlhSJjbB4yPjM459z%2Fuploads%2FRFThHuq2YsygKKM7V1AU%2F2?alt=media)

Once a tag is added, it will show the tag name and if active or not. Active means it is currently being used in a campaign.

A tag can be deleted only if it isn’t being used in a campaign. If active, the delete button is not available.

{% hint style="info" %}
**NOTE:** Special Characters can be used for tag names
{% endhint %}

### ASSIGNING TAGS <a href="#heading-h.a6z2ehle210d" id="heading-h.a6z2ehle210d"></a>

Once a tag has been created for a group, it can now be assigned at the campaign level

Click on **Manage Locations** back on the navigation panel and search the location you want to create a campaign for.

![](https://2509010157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4GRlhSJjbB4yPjM459z%2Fuploads%2FvXS3gnzZV866g6nKCXA6%2Fmanage_loc.png?alt=media\&token=04b81021-0349-4a94-b921-3d4f5249366c)

<figure><img src="https://2509010157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4GRlhSJjbB4yPjM459z%2Fuploads%2FNkMLKCeBBssv9GEybXg7%2FABC_location.png?alt=media&#x26;token=719ab13e-87ea-46d4-b58c-d5b6583deb7d" alt=""><figcaption></figcaption></figure>

Click on Edit location and choose the **Campaigns** tab

<figure><img src="https://2509010157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4GRlhSJjbB4yPjM459z%2Fuploads%2FxwhknaTRMQ35BeEYsxAT%2FScreen%20Shot%202022-08-23%20at%2010.14.18%20AM.png?alt=media&#x26;token=973fb1dc-21be-4ae5-af75-4f947abffcfb" alt=""><figcaption></figcaption></figure>

Either select an existing campaign and click “Edit”, or click on “New Campaign”

Tags are in the first step of the creation wizard. Click “Add Tag” and two new boxes will appear.

<figure><img src="https://2509010157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4GRlhSJjbB4yPjM459z%2Fuploads%2FjEZuj1G1fTXEEUW2geqq%2FScreen%20Shot%202022-08-23%20at%2010.41.40%20AM.png?alt=media&#x26;token=183f9a65-b5b8-4196-b521-859c66dcc5df" alt=""><figcaption></figcaption></figure>

The dropdown will contain all the tags that were added at the group level, and the “Value” is the value you’d like to assign to that tag.

For example, a tag added could be “Region” and for this campaign, you would add “South” as the value. This means that this campaign will now be looped in with other campaigns that also have a value for “South” in the Region tag.

Multiple tags can be added to a campaign (up to 5). If you click on the “+” next to a tag, it will populate a new level to add another tag.

![](https://2509010157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4GRlhSJjbB4yPjM459z%2Fuploads%2Fnik2eQb0UMYoVCYRZs5m%2Fimage.png?alt=media\&token=df84725b-4005-4219-8ec9-ab5ec34d2c7a)

Tags can only be used once per campaign. Once a tag is selected, it disappears from the list and can’t be selected for the next tag

![](https://2509010157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4GRlhSJjbB4yPjM459z%2Fuploads%2FOfNdXn057xoQxf6f4KaZ%2Fimage.png?alt=media\&token=f54631b2-08c6-4959-a47a-3eedf6d2a2a6)

### ASSIGNING TAGS TO A WEBHOOK

Once tags have been set up and added to a campaign(s), they can be added to webhooks.

When adding a new webhook, you can add a parameter for “tags” that will populate the chosen campaign tags when a webhook is sent.

When the parameter is added, the new tags section will appear

JSON EXAMPLE:

| <p>{</p><p>"callid": "e43e1537.bd94.a189.f813.2388d19e201a",</p><p>"answered\_time": "20",</p><p>"dialstatus": "ANSWER",</p><p>"tracking": "7771000492",</p><p>"ani": "3126015000",</p><p>"call\_start\_time": "2021-11-08 19:58:43",</p><p>"call\_end\_time": "2021-11-08 19:59:43",</p><p>"target": "2069026645",</p><p>"domain\_name": "qaemailtest.com",</p><p>"campaign\_name": "call treatment",</p><p>"rec\_audiourl": "<https://audio.autoid.com/MP3/202111/e43e1537.bd94.a189.f813.2388d19e201a.mp3>",</p><p><strong>"tags":</strong></p><p><strong>{</strong></p><p><strong>"region”: "South",</strong></p><p><strong>“State”: “California”</strong></p><p><strong>}</strong></p><p>}</p> |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |


---

# 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://support.autoid.com/docs/account-management/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.
