Export Audiences
Sync DinMo audience membership into Redis so applications and personalization services can read segment membership with low latency.
Overview
This destination service lets DinMo export and continuously update audience or user segment membership in Redis.
For each profile in the activated segment, DinMo adds the audience name to a Redis Set stored at {redis_key}.dinmo_segments. This makes audience membership easy to read from your application while allowing the same Redis key to belong to multiple DinMo audiences.
To use this service, follow these three steps:
Create a Redis destination. Follow the Redis platform setup guide to establish the connection.
Create a DinMo user segment representing the audience you want to expose in Redis.
Activate the segment with the Redis destination to start synchronization.
Each time the activation runs:
Profiles entering the DinMo segment have the audience name added to their
{redis_key}.dinmo_segmentsSet.Profiles leaving the DinMo segment have the audience name removed from their
{redis_key}.dinmo_segmentsSet.DinMo uses Redis Set operations, so adding the same audience multiple times does not create duplicates.
This destination option is useful when your website, application, feature flagging service, or personalization layer needs to check audience membership directly from Redis.
Destination Setup
Before exporting audiences, create a Redis destination of type Export Audiences:
Go to Destinations > Add a new destination
Choose your Redis platform
Click the Export Audiences option
Give it a name and save the destination
Activation Configuration
Once your Redis destination and DinMo segment are configured, create an activation to begin syncing audience membership.
You can activate the segment:
From the segment overview, using one-click activation
From the Activations tab, if you want more control over the source model, audience name, or schedule
Audience name
The audience name configured for the activation is the value DinMo writes into each Redis membership Set.
For example, if the audience name is high_value_customers and the Redis key is user:12345, DinMo writes the membership to:
The Set at that key contains high_value_customers.
Field Mapping
During activation setup, map the DinMo field that contains the target Redis key.
The source data must include a field mapped as:
Redis key: The Redis key for the profile or entity whose segment membership must be updated.
DinMo does not build the Redis key for this service. The mapped field must already contain the exact Redis key to update.
This service updates audience membership only. It does not create or update the profile or entity hash stored at the base Redis key.
Sync mode
Redis audience export supports full and delta synchronization.
Full
Recomputes the full audience membership for the activation.
DinMo first removes the audience name from existing *.dinmo_segments Sets, then adds the audience name for all profiles currently in the segment.
Delta
Applies only membership changes since the previous run.
DinMo adds the audience name for profiles that entered the segment and removes it for profiles that exited.
Audience membership is stored in Redis Sets. DinMo uses SADD to add a profile to an audience and SREM to remove it.
In full sync mode, DinMo scans Redis keys matching *.dinmo_segments to remove the current audience name before writing the refreshed membership. This can take longer on very large Redis keyspaces.
Scheduling
Define how frequently DinMo updates audience membership in Redis. With each scheduled update:
New profiles entering the segment are added to the relevant Redis Sets.
Profiles leaving the segment are removed from the relevant Redis Sets.
Profiles that remain in the segment keep the audience name in their Redis Set.
Choose a schedule that matches how quickly your downstream systems need fresh membership data. User-facing personalization and access-control use cases often require more frequent syncs than internal workflows.
Last updated

