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

Encrypt URL parameters

Avatar

Avatar
Level 1
LJane
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
LJane
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
LJane
Level 1

21-04-2020

Hi,

 

I am looking to encrypt URL parameters for our Unsubscribe link using AES256 or similar.

 

Example:

 

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Shape 1
MVP
SatheeskannaK
MVP

Likes

87 likes

Total Posts

149 posts

Correct Reply

77 solutions
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back
Boost 50
View profile

Avatar
Shape 1
MVP
SatheeskannaK
MVP

Likes

87 likes

Total Posts

149 posts

Correct Reply

77 solutions
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back
Boost 50
View profile
SatheeskannaK
MVP

06-05-2020

Hi @LJane ,

 

You will have to follow two things in order to get query parameters encrypted for each profile, in such a way that it generates personalized preference center url when a user clicks. I see that you want to get email & country data for each of the profile to be encrypted.

 

1. First thing you will have to encrypt the email & country using the "encryption_aescbcEncrypt" function available by adding them as additional data on workflow query activity. Refer this page for list of functions: List of functions.

For example: encryption_aescbcEncrypt(@email, "\x4839dmjslekws482dks", "\xdfjskl30204dxms492")

 

2. Then create content block with the expression alias you see on the additional data.

    For email encryption could be something: <%= context.targetData.expr1 %> 

   Similarly you will have one for country encryption which is <%= context.targetData.expr2 %>

 

Final url will be like this: https://www.google.com?params=<%= context.targetData.expr1 %>&<%= context.targetData.expr2 %>  and whenever user clicks the preference center url it will have their email & country encrypted as query parameter.

 

Hope this helps.

 

Thanks!

SK

 

 

Answers (1)

Answers (1)

Avatar

Avatar
Level 1
yzx2716
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
yzx2716
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
yzx2716
Level 1

27-04-2020

Me too, I want the idea