Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to match customer id from mbox with customer id uploaded via Customer Attribute

1982luca
Level 8
Level 8

Hello guys,

 

How can I match customer id from mbox with customer id uploaded via Customer Attribute? Basically my customer attribute provides me the client to be targeted for my recommendation and I want to see if customer id sent via mbox is bewteen my Customer Attribute List.

If it is not possible, any suggestion?

Thanks

1 Accepted Solution
ryanr7
Correct answer by
Level 2
Level 2

Hi @1982luca,

If you have a data source setup for Customer Attributes you can ensure that customer IDs are properly synced to Target in one of 2 ways.

  1. Using the customer ID sync with the Experience Cloud ID service (aka ECID). With a proper ECID and Target implementation this will ensure Target is linked to the proper customer ID used in Customer Attributes. Find details in this help doc for ECID and also setting customer ID with ECID.
  2. Send the customer ID used in the Customer Attributes upload directly to Target as an mbox third party ID. Here's a sample code of how to do that if the customers ID is 2000578:

 

<script type="text/javascript">
            function targetPageParams() {
               return 'mbox3rdPartyId=2000578';
            }
</script>​

 

Hope that helps

View solution in original post

5 Replies
ryanr7
Correct answer by
Level 2
Level 2

Hi @1982luca,

If you have a data source setup for Customer Attributes you can ensure that customer IDs are properly synced to Target in one of 2 ways.

  1. Using the customer ID sync with the Experience Cloud ID service (aka ECID). With a proper ECID and Target implementation this will ensure Target is linked to the proper customer ID used in Customer Attributes. Find details in this help doc for ECID and also setting customer ID with ECID.
  2. Send the customer ID used in the Customer Attributes upload directly to Target as an mbox third party ID. Here's a sample code of how to do that if the customers ID is 2000578:

 

<script type="text/javascript">
            function targetPageParams() {
               return 'mbox3rdPartyId=2000578';
            }
</script>​

 

Hope that helps

View solution in original post

1982luca
Level 8
Level 8
Thanks for your information. Very Very Helpful. Just a question where can I find this mbox3rdPartyId=2000578?
ryanr7
Level 2
Level 2

Sorry it was clearer, that's just meant to be an example customer id value that is getting passed. You replace 2000578 with your customer id for the visitor.

1982luca
Level 8
Level 8

Yes, I am using customer id as you mentioned. Now Im injecting data to AT in order to determine the most viewed product. Is it correct the approach below? I am using Adobe Launch and I placed this code in custom code script.

 

function targetPageParams() {
return {
"entity": {
"id": xxx,
"categoryId": xxx
},
"mbox3rdPartyId": digitalData.user.id

}
};

ryanr7
Level 2
Level 2

Yeah, custom code option will work and your code looks good to me for passing entity data along with the mbox 3rd party id. A formatted sample:

function targetPageParams() {
	return {
		"entity": {
			"id": xxx,
			"categoryId": xxx
		},
		"mbox3rdPartyId": digitalData.user.id
	}
};