We’ve migrated our documentation to a new site, which means some URLs have changed.
Audience

DMP: How to integrate with CleverPush?

CleverPush is a push notifications provider that helps brands to increase reach, revenue & engagement. They provide their clients with their own made segmentation feature, but it makes sense to use a DMP in order to have a centralized platform to manage your audiences. That being said, together with a mutual client they have set up an integration that lets them access our segments themselves, as well as a user's segments client-side.

For this to work we need two things:

  1. PersistedQueryId in order to fetch segments of a user client-side (API endpoint: /profile/user/segment - referred to as Public segments)

  2. PersistedQueryId in order to fetch the segments of a given siteGroup (API endpoint: /segment/read - referred to as Private segments)

If you're not familiar with the concept of persisted Queries, please read the linked explanation.

Once having them created on Piano's side, you can go to Channels → Integration in your CleverPush dashboard:

CleverPush.png

Enable the integration and enter the IDs as follows:

CleverPush1.png

As soon as the integration is properly set up, the segments are updated once a day. The segments of a given user are being fetched client-side via "getUserSegmentIds" and hence are real-time compatible. Clients have then the option to use them for targeting:

CleverPush2.png

Click Add Filter and the segments should pop up:

CleverPush3.png

Last updated: