The Overwolf API allows you to include some info in the OW app store’s download link. You can use this feature for different purposes, however, the most common one is to add a unique referral ID to track your download link. This ID allows you to track installations and know exactly which users came from which channel.
You can also allow your users to create shareable download links for their friends, and track how many friends each user has recruited for reward purposes.
Getting a Download Link
The download link format for all apps bundled with the Overwolf client installation looks like this:
You can get your personalized download link by copying the link’s address from the Download button in the store:
Add Referral ID to the Download Link
Once you have the base download link, you can concatenate your referral ID in the
utm_campaign parameter, for example:
utm_campaign data will be saved to the OW database only for new OW installations! If the user that uses the download link already has the OW client installed, the link will only update the app if necessary, but not save the data in
utm_campaign to the OW Database.
Extract referral data using API
In order to extract the data, you can use the overwolf.profile.getCurrentUser() API.
This function’s callback will return with an installParams object, including the
utm_campaign for this client:
Once data is extracted, you can identify what the origin (the source) of the current installation is, and do whatever you like with it. For example, send it back to your servers or analysis software.