Skip to Content
AI Powered Docs! 🤖 These docs are translated with AI, so keep an eye out for minor quirks. We're always improving!
Frequently Asked QuestionsCallback Parameters

What parameters can I add to the callback URL definition?

The parameters are listed in the table below. You can choose any of these parameters and add them as macros to your URL, allowing Metrix to send them to your server in the callback:

ParameterTypeDescriptionExampleInstallReinstallDeletionFraudEventClick
tracker_codeStringTracker Identifierbdjulq
network_nameStringAdvertising Network NameAdNetwork1
campaign_nameStringCampaign NameBlack Friday
adgroup_nameStringAd Group NameVideo Banner
creative_nameStringCreative NameProduct Features
sub_idStringSub-ID83407c9a-392d-4f6b-b689-eadfe557ff18, abcdefg
action_nameStringType of Action (e.g., install, event, click, fraud)fraud
reinstalledBooleanIndicates if it’s a reinstalltrue, false
rejection_reasonStringFraud Rejection ReasonanonymousIP, tooManyEngagements, clickInjection
event_slugStringEvent Identifieruimgx
app_nameStringApp Package Namecom.example.test
app_versionStringApp Version1.1.2.Beta
device_nameStringDevice Modelsm-a505f
device_brandStringDevice Brandxiaomi
device_manufacturerStringDevice Manufacturerxiaomi
android_idStringAndroid Device IDb9da30111528c740
gps_adidStringGoogle Advertising ID38400000-8cf0-11bd-b23e-10b96e40000d
ip_addressStringUser’s IP Address91.251.150.188
user_agentStringUser Agent StringDalvik/2.1.0 (Linux; U; Android 10; JSN-L22 Build/HONORJSN-L22)
metrix_user_idStringMetrix User IDc0bcf71e-a027-4cfa-974a-e90e040e5c3a
created_atTimestampCreation Time (ms)1403674212
clicked_atTimestampClick Time (ms)1403568849
installed_atTimestampInstall Time (ms)1404214634
cityStringUser’s CityTehran
countryStringUser’s CountryIRN

Note: Metrix supports parameters in both camelCase and snake_case.

Additionally, if you have a custom parameter that is populated by you during the click and you need it returned to you at the time of installation or another event, you can include it as a placeholder in your callback link.

A sample installation callback might look like this:

http://callbacks.myserver.com/path?clicked_at={clicked_at}&tracker_code={tracker_code}&ip_address={ip_address}

Additionally, parameters set by you within the SDK can be sent to your server.

Last updated on