# Custom integration attribution links

> Review the format and parameters for custom server-to-server integration attribution links

To pass [engagement](/user-acquisition/data-sharing/ad-metrics-data-sharing.md) and [attribution](/user-acquisition/data-sharing/attribution/campaign-attribution-fundamentals.md) data to Unity using a custom server-to-server integration, use server requests to generate attribution tracking links. Refer to this article for GET requests you can use to send attribution links to Unity.

## Send links with postback requests

Use the following HTTP GET requests to send install postbacks to Unity. Refer to the [Custom integration postback request reference](/user-acquisition/data-sharing/custom-integration/custom-integration-postback-request.md) table to ensure you include the required parameters.

### iOS

Use the following postback request URL to send iOS postbacks:

```http
https://postback.unityads.unity3d.com/games/[game_id]/install?advertisingTrackingId=[YOUR_MACRO_FOR_IDFA]&gamerId=[unity_gamer_id]&attributed=[attributed]
```

### Android

Use the following postback request URL to send Android postbacks:

```http
https://postback.unityads.unity3d.com/games/[game_id]/install?advertisingTrackingId=[YOUR_MACRO_FOR_GOOGLE_AD_ID]&gamerId=[GAMER_ID]&attributed=[ATTRIBUTED]
```

Review the following postback parameters to ensure your Android postback request is formatted correctly:

| `game_id`    | Required | String               | Your Unity advertiser [Game ID](/user-acquisition/getting-started/locate-advertiser-credentials.md#game-id).                                                                                        | Ensure that you retrieve your advertiser **Game ID** from the [User Acquisition dashboard](https://cloud.unity.com/acquire). Don't use the publisher **Game ID** used in SDK integration from the Monetization dashboard. |
| ------------ | -------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `GAMER_ID`   | Optional | String               | The unique Unity identifier mandatory for attributing users that have Limited Ad Tracking (LAT) on. You can find the `gamer_id` parameter value from starts, views, or clicks sent for attribution. | The `GAMER_ID` parameter is required to successfully attribute installs. For unattributed installs, the parameter is optional.                                                                                            |
| `ATTRIBUTED` | Optional | Integer (`0` or `1`) | A flag indicating whether this install is attributed to Unity and can be charged.                                                                                                                   | The default value (`attributed=1`) indicates that the condition is true. If the condition is false (`attributed=0`), the install is unattributed and won't be charged.                                                    |

### URL formatting

To ensure your attribution works correctly, ensure you format your links according to the following requirements:

* Use HTTPS for the URL and any redirects.
* Include the `{ifa}` dynamic custom token. Refer to the [Dynamic custom tokens](/user-acquisition/data-sharing/attribution/attribution-link-parameter-reference.md) reference to review supported tokens.
* Use [HTTP 3XX](https://www.w3.org/Protocols/HTTP/HTRESP.html) redirect codes. Don't use HTML or JavaScript redirects.
* Don't redirect URLs to the Apple App Store or the Google Play Store.

When you save the attribution link, the dashboard checks for errors to validate that the URL is syntactically correct.
