Expand my Community achievements bar.

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 6

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.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 6

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.