# Trip Tags - Get started

TAG feature allows you to add a tag to a trip, combine several trips into one tag, or extract a part of a trip in order to get statistics by tags

There are 2 type of TAGs:

* **Trip TAG** - it can be applied to any recorded trips. there is no time limitation so that you can do it for old trips as well.
* **Period TAG** - it can be applied for a period of time, starting from now. This tag can be applied for the past periods.

## Use cases

**Trip TAG** - a transportation company wants to get a statistics on how its drivers drive a car for different ride-hailing companies. to do that, you have to tag trips and then get a statistics by tags

![Example of data set with applied TAGs](/files/-M2ODngvYRP5oD3Rd1Dv)

There is no restrictions on a number of TAGs per trip as well as TAG's name

**Period TAG - to combine several trips under a single TAG** - A logistic company that specializes in intercity deliveries want to get statistics by orders. So, when this company gets an order to deliver goods from Sydney to Melbourne it can take several days that means several trips. To get statistics by the order they combine several trips under one TAG by activating tag when driver accepts his job/picks up goods, and deactivating TAG when the driver completes his job.

![Example of grouping several trips under a single tag](/files/-M2OPmVvU0pC07vMFEsz)

**Period TAG - to extract a part of trip** - an insurance company has pay per minute insurance. customer can activate and deactivate insurance at any time. Price for the insurance depends on driving behaviours and time of being insured in previous month. They use a policy number as a tag name and activate and deactivate every time when customer turns on and off insurance.

.

![Example of extracting a part of trip](/files/-M2OTQkGXdrz_YIQE9iD)

{% hint style="success" %}
Tag can be activated and deactivated whether via SDK or API call
{% endhint %}

###

###


---

# 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-old.telematicssdk.com/sdk-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.
