Skip to main content

Integration with your custom server tracking solution

If you are using your own server to measure subscriptions

Viktor Orlov avatar
Written by Viktor Orlov
Updated over 2 years ago

If you use your own server to track in-app events and subscriptions, you can send postbacks from it to Asapty to track your ad campaigns revenue and profits.

Important - be sure, that you made an integration of AdServices Apple framework to track Apple Search Ads installs. Without it you will not have campaign, ad group and keyword IDs information.

Apple documentation - https://developer.apple.com/documentation/adservices . Sometimes its not loading, in that case open it in incognito mode.

Use that postback for all events, that you want to send us

https://asapty.com/_api/mmpEvents/?source=custom&install_time=(install_unix_ts)&asaptyid=(YOUR_ASAPTYID)&keywordid=(keywordid)&conversiondate=(conversiondate)&adgroupid=(adgroupid)&campaignid=(campaignid)&event_name=(event_name)&json=(event_value)

Information about parameters

(install_time) - date of install in UNIX (https://www.unixtimestamp.com/) format . We will match events with Optimization dashboard based on that data, so it should be correct

(asaptyid) - your unique Asapty ID. You can find in in account settings - general

(keywordid) - Keyword ID from apple search ads

(adgroupid) - Ad Group ID from apple search ads

(campaignid) - Campaign ID from apple search ads

(conversiondate) - date of an event in UNIX format.

(event_name) - how you wanna see the event name in our dashboard. Don't use space bar, only «_»

(json) - should contain product name, revenue and currency.

Example of the whole postback

https://asapty.com/_api/mmpEvents/?source=custom&install_time=1681140792&asaptyid=YOUR_ASAPTYID&conversiondate=1681140792&adgroupid=123456789&keywordid=123456789&campaignid=123456789&event_name=Purchase&json={"revenue"%3A"610.00"%2C"af_currency"%3A"JPY"%2C"product"%3A"com.developer.appname.weekly3dtrial"}
Did this answer your question?