Keitaro has been integrated with RichAds. There are RichPush and Richpops postback template in the tracker. You just need to choose the right template. 

Watch the video below:

What to do:

  1. Sign in your Keitaro account.

  2. Go to the tab Sources and click on Create button.

  3. In Template name field choose or (it depends on what do you want to track, push or pops campaign).

  4. After you choose the template, all fields are filled in automatically.

  5. Then you can add parameters that you want to track (for example, country). 

Keitaro macros
RichPush macros

{ad_campaign_id} - Value of parameter 'ad_campaign_id'

{browser_version} - Browser version

{browser} - Browser name

{city:lang} - City

{connection_type:lang} - Connection type

{cost} - Click cost

{current_domain:format} - Domain during current click

{creative_id} - Value of parameter 'creative_id'

{date:format} - Date in UTC

{device_model} - Device model

{device_type:lang} - Device type

{destination} - Destination (Landing URL, Offer URL, stream redirect URL or stream text)

{external_id} - Value of parameter 'external_id'

{from_file:file} - Load content from file %%var/macros/file%%




{isp} - ISP

{keyword:charset} - Keyword (you can specify charset)




{os_version} - OS Version

{os} - Operation System

{parent_campaign_id} - in case is used action "Send to campaign")

{profit}     - Profit (revenue - cost)

{random:min,max} - Random number between 'min' and 'max'


{sample:var1,var2,varN} - Get random value from list 'var1', 'var2', 'varN'

{source} - Source, site












{subid} - SubID (unique click code)

{traffic_source_name} - Traffic source name

{ts_id} - Traffic Source ID

{visitor_id} - Internal visitor identificator

{campaign_id} - Campaign ID in Keitaro

{campaign_name} - Campaign name in Keitaro

{country:lang} - Country code or name

{operator:lang} – carrier Mobile operator

{referrer} - Referrer

{region:lang} - Region code or name

{search_engine} - Value of parameter 'se'

{user_agent} - ua,useragent    

{offer}     - Generates protected offer link. You can specify offer id %%{offer:ID}%%

{conversion_cost} - Cost from conversion (only for s2s postback)

{conversion_revenue} - Revenue from conversion (only for s2s postback)

{conversion_profit} - Profit from conversion (only for s2s postback)

{original_status} - Postback original status (only for s2s postback)

{status:mapping} - Conversion status (only for s2s postback)

{tid} - Transaction id (only for s2s postback)

[SUB_LIST_ID] - returns a unique Subscriber list ID

[PUBLISHER_ID] - returns a unique ID of the publisher that can contain several websites

[SITE_ID] - returns a unique website ID

[CLICK_ID] - returns a unique click ID (for conversion tracking)

[BID_PRICE] - returns winning price of the click

[CAMPAIGN_ID] - returns a unique campaign ID in our system

[CAMPAIGN_NAME] - returns a campaign name

[CREATIVE_ID] - returns a unique creative ID

[COUNTRY] - returns a country name

[COUNTRY_CODE] - returns a 3-letter country code

[REGION] - returns a region name

[CITY] - returns a city name

[OS] - returns an OS name and version

[OS_ONLY] - returns an OS name

[OS_VER] - returns an OS version

[USERAGENT] - returns a browser useragent string

[IP] - returns a user's IP

[USER_ID] - returns a unique ID of the visitor

[RANDOM_NUMBER] - ensures that a fresh call is made to the ad server every time the code is exec

  1. After adding all parameters click on Create button.

  2. Go to the tab Campaigns and choose the campaign that you need or create a new one. 

  3. If you choose an existing campaign, you just click on this campaign, and then Setting tab will be opened. In Source field choose ( and click on Save button.

  4. If you create new campaign you need to fill in all fields including Source field (choose ( and then click on Save button.