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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Passing data for Audience Targeting in Server Side Target calls

rjb45443778
Level 2
Level 2

I know on client side this can be accomplished with the getOffers method, like so:

 

 adobe.target.getOffers({
                request: {
                    execute: {
                        pageLoad: {
                            parameters: {audience targeting object}
                        }
                    }
                }
            }).then(response => adobe.target.applyOffers({ response: response })).catch(error => error stuff);
 
 
However, I'm wondering if this is also possible with server side.  I'm unable to find anything in the documentation outlining if and how this could be accomplished.  Anybody have an ideas?
 
 
        
audience server side
1 Accepted Solution
josejr19
Correct answer by
Level 6
Level 6

@rjb45443778 you could standup your own server side framework which has or can get your user data and then passes it to Target using the Target SDK versus doing it client side. From Adobe Target in house perspective, the only user data it retrieves is from within the experience cloud. 

 

Here is the link to the nodejs sdk you can use.

https://github.com/adobe/target-nodejs-sdk

View solution in original post

1 Reply
josejr19
Correct answer by
Level 6
Level 6

@rjb45443778 you could standup your own server side framework which has or can get your user data and then passes it to Target using the Target SDK versus doing it client side. From Adobe Target in house perspective, the only user data it retrieves is from within the experience cloud. 

 

Here is the link to the nodejs sdk you can use.

https://github.com/adobe/target-nodejs-sdk

View solution in original post