For the complete documentation index, see llms.txt. This page is also available as Markdown.

UserAccount

Identify a registered user with an account ID and the compartment it belongs to.

Your goal

Identify users who are registered in one of your systems, in a way that keeps accounts from different systems distinguishable on the same person.

Expected outcome

Every account identifier you send is paired with the compartment representing the system it came from.

What a UserAccount is

A UserAccount identifies a user registered on one of your systems - a CRM, a loyalty programme, or any authentication system. That registration system is external to mediarithmics.

Property
Type
Description

user_account_id

String

Usually the same ID as in the source system, such as your CRM.

compartment_id

String

The compartment associated with the user account.

creation_ts

Timestamp

The account's creation timestamp.

expiration_ts

Timestamp, optional

The account's eventual expiration timestamp.

The compartment half of the identifier

A compartment is a group that organises specific user account identifiers. Each compartment has a unique ID used to identify the corresponding account identifier - "UTIQ Martechpass" might have compartment ID 20, for instance.

The categories are:

Category
What it holds

First-party user account compartments

Account identifiers created inside your organisation, such as CRM identifiers.

Shared user account compartments

Account identifiers shared from another organisation - including user-based network IDs.

For a compartment shared at community level: subscribe to it in your community organisation, after which it is automatically shared with your other organisations - but you still need to activate it in your datamart.

Creating and subscribing to compartments is covered in Compartments.

In the schema

@ReferenceTable on compartment_id is what gives people building queries an autocomplete on compartment names instead of IDs. See Schema definition.

In an activity

When importing profiles

A UserProfile carries an account and a compartment of its own: see When importing profiles in UserProfile.

Verify

  • Every account identifier you send carries a compartment ID.

  • The compartment exists and is activated on the datamart receiving the data.

  • A logged-in test user's UserPoint shows the account under the expected compartment.

Last updated

Was this helpful?