Both paths use the same provider configuration, validation, import reports, and audience mappings.
1. Define the provider
Create.content/providers/customer-cdp/_index.json. This example accepts records containing a customer ID and an array of segment IDs:
/customerId and /segments to describe your export’s fields. The importer accepts a JSON array or JSONL, with one record per line. For example, profiles.json can contain:
membershipTtlDays controls how long imported memberships remain valid after import. Choose a value that covers your expected refresh interval; for a daily export, 14 days allows room to recover a failed export. Expired memberships stop qualifying visitors.
Match the visitor’s identity
The export and the page request must carry the same identity value. In this example, the application sets a first-partycustomer_id cookie whose value is exactly the customerId in the export. Configure that handoff in your application before testing personalization.
sourceNamespacenames the provider identity, such ascustomer_idorecid; it cannot beaci_id.resolutionis an ordered list ofcookie.<name>,query.<name>, orheader.<name>fields. Cookie, query, and header names support letters, digits,_, and-.- Values are matched as supplied. ACI does not lowercase emails, strip prefixes, or otherwise transform them for you.
absencePolicy: "unlink"treats a missing identity as logout/removal. Use"retain"only when absence is intentional and non-authoritative, such as a one-time handoff. A changed present identity replaces the previous value under either policy.
Adobe Experience Platform exports
For an AEP profile export withidentityMap and segmentMembership, use "format": "aep-batch-export" and omit mapping. Set identity.sourceNamespace to the exported namespace, such as ecid, and declare the request field that supplies that exact identity. A record looks like:
realized and existing memberships qualify. For an AEP export shaped as a plain list or another custom schema, use mapped-json with mappings that match the actual file.
2. Map a provider segment to an ACI audience
Create.content/audiences/gold-members/_index.json:
externalSegmentId must exactly match the exported segment ID. The provider and audience must both be enabled. Each provider/segment pair maps to one ACI audience. Unmapped segment IDs appear in import discovery results but do not become live targeting automatically.
With discovery.mode: "report-only", inspect the report and author the audience documents you want. "draft" discovery can create draft audiences for review; they must be reviewed, enabled, and published before delivery.
3. Publish the configuration and import a file
Compile and review the provider and audience resources, land them onmain, and promote the required paths to live using Preview, Publish, and Roll Back. The importer reads provider configuration from the active release, so a local file or unpublished branch is not enough.
Dry-run a publish with external audience delivery activated:
{"activateEdgeReader": true} and activate the resulting release through the normal release workflow. This publish option requires enabled identity declarations and at least one enabled segment-to-audience mapping. Include it on later publishes that should continue external audience delivery.
If you do not know the segment IDs yet, first publish and activate the provider without that option, import an export, and inspect the report’s discovered IDs. Then add the audience mappings and publish with activateEdgeReader: true.
Now follow either S3 exports or file uploads. Wait for an accepted import report before testing a member.
4. Use the audience in an experience
Create an ordinary audience overlay at:5. Restrict an experiment to this audience
Addeligibility inside the experiment’s props:
home-hero A/B experiment in Experiments and Reporting. Keep its goal, route scope, arms, allocation version, and salt. The eligibility check runs before assignment: members can enter the experiment; non-members and visitors without verified membership are skipped and generate no exposure for it. Ordinary content selection still runs.
This gate uses audience membership, independently of which audience experience wins by priority. Experiment arm overlays keep the experiment paths shown in that guide. Raw CDP attributes such as lifetime value are not automatically exposed as request-rule fields; define the corresponding segment in your provider, export its memberships, and map that segment to an ACI audience.
Use the collector and a configured goal to measure exposures and conversions. External matching can serve content without collection, but it does not supply experiment measurements. Read the report as results among eligible members, rather than the whole site. Membership changes can change eligibility on later requests.
Verify the complete path
- Confirm an
acceptedreport with the expected record counts and segment IDs. - Preview the audience with
?aci_audience=gold-members. Preview each experiment arm with?aci_experiment.home-hero=controlor?aci_experiment.home-hero=outcome-led. Preview forcing checks content; it does not prove identity matching or import delivery. - On the activated site, test a consented member with the matching provider identity and confirm the audience or experiment is selected on the page response.
- Test a non-member, a missing identity, logout/account switching, and denied consent. Confirm the intended ordinary experience and no ineligible experiment exposure.
- With measurement consent, trigger the goal and confirm exposure/conversion data in the experiment report.