# How to Aggregate the Same Type of Buttons as a Single Event

On special feature pages and cushion landing pages, multiple buttons of the same type are often installed to improve conversion rates. Here, we explain how to aggregate these buttons in bulk with specific examples.

Example: Suppose you want to measure the number of clicks on an "Add to Cart" button like the following using event measurement.

`<a href="class="add_basket" data-ItemID="STB64889″>Add to Cart</a>` `<a href="class="add_basket" data-ItemID="DTB99057″>Add to Cart</a>` `<a href="class="add_basket" data-ItemID="WTP99756″>Add to Cart</a>`

Since the above three descriptions differ in the value of "data-ItemID=", if you set one of the above:

`<a href="class="add_basket" data-ItemID="STB64889″>Add to Cart</a>`

as the source for event acquisition, you can only measure the button for one product.

Therefore, if you exclude the "data-ItemID="XXXXXXXX"" part in the event settings management screen, you can measure the number of clicks on the "Add to Cart" button regardless of the value of "data-ItemID=".


---

# 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://helps.ptengine.com/en/faq/insight-setting/event-merging.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.
