All Products
Search
Document Center

Quick Audience:ID Mapping and User Unique Identifier QAID

Last Updated:Apr 29, 2025

Quick Audience provides automatic ID mapping in processes such as table data import and event data reporting in V4. Quick Audience uses ID mapping to identify user identities and pull user data across source channels and ID types.

Background information

Your Quick Audience data pool may contain the data of the same user from multiple channels, such as imported order data tables from Taobao, WeChat mini programs, and self-owned apps, imported tag data from CRM, behavior event data from self-owned apps, mini programs, Web, or third-party systems that are collected and reported by tracking points, and uploaded crowd ID lists.

How to identify the same user in different channels, make the data of each channel form a synergy, and assist your insight and decision-making is the problem that V4 focuses on solving.

ID classification

After understanding the common registration and login processes of different channels, we found that some ID types are related to each other, which can play a role in the identification of user identity.

User IDs can be broadly divided into four categories:

  • User ID: indicates a user. You may need to enter a user ID when you register a third-party platform account or an enterprise account, such as a mobile phone number or email address.

  • Device ID: the device ID that comes with the electronic device. The device ID is usually collected through the application tracking point, such as the device MAC address, mobile phone IMEI, Android device IMSI, OAID, and Apple device IDFA. It is not bound to the device itself.

  • Enterprise ID: the ID generated by the business system of an enterprise. For example, the ID of a CRM member of an enterprise. In Quick Audience, the member ID can be entered as OneID.

  • Third-party platform ID: the ID of the user on the third-party platform, such as WeChat UnionID, OpenID, Taobao ID, Taobao nickname, Alipay ID, and Weibo ID. In some cases, the user may bind the third-party platform ID with the enterprise ID by using a mobile phone number or other methods.

The user ID may be associated with the enterprise ID and third-party platform ID. The device ID may be associated with the account ID of the tracking app. No matter what channel the data comes from, when different types of IDs are associated with each other, we assume that these IDs belong to the same user.

ID Mapping is the user identification that we implement based on this idea.

ID Mapping Basic Logic

In general, ID Mapping identifies and deduplication users based on correlated ID data, and assigns each independent user a unique QAID in Quick Audience.

Note
  • A QAID is a unique identity obtained by a user through ID Mapping. In subsequent operations, the QAID will be used to represent the user. When other ID types, tags, and other data need to be used and pushed, all ID types and data of the user will be matched based on the QAID.

  • If the ID has been encrypted, during ID Mapping:

    • For an ID that has been encrypted by AES, it will be decrypted first to obtain the ID in the unencrypted state.

    • If an ID has been encrypted by MD5/SHA256, other unencrypted IDs of the same type will be encrypted in the same way, so that all IDs used for comparison are in the same encryption state.

First, let's look at an example of ID Mapping in the simplest case:

Example 1: Associate multiple IDs with the same mobile phone number

The first day:

  • The imported order table contains one row: Taobao ID1, mobile phone number 1...

  • The behavior event table collected and reported by the app tracking point contains one row: IDFA1, mobile phone number 1...

Then the system determines that these IDs belong to the same user and assigns QAID1 to this user.

The results are shown in the table below.

QAID

Mobile phone number

Taobao ID

IDFA

QAID1

Mobile Number 1

Taobao ID1

IDFA1

ID Conflicts in ID Mapping and Solutions

Each ID in Example 1 above has only one value. What if an ID has multiple values?

In this case, the system will merge and trade-off the ID according to the single value /multi-value of the ID and the priority. In this section, for ease of description, it is assumed that the single-value /multi-value and priorities of the involved IDs are shown in the following table.

Note

The following table describes the default configurations of preset system IDs. For more information, see System Preset ID.

ID

Single-value /Multi-value

Priority

Phone number

Single value

1

Taobao ID

Multi-value

2

IDFA

Single value

3

Single-value /multi-value ID

  • Single-value ID: Only one single-value ID can be assigned to a user.

    For example, according to the preceding table, a user can have only one mobile phone number and one IDFA.

    If a single-value ID associated with the same ID has multiple different values, a conflict occurs. You must use the ID priority to determine whether they are considered as the same user. For more information, see ID priority.

    If the system determines that multiple values of the same single-value ID belong to the same user, only one of the values can be retained. You need to determine which value to retain based on the overall merge policy. You can Select Overall Merge Strategy. The following policies are available:

    • Default policy: Retain the ID type value with the earliest creation time. For example, if user A records IDFA1 yesterday and user A records IDFA2 today, the system retains IDFA1.

    • The ID type value with the latest update time is retained. For example, if user B recorded IDFA3 yesterday and user B recorded IDFA4 today, the system retains IDFA4.

    • Retains the most frequently occurring ID type value over a period of time. For example, in the data imported in the past month, the IDFA5 record of user C appears 20 times, and the IDFA6 record appears 10 times, the system will retain the IDFA5.

  • Multi-value ID: A multi-value ID of a user can have multiple values.

    For example, according to the preceding table, a user can have multiple Taobao IDs.

    If multiple values of the same type of multi-valued ID are determined by the system to belong to the same user, all values will be retained. Multi-value IDs do not conflict.

ID Priority

If the single-value IDs associated with the same ID conflict, you need to determine whether to treat them as the same user based on the ID priority:

  • If the single-valued IDs of high priorities conflict with each other and the IDs of low priorities are the same, they are determined to be different users.

  • If the IDs of high-priority users are the same and the single-value IDs of low-priority users conflict, they are determined to be the same user.

The mobile phone number and IDFA are used as an example:

Association

Preset conditions

Conclusion

Two mobile phone numbers are associated with the same IDFA.

  • Both the mobile phone number and IDFA are single-value IDs.

  • Priority: mobile phone number> IDFA.

The two mobile phone numbers belong to different users.

Two IDFAs are associated with the same mobile number.

If the two IDFAs belong to the same user, one of them will be discarded based on the overall merge policy to ensure that the final value is a single value.

Next, let's look at some examples of ID mapping in complex cases. For ease of representation, the ID types in all tables are sorted by priority from high to low.

Example 2: The same mobile phone number is associated with different Taobao IDs and different IDFA

The following user data is available on the first day:

QAID

Mobile phone number (single value)

Taobao ID (multi-value)

IDFA (single value)

QAID1

Mobile Number 1

Taobao ID1

IDFA1

On this basis, the second day:

  • The imported order table contains one row: Taobao ID2, mobile phone number 1...

  • The behavior event table collected and reported by App tracking point contains one row: IDFA2, mobile phone number 1...

Under the preceding single-value /multi-value rules and priority rules:

  1. Because the IDFA is a single value, IDFA2 and IDFA1 conflict, but because the priority of the IDFA is lower than the mobile phone number and the mobile phone number is the same, it is still determined to be the same user. Under the default overall merge policy, only the IDFA1 with the earliest creation time will be retained.

  2. After the user is identified as the same user, multiple Taobao IDs are retained because the Taobao ID is multi-value.

The results are shown in the table below.

QAID

Mobile phone number (single value)

Taobao ID (multi-value)

IDFA (single value)

QAID1

Mobile Number 1

Taobao ID1 and Taobao ID2

IDFA1

Example 3: Associate the same Taobao ID with different mobile phone numbers

On the basis of the user data of the second day in the above table, the third day:

  • The imported order table contains one row: Taobao ID1, mobile phone number 2...

Under the preceding single-value /multi-value rules and priority rules:

  • Although the Taobao ID matches, because the mobile phone number is a single value, the mobile phone number 2 conflicts with the mobile phone number 1, and the priority of the mobile phone number is higher than the Taobao ID, so it is determined that the two mobile phone numbers belong to different users.

The results are shown in the table below.

QAID

Mobile phone number (single value)

Taobao ID (multi-value)

IDFA (single value)

QAID1

Mobile Number 1

Taobao ID1, Taobao ID2

IDFA1

QAID2 (new user)

Mobile phone number 2

Taobao ID1

-

Example 4: If the same Taobao ID belongs to different users, which user is determined when the same Taobao ID is imported?

On the basis of the third day user data in the above table, the fourth day:

  • The uploaded crowd ID file contains one line: Taobao ID1

Under the preceding single-value /multi-value rules and priority rules:

  • Both QAID1 and QAID2 have a Taobao ID1. You cannot confirm which Taobao ID1 belongs to the newly uploaded Taobao ID1. Therefore, you are determined to be the third party other than QAID1 and QAID2.

The results are shown in the table below.

QAID

Mobile phone number (single value)

Taobao ID (multi-value)

IDFA (single value)

QAID1

Mobile Number 1

Taobao ID1, Taobao ID2

IDFA1

QAID2

Mobile phone number 2

Taobao ID1

-

QAID3 (new user)

-

Taobao ID1

-

Example 5: Merge QAIDs

Let's use an example to understand the impact of QAID consolidation on user data before and after.

In the example, IDFA3 of QAID4 is new data, which is merged through IDFA3.

Before the merger:

QAID

Taobao ID (multi-value)

IDFA (single value)

Creation time

QAID3

Taobao ID3

IDFA3

2021.10.1 00:00:00

QAID4

Taobao ID4

IDFA3

2021.10.2 00:00:00

After the merger:

QAID

Taobao ID (multi-value)

IDFA (single value)

Creation time

QAID3 (used QAID4)

Taobao ID3, Taobao ID4

IDFA3

2021.10.1 00:00:00

Note:

  • Before the merge, if you have referenced QAID4 by creating a crowd, after the merge, when you query users by using QAID4, you can query the data of QAID3. Therefore, the marketing tasks related to the crowd can still be performed normally.

  • Before the merge, they are considered as two different users with one Taobao ID. After the merge, they are considered as only one user with two Taobao IDs. Therefore, the number of users and IDs in a marketing task may change over time, and the number of users and IDs may be inconsistent.

Label conflicts in ID Mapping and solutions

In the ID mapping process, in addition to the ID conflicts described above, tag conflicts may also occur, that is, for single-value tags in the same tag table, if originally two independent users are identified as the same user because the newly added data is identified as the same user, only one of the values can be taken during pooled data.

In this case, the system retains the tag value with the earliest creation time.

For example, QAID5 and QAID6 are two independent users, as shown in the following table.

QAID

Mobile phone number (single value)

Taobao ID (multi-value)

Label A (single value)

Creation time

QAID5

Mobile phone number 5

Taobao ID5

a5

2021.10.3 00:00:00

QAID6

-

Taobao ID6

a6

2021.10.4 00:00:00

When you import the tag table later, QAID6 adds a new mobile phone number as mobile phone number 5, which is the same as the QAID5 mobile phone number and has a high priority. In this case, QAID5 and QAID6 are identified as the same user during ID mapping. The following data is retained:

QAID

Mobile phone number (single value)

Taobao ID (multi-value)

Label A

Creation time

QAID5 (used QAID6)

Mobile phone number 5

Taobao ID5, Taobao ID6

a5

2021.10.3 00:00:00