Compartments
Keep accounts and profiles coming from different registration systems separate on the same user.
Your goal
Declare one compartment per registration system that gives you user accounts or user profiles, so that a single user can carry an account and a profile from each of your systems without them overwriting one another.
Expected outcome
Every registration system in scope has a compartment, and you know its ID - because a UserAccount identifier is only meaningful together with the compartment it belongs to.
What a compartment is
A compartment represents a place where you have accounts and profiles. A UserPoint can have multiple user accounts and user profiles on the same datamart - for example a profile on one of your sites and another profile on another site - and compartments are the notion created to represent those different places.
Compartments matter when you aggregate data from different systems and want to keep UserProfile and UserAccount data compartmented. If you have a website A and a website B, you can have a compartment for each; a single UserPoint can then carry a UserProfile and a UserAccount for website A, and a UserProfile and a UserAccount for website B.
Compartments are also part of the identifier itself: a UserAccount ID is composed of a character string and a compartment ID representing the registration system it came from. See UserAccount.
Compartments appear in different places in the settings, because a compartment is created on the organisation and then enabled per datamart:
Create a first-party compartment, or subscribe to a shared one
Settings > Organisation > Compartments
Manage the compartments of a datamart, and enable a compartment on it
Settings > Datamart > Compartments
Compartments come in these categories:
First-party user account compartments hold user account identifiers created inside your organisation, such as CRM identifiers.
Shared user account compartments hold user account identifiers shared from another organisation - including network identifiers such as UTIQ martechpass.
Decide your compartments
Create the compartments
Go to Settings > Organisation > Compartments, and in the First-party user account compartments section create a new compartment with:
Name
The name of the compartment.
Token
A technical identifier used to link the compartment with the JS tag.
Record each compartment ID: your imports, your tag calls, and your API calls will reference it alongside the account identifier.
Activate them on your datamarts
With a single datamart, the compartment is activated automatically.
With several datamarts, activate it on each one: go to Settings > Datamart > Compartments, select the compartment, open the More menu, choose Edit linked datamarts, and select the datamart.
For a compartment created at community level, activate it across organisations by selecting Enable Compartment in the Shared user account compartments enabled section.
Attaching a processing activity to a compartment
To activate the privacy wall on a compartment, go to Settings > Datamart > Compartments and edit the compartment. In the User Choices - Privacy Wall section, add the processing activity or activities that justify the capture of personal data, then save.
From that moment, for a new or existing user, when saving a user profile related to the compartment the platform automatically checks the user's choices. If the choices are not compatible, the user profile is dropped.
Compartments and user-based network IDs
Compartments are not only for your own systems. Integrating a user-based network ID follows the same shape as integrating a device-based one, with a compartment in place of a device registry:
Create a new compartment, or subscribe to an existing one.
Activate it on the datamarts concerned - only necessary when your environment has several datamarts.
Activate its ingestion on your channels.
See Network IDs.
Verify
Each registration system in scope has a compartment, or you have decided deliberately that it shares one.
You have recorded the compartment IDs your imports and API calls will use.
If you enforce a privacy wall, valid user choices already exist in the datamart.
Related pages
Last updated
Was this helpful?