Tracking link basic
Tracking links report user activity with your ad. The activity is reported via a click on your ad or a view.
When a user clicks on an attribution link the user is redirected to download the app. The click triggers a notification to Branch's server.
Tracking link parameters
|
Parameter by Branch |
Macro value by Moloco |
Macro value by Moloco (Legacy) |
Description by Branch |
|
%24aaid |
{{device.gaid}} |
%{a_idfa} |
click AAID |
|
%24idfa |
{{device.idfa}} |
%{i_idfa} |
click IDFA |
|
device_ip |
{{device.ip}} |
%{ip_address} |
IP address |
|
source_string |
{{mtid}} |
%{mtid} |
custom link macro |
|
user_agent |
{{device.user_agent}}
|
%{user_agent} |
user agent |
|
~campaign |
{{campaign.title}}
|
%{campaign} |
campaign |
|
~click_id |
{{request.id}} |
%{bid_id} |
click ID |
|
~cost_currency |
{{price.cost_currency}}
|
%{cost_currency} |
cost currency |
|
~cost_model |
{{price.cost_type}}
|
%{cost_model} |
cost model |
|
~cost_value |
{{price.cost_amount}}
|
%{price.cost_value} |
cost value |
|
~creative_name |
{{creative.title}} |
%{creative_title} |
creative name |
|
~secondary_publisher |
{{publisher.bundle}}
|
%{raw_app_bundle} |
secondary publisher |
Host
This page describes how Moloco validates Branch tracking links – For general guidelines, you may refer to How to resolve a tracking link registration error The host validation is divided into 2 types: Impression and click. You will see the error message if each tracking link type does not match the below:
| Impression | Click |
|
- https://impression.link/ |
- ending with "app.link" (Example: https://abc123.app.link/) - https://bnc.lt/ |
Path
The path validation is also divided into 2 types: impression and click. You will see the error message if the path value is different from the usual Branch's path format as below:
| Type | Format | Example |
| Impression |
-“/impression" |
- https://impression.link/impression |
| Click |
-“/” - any combination of letters, digits, and underscores |
- https://moloco.app.link/ - https://moloco.app.link/a_bCD123 |
Required Parameters
Below is the specification of required parameter <> value pairs for successful Moloco campaigns – Tracking link creation/update will fail if any of them are missing:
| Parameter | Value | Note |
| &$3p | a_moloco | |
| &source_string | {{mtid}} | |
| &sub5 | {{mtid}} | |
| &$idfa | {{device.idfa}} | IOS only |
| &$aaid | {{device.gaid}} | Android only |