Asapty
This page describes how to configure integration with Asapty

About Integration

Apphud can send subscription events to Asapty. Using this integration you can optimize your Search Ads campaigns.

Requirements

  • This integration works only on iOS 14.3+ devices regardless ATT consent.
  • This integration is dependent on Apple Search Ads integration. First, set up integration with Apple Search Ads via AdServices framework (iOS 14.3+). After that you can continue setting up integration with Asapty.
  • Client id, team id, key id credentials generated using Asapty's public key will not work in Apphud, because their private keys differ. And vice versa, credentials generated using Apphud's public key will not work in Asapty. Read here about how to fix this issue.

How to add integration?

Step 1
Step 2
Step 3
Step 4
Before adding integration please check requirements above
At Apphud go to "Integrations" section and add Asapty:
Insert your Asapty ID:
You can enter your custom event names or disable some:
Enable integration and Save changes:

View Apphud events in Asapty

You can view events in Optimization tab. Just add desired columns:

Credentials issue between Apphud and Asapty

The issue is that both Apphud and Asapty services require Account Manager role to be added to Apple Search Ads account with public key provided. However, since both services generate their own public-private key pair, API account credentials generated using first service's public key will not work for other service, because their private keys are different.
There are 2 options to fix this issue:

Generate own public-private key

Generate public-private key on your own computer and upload the same private key to both services:

Gerenate private key

To generate private key run in Terminal:
1
openssl ecparam -genkey -name prime256v1 -noout -out private-key.pem
Copied!
You will need to paste this private key to Apple Search Ads integration page in Apphud by clicking on "paste it" button. See the screenshot below:
Upload the same private key to Asapty.

Generate public key

To extract public key from your private key run in Terminal:
1
openssl ec -in private-key.pem -pubout -out public-key.pem
Copied!
You will need to paste this public key in your Apple Search Ads settings page of Apple ID account with API Account Manager role. Use generated team id, client id and key id values for both Apphud and Asapty services.

Create another Apple ID account

You can create another Apple ID account with Account Manager API role and use different Apple ID accounts for both services as well as different public private keys.
Last modified 5d ago