Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

From Squeezely, API calls are sent with updates of Squeezely Audiences to Canopy Deploy. To save the Audience id's in Canopy Deploy, they need to be mapped to Canopy Deploy fields. Next, you can easily segment the profiles in Canopy Deploy based on the Squeezely Audience id's

View audience API calls

You can view the updates of audience id's as follows:

  • In Canopy Deploy, go to the Squeezely App

  • Click on 'View logs'.

  • Find a log with the type 'segments' and click on the information icon

  • Click on 'RAW Data' to view the synchronized data of the profile

Before saving the audience id's they need to be mapped correctly in Canopy Deploy. This mapping can be set via a so called 'layout'.

Mapping Audience id's

In the example below, the Audience id's are mapped to the profile in Canopy Deploy.

  • In the Canopy Deploy Store, go to the Squeezely App

  • Select 'Customize data mapping'.

  • Double click on the End point 'segments'

  • Click on the '+' icon under 'Connected fields

  • Open the tab 'Layouts' in the menu on the right

  • Double click on 'include-segments

  • Go back to the Squeezely App and select 'Customize data mapping

  • Go to the layout 'include-segments

  • Click on the different mappings under 'connected fields

  • Change the first value from '0' to 'Wildcard

✅ In the data model of Canopy Deploy, the audience id's are stored in the table 'squeezely_segments'

Using Audience Id's

The audience id's can be used in Canopy by navigating to 'profiles' in the left menu of CanopyDeploy.

  • Create a new profile.

  • Select Squeezely_segments 'id'.

    • Fill in the audience id you want to match

  • Add squeezely_segments 'active'

    • select 'yes' to select the profiles that are in the audience.

✅ You have now segmented the profiles from your audience in Canopy.

  • No labels