Affise <-> Yandex AppMetrica Integration

Time to read: 5 min.

topic.pngThe article covers the following topics:

Basic Yandex AppMetrica Tracking URL

The integration process starts with Yandex AppMetrica Tracking URL. You need to add Affise {click_id} macro and Yandex AppMetrica &click_id parameter to the Yandex AppMetrica Tracking URL. Put updated Tracking URL into the 'Tracking URL' field in the Offer edit page. Just go to the 'Offers' section - > 'Offer edit page' - > 'Tracking' Tab - > 'Tracking URL' field:


Basic Yandex AppMetrica Tracking URL should look like:{click_id}&google_aid={sub2}




Unique click ID value (required)



Device Google AID

click__1_.png Find out the full list of Yandex AppMetrica parameters here.

In case you want to receive some additional information, you also may add some marcos to the Tracking URL.

The full list of the Affise marcos for the Tracking URL:

{clickid} or {click_id} Click ID: a required macro
{pid} Affiliate ID
{ip} IP-address
{geo} Country code (ISO 3166-1 alpha-2)
{sub1} - {sub8} Subaccount 1 - Subaccount 8
{deeplink} Deeplink
{device_ua} Device User Agent
{offer_id} Offer ID
{rand} Unique number (UUID format, eg: 9cdf32d5-124e-4e06-b25b-4c92d3cec9dc)
{time} Unix time
{city} City
{time_petty} Time of click committing in format H:i:s
{date_only} Date of click committing in format Y-m-d
{affiliate_name} Company name of affiliate
{advertiser_id} ID of Advertiser
{offer_name} Offer Title
{referrer} Click referrer
{impression_id} Impression ID
{language} Device language
{fbclid} Facebook click ID

Affise Postback URL

Next, you need it to add your Postback URL to get information about conversions from Yandex AppMetrica. Your Postback URL should contain &click_id parameter with {click_id} macro. You can set your postback in the 'Offers' section - > 'Offer edit page' - > 'Postbacks' Tab - > 'Integration pixels' field - > 'S2S (Postback)':


Affise Postback URL example:{click_id}

click__1_.png Find out the full list of Yandex AppMetrica macros for your Postback URL here.

The full list of the Affise parameters for the Postback URL:

clickid A required parameter: should be replaced with advertiser’s macro for click id
action_id Unique conversion ID in the advertiser's system
goal Goal value
sum Conversion revenue 
ip IP address of visitor who made a request (partially hidden by GDPR policy)

Conversion status:

Approved - 1

Pending - 2

Declined - 3

Hold - 5

referrer Referrer (additional information on traffic and deeplinks)
comment Comment
secure  Hash password generated on offer, advertiser level
fbclid Facebook click ID
custom_field1 - custom_field7 Additional parameters

article.pngYou may also find the following articles helpful:

 If you have more questions on the Integration with Yandex AppMetrica, feel free to contact the Yandex AppMetrica Support Team via the Yandex AppMetrica Help Center.

 Updated by Anastasia Dziaruhina 

Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.