How to Disable encode in email template level. | Community
Skip to main content
Level 4
November 13, 2024
Solved

How to Disable encode in email template level.

  • November 13, 2024
  • 1 reply
  • 1288 views

Hello,

 

How to disable encode in email template level?

Scenario : For unsubscribe, We are including custom URL with personalization encrypted email address. While ingesting Data into CDP, am decoding the encrypted email address. 

In profile, i can see correct decoded encrypted email address. When i add personalization in template, AJO double encoding the URL which causing us issue.

Any ideas?

 

Thanks

AJO Dev

Best answer by AJODev

It's working as expected. I mean added a personalized attribute to the external link it's showing as expected.

When I click the URL from the email received getting the unencrypted version of that personalized field.

 

 


Hi @satheeskannak ,

Thanks for your quick response, I found the issue and fixed.

The email address is encoded(encrypted(email address)).
Data ingestion : we have to decode(encoded(encrypted(email address))). So the profile as encrypted(email address).
Email Template : For unsubscribe, we have to choose "External Link" and paste the URL (This can encode the unsubscribe URL) encoded(encrypted(email address))
if you choose External Opt-out/Unsubscription, AJO it self double encoding the value.

Thanks
AJO Dev

1 reply

SatheeskannaK
Community Advisor
Community Advisor
November 14, 2024

Usually AJO by default will add the encrypted pid and payload in the URL parameter which will help to identify the profile. If you can share how you're personalizing in the template would be good to guide you further. Take a look at this page,

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/channels/email/email-opt-out

 

Thanks, Sathees
AJODevAuthor
Level 4
November 14, 2024

Hello SatheskannaK,

Am using External Optout/Unsubscription : https:// www.domainName.com/web/unsubcribe?id={{personalised Encrypted Attribute}}&prod
we are using encrypted & encoded email address outside of AJO and Mapping in CDP while doing data ingestion based on primary key.
In above link, i added personalization in URL.

 

Thanks

AJO Dev

AJODevAuthor
Level 4
July 30, 2025

Hi! can you show me the exact functions you used for that? I need to create the same process you did but I'm stuck. Thanks!


Hi @silvio6 , could you provide more information where you got stuck?

 

Thanks

AJODev