Expand my Community achievements bar.

SOLVED

Adobe Target Data providers - used as profile parameters

Avatar

Community Advisor

Hi all, 

We are using the data providers function to call an API and pass through data to Adobe Target.  In one of the use case we need this parameters to being added as part of profile so firstly can I pass the values as profile parameters using the profile. prefix, in callback function?  

 

Reference link - https://experienceleague.adobe.com/en/docs/target-learn/tutorials/integrations/implement-data-provid... 

 

For ex like below - 

var simpleDataProvider = {
	name: "simpleDataProvider",
	version: "1.0.0",
	provider: function(callback) {
		callback(null, {
			profile.t1: 1
			profile.t2: 2
		});
	}
};

 window.targetGlobalSettings = {
	dataProviders: [
		simpleDataProvider
	]
};

 

have tried in multiple ways but no success - any help highly appreciated. 

 

@alexbishop @Rajneesh_Gautam_ @Matthew_Ravlich_ACG 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Yes, you just need to use a string (i.e. "profile.t1") instead of profile.t1

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Yes, you just need to use a string (i.e. "profile.t1") instead of profile.t1