# What does the tag tracks?

## **General Tracking** <a href="#id-01h7sfp5zk0sqwd6mhzyb49tr2" id="id-01h7sfp5zk0sqwd6mhzyb49tr2"></a>

[**Technical details about tracking**](https://developers.abtasty.com/docs/data/universal-collect/uc-hits) can be found in the developer portal.

By default and simply by implementing it on your website, our tag is designed to collect browsing data about your visitors. There are four main categories of automated hits:

* Campaign
* Pageview
* dataLayer
* Batch

### Campaign <a href="#id-01h7sfp5zkzpjmqydxj636d6sf" id="id-01h7sfp5zkzpjmqydxj636d6sf"></a>

Each time a campaign is seen by the visitor, a campaign hit is sent with the corresponding campaign ID/variation ID pair. One hit is sent per campaign.

Each time a campaign hit is sent, the analytics integration settings are triggered.

Each time a campaign hit is sent, a corresponding JS event is sent. You can [**listen to this event**](https://developers.abtasty.com/docs/tag/tag-javascript-events#executed-campaign-.) for advanced integration.

### Pageview <a href="#id-01h7sfp5zk5prxbse3a236akrc" id="id-01h7sfp5zk5prxbse3a236akrc"></a>

Every time the visitor visits a page, this hit is sent with all the details about the visited page.

### dataLayer <a href="#id-01h7sfp5zkrthz0r7d0e20fzyc" id="id-01h7sfp5zkrthz0r7d0e20fzyc"></a>

If you have configured a data layer integration, then a hit will be sent once per session with all the available data layer keys.

### Batch <a href="#id-01h7sfp5zkzbh11v3n4r730scj" id="id-01h7sfp5zkzbh11v3n4r730scj"></a>

To reduce its global footprint and increase performance, our tag sends the information in batches when they are triggered close to each other. When a batch hit is sent, you can find the usual details about each type of hit directly into the **h** parameter of the payload.

With a standard usage of AB Tasty, you should not be needed to implement any of these hits by yourself.

## **Events** <a href="#id-01h7sfp5zktkvj7s3mycr3axj5" id="id-01h7sfp5zktkvj7s3mycr3axj5"></a>

You can send any event to the collection pipeline. This EVENT type of hit is built according to the following pattern: category/action/label/value.

### Category <a href="#id-01h7sfp5zkek3x2gys3yjgmvex" id="id-01h7sfp5zkek3x2gys3yjgmvex"></a>

You are free to set the value of your choice in the event category. However, if you want the event to be used in the reporting as a goal or a filter, it must be set as **Action Tracking**.

### Action <a href="#id-01h7sfp5zm654p1jsrsmmf30pz" id="id-01h7sfp5zm654p1jsrsmmf30pz"></a>

The action is the name of your event as it will be displayed in the goals section, the reporting, or the filters.

### Label <a href="#id-01h7sfp5zmweww19ehty5j9d6v" id="id-01h7sfp5zmweww19ehty5j9d6v"></a>

A label enables adding text to the hit.

### Value <a href="#id-01h7sfp5zmdmdn5xm88xvgkj77" id="id-01h7sfp5zmdmdn5xm88xvgkj77"></a>

A value enables adding value to the hit.

### Format <a href="#id-01j5xchdnx2ymbeypw6k0hht9t" id="id-01j5xchdnx2ymbeypw6k0hht9t"></a>

An EVENT hit must be sent using the following format:

```
window.abtasty.send("event", {
 ec: "Action Tracking",
 ea: "Click on CTA",
 el: "CTA on product page",
 ev: 1
});
```

For further information, please refer to this [**article**](https://developers.abtasty.com/docs/data/uc-hits#event).

### Shortcut <a href="#id-01h7sfp5zmw5czdw8rq9tcb66z" id="id-01h7sfp5zmw5czdw8rq9tcb66z"></a>

You can also use the following method if you only need to send the action (name of a goal).

```
ABTastyClickTracking({{action}}, null);
```

## Suggested articles:  <a href="#h_01hp6m5xn3ej76xzeapksbv0f6" id="h_01hp6m5xn3ej76xzeapksbv0f6"></a>

{% content-ref url="/pages/cRtj6MZLLyqGIB9lDvzt" %}
[About cookies tracking](/account/tag-integration/understand-ab-tasty-tag-implementation-methods/about-cookies-tracking.md)
{% endcontent-ref %}


---

# 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.abtasty.com/account/tag-integration/what-is-the-ab-tasty-tag/what-does-the-tag-tracks.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.
