---
title: getClickCount
slug: campaign/docs/getclickcount
docTags: 
createdAt: 2026-07-02T19:01:44.226Z
---

**Type**: int

**Parameters**

| Name      | Type    | Value                                                                                                                                            |
| --------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| sessionId | String  | ID of the session                                                                                                                                |
| mailingId | long    | ID of the mailing                                                                                                                                |
| unique    | Boolean | TRUE: Double counts of recipients that clicked a link in the mailing several times are removed. FALSE: The overall number of clicks is returned. |

**Return values**

Number of clicks of the mailing

**Code structure**

```javascript
int getClickCount(String sessionId, long mailingId, boolean unique)
```
