Organic Downloads¶
With MoVE for Organic App Installs you can reward users in real time with data for downloading your app. This removes the burden of cellular data usage for downloading your apps.
Setup¶
This library must be included on the app download page. It can be embedded as a script tag:
<script src="http://assets.aquto.com/moveRewards/aquto.min.js"></script>
When embedded as a script tag, it exposes the aquto global object.
We assume you are using a DOM manipulation library, such as jQuery. All examples below will assume jQuery $ syntax and should be called in $(document).ready() block.
Pre-Qualification¶
The check eligibility call make take a few seconds due to communication with the carrier. To improve the performance of the eligibility call, you can include the following 1x1 pixel earlier in the user flow. We will cache the user’s eligibility information and further calls to check eligibility should be faster.
<img src="http://app.aquto.com/api/campaign/datarewards/pixel" height="1" width="1" border="0">
Check Eligibility¶
The checkAppEligibility method determines if the current user if eligible to receive the configured MB reward . This function also starts a reward session on the server that can be completed later.
Input arguments¶
| Key | Type | Required | Description |
| campaignId | string | yes | ID for campaign setup by Aquto |
| callback | function | yes | Function called after checking eligibility on the server |
Response properties¶
| Key | Type | Optional | Description |
| eligible | boolean | false | Is the current user eligible for the reward? |
| rewardAmount | integer | true | Reward amount in MB |
| rewardText | string | true | Server configured string containing carrier and reward amount. Ex: Purchase any subscription and get 1GB added to your AT&T data plan. |
| carrier | string | true | Code for user’s carrier |
| clickUrl | string | true | Url to replace app download link |
<div class="rewardBlock">
<div class="rewardHeader"></div>
<div class="rewardText"></div>
</div>
<a class="continue" href="#">Get App</a>
aquto.checkAppEligibility({
campaignId: '12345',
callback: function(response) {
if (response && response.eligible) {
$('.rewardText').text(response.rewardText);
$('.rewardHeader').addClass('rewardHeader'+response.carrier);
$('.rewardBlock').show();
}
if (response && response.clickUrl) {
$('.continue').attr('href', response.clickUrl);
}
}
});
Complete¶
In order to complete the conversion, you need to set up a server side callback through one of our integration partners:
- Adjust
- Tune
- Appsflyer
- Kochava
Select Aquto as publisher and provide iOS and Android click trackers to your Aquto account manager.