---
title: decodeTrackingLinks
slug: campaign/docs/decodetrackinglinks
docTags: 
createdAt: 2026-07-02T19:01:45.097Z
---

The mailing is not altered in any way. See also [encodeTrackingLinks](docId:-enGGSPpjLFwHlFTmW-q5).

**Type**: String

**Parameters**

| Name      | Type   | Value                                                                                                        |
| --------- | ------ | ------------------------------------------------------------------------------------------------------------ |
| sessionId | String | ID of the session                                                                                            |
| mailingId | long   | ID of the mailing                                                                                            |
| content   | String | Content of the mailing (HTML content or text)                                                                |
| mimeType  | String | MIME type of the mailing (text/plain or text/html)<br /><br />The content will be treated as this MIME type. |

**Return values**

Content with all tracking links replaced by their corresponding normal links

**Code structure**

```java
String decodeTrackingLinks(String sessionId, long mailingId, String content, String mimeType)
```
