Setting attribution source data via the API

When working with a 3rd party attribution provider to pass leanplum install source information, the partner should send the following call:

https://www.leanplum.com/api?action=setTrafficSourceInfo&appId={APP_ID}&clientKey={CLIENT_KEY}&deviceId={DEVICE_ID}&client=HasOffers&sdkVersion=1.0.6&trafficSource={"publisherId":"","publisherName":"","publisherSubPublisher":"","publisherSubSite":"","publisherSubCampaign”:”}

This will pass the all install publisher information to Leanplum and allow you to view all analytics as well as target by publisher source.


Was this article helpful?
Have more questions? Submit a request