personalization in Email templete Url | Community
Skip to main content
Level 4
November 29, 2023
Solved

personalization in Email templete Url

  • November 29, 2023
  • 3 replies
  • 1891 views

Hi 

I want to create a URL for a button that, when clicked, opens a specific page. After navigating to that page, I also want to display a contextual attribute from a custom action in the URL.
assume this senrio
( https://www.google.com/  then the contextual attribute {{context.journey.actions.d06f7669-cc90-4d57-ba4a-2f812a19e88c.encrypted}}  )
i want the link to be open and want the value which is coming form the custom action 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by adobechat

I would pass the contextual attribute in the URL as a parameter and then show that in the destination page. The destination page will read the parameter from the URL and display it.

3 replies

Adobe Employee
November 29, 2023

Hi @mysteriousman,

You will not be able to put a contextual attribute in a template. There is no reference to an actual journey for templates, whenever you would use this template in a journey the reference would not exist. 

 

You can create the button in a template without the contextual attribute and add the contexttual attribute in the email action on the journey canvas.

Hope this guides you towards a solution.

 

Regards,

Level 4
November 29, 2023

when we are using this link is opeaning but  this page but when we are check that the encrypted value is correct or not it is showing this expection error when we try to decrypt it 
https://experienceleaguecommunities.adobe.com/t5/journey-optimizer-questions/personalization-in-email-templete-url/m-p/636100#M1024?var1={{context.journey.actions.d06f7669-cc90-4d57-ba4a-2f812a19e88c.encrypted}}



and when we are running only the contextual attribute inside email it is working in a crorrect format 

when we are using this type of link it is opeing but encrypted value is not coming are correct 

adobechat
adobechatAccepted solution
Level 5
November 30, 2023

I would pass the contextual attribute in the URL as a parameter and then show that in the destination page. The destination page will read the parameter from the URL and display it.

Adobe Employee
November 30, 2023

Seems like this might be a good useage of landing pages, as you can pass contextual button events from page 1 to page 2. see this doc: 

 

https://experienceleague.adobe.com/docs/journey-optimizer/using/landing-pages/create-lp.html?lang=en#configure-subpages