Recipes
Retail

Private data collaboration with the AppsFlyer Data Clean Room and Segment

In this recipe, we’ll show you how to utilize Segment data to gain advanced insights about your campaign performance and optimize accordingly. You’ll see how you can leverage this enriched data for all the solutions available through the DCR: Holistic Data Access, Dynamic Query, and Audience activation.

AppsFlyer

Made by AppsFlyer

What do you need?

  • Segment tracking is implemented on your website, mobile apps, and all other interaction points capturing customer behaviors.

Easily personalize customer experiences with first-party data

With a huge integration catalog and plenty of no-code features, Segment provides easy-to-maintain capability to your teams with minimal engineering effort. Great data doesn't have to be hard work!

Get started for free

The integration between AppsFlyer and Segment empowers AppsFlyer Data Clean Room (DCR) users to safely enrich and leverage their first-party data, enabling enhanced insights, audience activation, and closed-loop omnichannel measurement while prioritizing user privacy. By utilizing privacy-preserving techniques within a clean room environment, brands and partners can collaborate, analyze data, and create targeted audiences without exposing personal information, ensuring compliance with stringent data protection regulations and unlocking powerful advertising and analytics capabilities.

Step 1: Sync Profiles to the Data Warehouse

  1. In Segment, from the side menu, select Unify > Profile Sync >  Add Warehouse. Search the warehouse type. This recipe will be using Snowflake as an example. 

  2. In the configuration screen, enter the Account, Warehouse, Database, User and Password Same connection settings from the Warehouse you share in AppsFlyer

  3. Materialize views using SQL automation tools. For more detailed information please refer to our documentation.

Step 2: Set up your AppsFlyer connection 

Once you have set up your destinations in Segment, the next step is to connect them to the AppsFlyer DCP. Here’s how:

From the top of the main DCR page in AppsFlyer, click the Manage connections button > + New connection. In the New connection dialog, select the Snowflake tile and enter the Snowflake account ID and region for the account that contains your custom source data. 

To learn more about setting up cloud services, read this article

one

You can get this information by clicking on the account name at the bottom-left corner of your Snowflake console.

two

Step 3: Set up your AppsFlyer source 

  • Set up a new source that contains data you want to share in the DCR.

    1. Go to the Sources tab.

    2. Click the + New source button. The New source page opens.

    3. Enter the name of the source.

three
  • Specify the source location.

Select the connection in which the source has been created.

Source location in Snowflake 

To complete specifying the source location for Snowflake sources:

  1. Select the share containing the source data.

  2. Select the schema in which the source table is located.

  3. Select the table in which the source data is located.

  4. The lists from which you make these selections contain the shares, schemas, and tables, respectively, in the Snowflake account you specified when creating the connection.

four
  1. Define the source structure 

    1. To load fields from a source located in the data warehouse, click the Load fields from sources button.

    2. Click Save to save the source.

      five

      You now have Segment as a data source that you can utilize for different use cases. Let’s explore in more detail what those are. 

six

Step 4: Analyze, Activate, and Measure Segment Data in the AppsFlyer DCR

Now that your integration is set up, you can begin to use it for different data clean room capabilities. For example:  

  • Attain privacy-preserving insights: Enrich your 1st-party data with attribution and 3rd-party data to get advanced insights and optimize your campaigns. For more information, read this article on how you can work with the reports you set up in the AppsFlyer Data Clean Room. 

  • Obtain immediate answers: Query unlimited data sources and perform advanced calculations to bring your business logic to data that are available only in the DCR. Learn more about how to run custom DCR queries in real-time in this article

image3
  • Collaborate, segment, and activate: Collaborate on data with business partners to build precisely segmented audiences, activated in just the right media. 

eight

Wrapping up

By configuring Segment as a data source in the AppsFlyer DCR, you can unlock powerful use cases and gain advanced insights that help you optimize your campaigns without compromising on user privacy. 

Here’s what we’ve done in this growth recipe:

  • Outlined how to define your destinations in the Segment platform 

  • Walked through the steps to set up an integration with Segment in the AppsFlyer platform for use in the AppsFlyer DCR

  • Highlighted different use cases that you can unlock through DCR capabilities, including data enrichment, advanced queries, and collaboration with business partners.

Getting started is easy

Start connecting your data with Segment.