Real-time profile syncing for mbox3rdPartyId
The mbox3rdPartyId in Adobe Target is your company’s visitor ID, such as the membership ID for your company’s loyalty program.
When a visitor logs in to a company’s site, the company typically creates an ID that is tied to the visitor’s account, loyalty card, membership number, or other applicable identifiers for that company.
When a visitor accesses a page on which Target is enabled, that visitor is assigned a Target PCID. If the visitor then logs in, and the implementation passes the mbox3rdPartyId to Target, Target connects that visitor’s mbox3rdPartyId with the Target PCID.
Updates are synced with the profile store every 5-10 minutes. When the visitor’s session ends, the merged data replaces the previous data associated with the mbox3rdPartyId, creating a complete record of that visitor’s actions. If the same attribute exists in both IDs–for example, the PCID has category=hats and the mbox3rdPartyId has category=skis, or if the visitor saw experience A before logging in, but experience B is stored in the mbox3rdPartyId–the attribute stored in the mbox3rdPartyId overwrites the attribute from the PCID. If the visitor was in one activity or experience before logging in, but a different activity and experience are stored in the mbox3rdPartyId, after logging in, that visitor is placed into the mbox3rdPartyId activity and experience.
When the visitor logs out, the merged profile is maintained.
Considerations considerations
-
If your page contains several mboxes and only some use
3rdPartyID, Target does not have a separate visitor profile/context for each visitor request. The3rdPartyIDcontext takes priority over the PCID context. It is enough for one mbox to pass3rdPartyIdfor its context to take priority over PCID.For example, suppose that a visitor accesses a page before logging in and sees an experience. The global mbox does not use
3rdPartyID. After logging in, the visitor sees one of three experiences with child mboxes, some of which use3rdPartyID. The visitor visits various pages on the site and then uses the Back button to return to the main page accessed before logging in and sees a different experience. In this scenario, the global mbox did not pass3rdPartyID, but one or more of the child mboxes did.3rdPartyIDtook priority over PCID. -
You can send visitors’ customer IDs to Target using two approaches:
-
Use
mbox3rdPartyId/thirdPartyId.mbox3rdPartyIdis the parameter name when you usetargetPageParamsortargetPageParamsAllthirdPartyIdis the parameter name you set in the Delivery API payload directly.- You can send only one value in this parameter.
-
Use the
setCustomerId/customerIdsfunction of ECID Service.setCustomerIdis a function you can use on client-side (browser) implementations when VisitorAPI.js is available on the page.customerIdsis the parameter name used when you set it in the Delivery API payload directly and is usually done on server-side or IOT (Internet of Things) implementations.- Unlike
mbox3rdPartyId/thirdPartyId, you can send multiple IDs as a list in this approach, but because Target supports only a single customer ID per TnT Id, it uses the first ID in the list with a known alias (alias configured in the Customer Attributes UI).
You can use
mbox3rdPartyId/thirdPartyIdif Target is your only Adobe Experience Cloud solution and you do not want to use Customer Attributes. For all other cases, we recommend that you usesetCustomerId/customerIdsfor sending your customer IDs.note important IMPORTANT Using both approaches mentioned above interchangeably for a single visitor can result in incorrect profile merges of the unauthenticated and authenticated Target profiles. Adobe does not recommend that you use both mbox3rdPartyId/thirdPartyIdandsetCustomerID/customerIdstogether.If you must use both approaches interchangeably, ensure that the first ID in the list used by setCustomerID/customerIdsis what is used bythirdPartyId/mbox3rdPartyIdand vice versa. -
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: The
mbox3rdPartyIdis your company’s visitor ID in Adobe Target, and this page explains how Target merges a visitor’smbox3rdPartyIdwith the Target PCID at login, and the two ways to send customer IDs to Target (mbox3rdPartyId/thirdPartyIdorsetCustomerId/customerIdsof the Adobe Experience Cloud Identity Service (ECID)).
Intents:
- Understand what the
mbox3rdPartyIdis. - Understand how the profile of a visitor is merged when the visitor logs in, including which attribute, activity and experience win.
- Understand when the merged profile is saved and maintained.
- Choose between
mbox3rdPartyId/thirdPartyIdandsetCustomerId/customerIdsto send customer IDs to Target. - Understand what happens when only some mboxes on a page pass
3rdPartyId.
Glossary:
mbox3rdPartyId(product-specific): your company’s visitor ID in Adobe Target, such as the membership ID for your company’s loyalty program.- PCID (product-specific): the ID that Target assigns to a visitor who accesses a page on which Target is enabled.
thirdPartyId(product-specific): the parameter name you set in the Delivery API payload directly to send the customer ID.targetPageParamsandtargetPageParamsAll(product-specific): with these,mbox3rdPartyIdis the parameter name.setCustomerId(product-specific): a function of ECID Service that you can use on client-side (browser) implementations when VisitorAPI.js is available on the page.customerIds(product-specific): the parameter name used when you set it in the Delivery API payload directly, usually done on server-side or IOT (Internet of Things) implementations.- Customer Attributes UI (product-specific): where the alias of a customer ID is configured.
Guardrails:
- With
mbox3rdPartyId/thirdPartyId, you can send only one value in this parameter. - With
setCustomerId/customerIds, you can send multiple IDs as a list, but Target supports only a single customer ID per TnT Id, so it uses the first ID in the list with a known alias (alias configured in the Customer Attributes UI). - Using both approaches (
mbox3rdPartyId/thirdPartyIdandsetCustomerId/customerIds) interchangeably for a single visitor can result in incorrect profile merges of the unauthenticated and authenticated Target profiles. - Adobe Analytics goals are not tracked when the Adobe Experience Cloud ID (ECID) changes (for example, the visitor changes devices), even though the Target profile might be merged based on the
mbox3rdPartyIdand still has activity information. For visitors identified with the same ECID (those who access the page with the same device), Analytics for Target (A4T) should work as expected. - When a page contains several mboxes and only some use
3rdPartyID, Target does not have a separate visitor profile/context for each visitor request.
Terminology:
- Canonical name:
mbox3rdPartyId— variants:3rdPartyID,3rdPartyId,mbox3rdPartyID,thirdPartyId(parameter name in the Delivery API payload). - Acronym: ECID (Adobe Experience Cloud Identity Service)
- Acronym: A4T (Analytics for Target)
- Do not confuse:
mbox3rdPartyId≠ ECID when you want to distinguish between authenticated (logged-in) users versus non-authenticated users: use ECID instead ofmbox3rdPartyId, because after a user is associated withmbox3rdPartyId, it remains associated with the user even after signing out.
FAQ:
- Q: What is the
mbox3rdPartyId? A: It is your company’s visitor ID in Adobe Target, such as the membership ID for your company’s loyalty program. - Q: How often are updates synced with the profile store? A: Updates are synced with the profile store every 5-10 minutes.
- Q: What happens when the same attribute exists in both the PCID and the
mbox3rdPartyId? A: The attribute stored in thembox3rdPartyIdoverwrites the attribute from the PCID, and the merged data replaces the previous data associated with thembox3rdPartyIdwhen the visitor’s session ends. - Q: What happens to the merged profile when the visitor logs out? A: The merged profile is maintained.
- Q: Which approach does the page recommend for sending customer IDs? A: You can use
mbox3rdPartyId/thirdPartyIdif Target is your only Adobe Experience Cloud solution and you do not want to use Customer Attributes; for all other cases, the page recommendssetCustomerId/customerIds. - Q: Which context takes priority when only some mboxes on a page pass
3rdPartyId? A: The3rdPartyIDcontext takes priority over the PCID context, and it is enough for one mbox to pass3rdPartyId.
Examples:
- Merge of a PCID (not logged in) and an
mbox3rdPartyId(logged in), saved to thembox3rdPartyId: category=hats (PCID) and category=skis (mbox3rdPartyId) give category=skis; store=94103 (mbox3rdPartyIdonly) is kept as store=94103; Activity 1, Experience A (PCID) and Activity 1, Experience B (mbox3rdPartyId) give Activity 1, Experience B; Activity 1 (PCID only) is kept as Activity 1. - Several mboxes on a page: a visitor accesses a page before logging in and sees an experience, and the global mbox does not use
3rdPartyID. After logging in, the visitor sees one of three experiences with child mboxes, some of which use3rdPartyID. After visiting various pages and using the Back button to return to the main page accessed before logging in, the visitor sees a different experience, because3rdPartyIDtook priority over PCID.
Best practices:
- Use
mbox3rdPartyId/thirdPartyIdif Target is your only Adobe Experience Cloud solution and you do not want to use Customer Attributes. For all other cases, Adobe recommendssetCustomerId/customerIdsfor sending your customer IDs. - Adobe does not recommend that you use both
mbox3rdPartyId/thirdPartyIdandsetCustomerID/customerIdstogether. - If you must use both approaches interchangeably, ensure that the first ID in the list used by
setCustomerID/customerIdsis what is used bythirdPartyId/mbox3rdPartyIdand vice versa.
Personas:
- developer: Can send visitors’ customer IDs to Target with mbox3rdPartyId in targetPageParams or targetPageParamsAll, or with thirdPartyId in the Delivery API payload directly. Can also use the setCustomerId function on client-side implementations when VisitorAPI.js is available on the page, or the customerIds parameter in the Delivery API payload. The page states that mbox3rdPartyId and thirdPartyId accept only one value, while setCustomerId and customerIds accept a list, but Target supports only a single customer ID per TnT Id, so it uses the first ID in the list with a known alias (alias configured in the Customer Attributes UI). Where: “Considerations”.
Onboarding:
- Level: Intermediate, Experienced
- First minimal step: If Target is your only Adobe Experience Cloud solution and you do not want to use Customer Attributes, you can use mbox3rdPartyId or thirdPartyId to send the customer ID.