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

The 1st edition of the Target Community Lens newsletter is out now! Click to the right to find all the latest updates
SOLVED

Does anyone have any standard script for pulling DataLayer information for personalization?

Avatar

Level 2

We currently capture the first name of the visitor in the DataLayer and would like to pull that to personalize the headline with the name. Looking for suggestions on how best to do that.

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi @CJara1 You can make use of profile parameters to pull the datalayer value into target. 

 

Reference: https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/odd-issues-with-profile-para...

Once you have the datalayer variable in target you can use it in the offers as, ${profile.firstname}

 

Reference: https://experienceleague.adobe.com/docs/target/using/experiences/offers/passing-profile-attributes-t...

 

I haven't tried the second part, but hope it does help.

0 Replies

Avatar

Correct answer by
Level 5

Hi @CJara1 You can make use of profile parameters to pull the datalayer value into target. 

 

Reference: https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/odd-issues-with-profile-para...

Once you have the datalayer variable in target you can use it in the offers as, ${profile.firstname}

 

Reference: https://experienceleague.adobe.com/docs/target/using/experiences/offers/passing-profile-attributes-t...

 

I haven't tried the second part, but hope it does help.