How to connect CleverPush with Adjust

This can be completed in a few simple steps.


1. Attribute Setup:

Create Adjust attributes in the CleverPush channel settings under
Segmentation -> Attributes


2. SDK Setup

We want to save the Adjust Attribution data into the CleverPush Attributes.


2.1 iOS SDK Setup

Please refer to the Adjust docs on how Attribution callbacks work on iOS:

- (void)adjustAttributionChanged:(ADJAttribution *)attribution {
  if ( != nil)
    [CleverPush setSubscriptionAttribute:@"adjust_network"];
  if (attribution.campaign != nil)
    [CleverPush setSubscriptionAttribute:@"adjust_campaign" value:attribution.campaign]; 
  if (attribution.adgroup != nil)
    [CleverPush setSubscriptionAttribute:@"adjust_adgroup" value:attribution.adgroup];
  if (attribution.creative != nil)
    [CleverPush setSubscriptionAttribute:@"adjust_creative" value:attribution.creative]; 


2.2 Android SDK Setup

Please refer to the Adjust docs on how Attribution callbacks work on Android:

AdjustConfig config = new AdjustConfig(this, appToken, environment);
config.setOnAttributionChangedListener(new OnAttributionChangedListener() {
    public void onAttributionChanged(AdjustAttribution attribution) {
        if ( != null)
        if (attribution.campaign != null)
            CleverPush.getInstance(this).setSubscriptionAttribute("adjust_campaign", attribution.campaign);
        if (attribution.adgroup != null) 
            CleverPush.getInstance(this).setSubscriptionAttribute("adjust_adgroup", attribution.adgroup);
        if (attribution.creative != null)
            CleverPush.getInstance(this).setSubscriptionAttribute("adjust_creative", attribution.creative);


Finished! You can now use the Adjust attributes for segmenting users in CleverPush.


Start your free trial now

Non-binding test phase, ends automatically after 30 days