Skip to main content
add marketing-cloud tag, formatting
Source Link
Adam Spriggs
  • 31.1k
  • 6
  • 44
  • 88

I have a question with base64decode function.

The following variables are not getting decoded when passed in the cloud pages. In email I am using following ampscript.

Email

Email
%%[  

VAR @Member_Number, @Email_Address,@LPURL 
SET @Member_Number = Base64Encode(MemberNumber) 
SET @Email_Address =Base64Encode(EmailAddress) 
SET @LPURL = Concat('http://example.com/page.aspx?EmailAddress=',@Email_Address,'&Member_Number=',@Member_Number)]%%
 
]%%
%%=RedirectTo(@LPURL)=%%

When someone clicks, on above following gets captured in landing page. I am using insertdata function to capture the subscribers details. However when I click on the records in DE, they are still coming as encrypted.

Landing Page

%%[
 
VAR @Member_Number, @Email_Address, @ClickDate
/* Get Data From DE */
SET @Member_Number = RequestParameter("Member_Number")
Set @Member_Number1 = Base64Decode(@Member_Number)
SET @Email_Address = RequestParameter("EmailAddress")
SET @Email_Address1 = Base64Decode(@Email_Address)
SET @ClickDate = Format(SystemDateToLocalDate(NOW()),"yyyy-MM-dd HH:mm:ss") 

IF NOT EMPTY(@Member_Number) THEN
 
   InsertData("LandingPageDE","MemberNumber", @Member_Number1, "EmailAddress", @Email_Address1, "ClickDate", @ClickDate)
 
ENDIF
]%%

I have a question with base64decode function.

The following variables are not getting decoded when passed in the cloud pages. In email I am using following ampscript.

Email
%%[ VAR @Member_Number, @Email_Address,@LPURL 
SET @Member_Number = Base64Encode(MemberNumber) 
SET @Email_Address =Base64Encode(EmailAddress) 
SET @LPURL = Concat('http://example.com/page.aspx?EmailAddress=',@Email_Address,'&Member_Number=',@Member_Number)]%%
 
%%=RedirectTo(@LPURL)=%%

When someone clicks, on above following gets captured in landing page. I am using insertdata function to capture the subscribers details. However when I click on the records in DE, they are still coming as encrypted.

%%[
 
VAR @Member_Number, @Email_Address, @ClickDate
/* Get Data From DE */
SET @Member_Number = RequestParameter("Member_Number")
Set @Member_Number1 = Base64Decode(@Member_Number)
SET @Email_Address = RequestParameter("EmailAddress")
SET @Email_Address1 = Base64Decode(@Email_Address)
SET @ClickDate = Format(SystemDateToLocalDate(NOW()),"yyyy-MM-dd HH:mm:ss")
IF NOT EMPTY(@Member_Number) THEN
 
InsertData("LandingPageDE","MemberNumber", @Member_Number1, "EmailAddress", @Email_Address1, "ClickDate", @ClickDate)
 
ENDIF
]%%

I have a question with base64decode function.

The following variables are not getting decoded when passed in the cloud pages. In email I am using following ampscript.

Email

%%[  

VAR @Member_Number, @Email_Address,@LPURL 
SET @Member_Number = Base64Encode(MemberNumber) 
SET @Email_Address =Base64Encode(EmailAddress) 
SET @LPURL = Concat('http://example.com/page.aspx?EmailAddress=',@Email_Address,'&Member_Number=',@Member_Number)

]%%
%%=RedirectTo(@LPURL)=%%

When someone clicks, on above following gets captured in landing page. I am using insertdata function to capture the subscribers details. However when I click on the records in DE, they are still coming as encrypted.

Landing Page

%%[
 
VAR @Member_Number, @Email_Address, @ClickDate
/* Get Data From DE */
SET @Member_Number = RequestParameter("Member_Number")
Set @Member_Number1 = Base64Decode(@Member_Number)
SET @Email_Address = RequestParameter("EmailAddress")
SET @Email_Address1 = Base64Decode(@Email_Address)
SET @ClickDate = Format(SystemDateToLocalDate(NOW()),"yyyy-MM-dd HH:mm:ss") 

IF NOT EMPTY(@Member_Number) THEN
 
   InsertData("LandingPageDE","MemberNumber", @Member_Number1, "EmailAddress", @Email_Address1, "ClickDate", @ClickDate)
 
ENDIF
]%%
rename function name
Source Link
Chandan
  • 673
  • 1
  • 9
  • 31

I have a question with basedecode64base64decode function.

The following variables are not getting decoded when passed in the cloud pages. In email I am using following ampscript.

Email
%%[ VAR @Member_Number, @Email_Address,@LPURL 
SET @Member_Number = Base64Encode(MemberNumber) 
SET @Email_Address =Base64Encode(EmailAddress) 
SET @LPURL = Concat('http://example.com/page.aspx?EmailAddress=',@Email_Address,'&Member_Number=',@Member_Number)]%%
 
%%=RedirectTo(@LPURL)=%%

When someone clicks, on above following gets captured in landing page. I am using insertdata function to capture the subscribers details. However when I click on the records in DE, they are still coming as encrypted.

%%[
 
VAR @Member_Number, @Email_Address, @ClickDate
/* Get Data From DE */
SET @Member_Number = RequestParameter("Member_Number")
Set @Member_Number1 = Base64Decode(@Member_Number)
SET @Email_Address = RequestParameter("EmailAddress")
SET @Email_Address1 = Base64Decode(@Email_Address)
SET @ClickDate = Format(SystemDateToLocalDate(NOW()),"yyyy-MM-dd HH:mm:ss")
IF NOT EMPTY(@Member_Number) THEN
 
InsertData("LandingPageDE","MemberNumber", @Member_Number1, "EmailAddress", @Email_Address1, "ClickDate", @ClickDate)
 
ENDIF
]%%

I have a question with basedecode64 function.

The following variables are not getting decoded when passed in the cloud pages. In email I am using following ampscript.

Email
%%[ VAR @Member_Number, @Email_Address,@LPURL 
SET @Member_Number = Base64Encode(MemberNumber) 
SET @Email_Address =Base64Encode(EmailAddress) 
SET @LPURL = Concat('http://example.com/page.aspx?EmailAddress=',@Email_Address,'&Member_Number=',@Member_Number)]%%
 
%%=RedirectTo(@LPURL)=%%

When someone clicks, on above following gets captured in landing page. I am using insertdata function to capture the subscribers details. However when I click on the records in DE, they are still coming as encrypted.

%%[
 
VAR @Member_Number, @Email_Address, @ClickDate
/* Get Data From DE */
SET @Member_Number = RequestParameter("Member_Number")
Set @Member_Number1 = Base64Decode(@Member_Number)
SET @Email_Address = RequestParameter("EmailAddress")
SET @Email_Address1 = Base64Decode(@Email_Address)
SET @ClickDate = Format(SystemDateToLocalDate(NOW()),"yyyy-MM-dd HH:mm:ss")
IF NOT EMPTY(@Member_Number) THEN
 
InsertData("LandingPageDE","MemberNumber", @Member_Number1, "EmailAddress", @Email_Address1, "ClickDate", @ClickDate)
 
ENDIF
]%%

I have a question with base64decode function.

The following variables are not getting decoded when passed in the cloud pages. In email I am using following ampscript.

Email
%%[ VAR @Member_Number, @Email_Address,@LPURL 
SET @Member_Number = Base64Encode(MemberNumber) 
SET @Email_Address =Base64Encode(EmailAddress) 
SET @LPURL = Concat('http://example.com/page.aspx?EmailAddress=',@Email_Address,'&Member_Number=',@Member_Number)]%%
 
%%=RedirectTo(@LPURL)=%%

When someone clicks, on above following gets captured in landing page. I am using insertdata function to capture the subscribers details. However when I click on the records in DE, they are still coming as encrypted.

%%[
 
VAR @Member_Number, @Email_Address, @ClickDate
/* Get Data From DE */
SET @Member_Number = RequestParameter("Member_Number")
Set @Member_Number1 = Base64Decode(@Member_Number)
SET @Email_Address = RequestParameter("EmailAddress")
SET @Email_Address1 = Base64Decode(@Email_Address)
SET @ClickDate = Format(SystemDateToLocalDate(NOW()),"yyyy-MM-dd HH:mm:ss")
IF NOT EMPTY(@Member_Number) THEN
 
InsertData("LandingPageDE","MemberNumber", @Member_Number1, "EmailAddress", @Email_Address1, "ClickDate", @ClickDate)
 
ENDIF
]%%
added 41 characters in body
Source Link
Adrian Larson
  • 151.3k
  • 38
  • 247
  • 431

I have a question with basedecode64 function.

The following variables are not getting decoded when passed in the cloud pages. In email I am using following ampscript.

Email %%[ VAR @Member_Number, @Email_Address,@LPURL SET @Member_Number = Base64Encode(MemberNumber) SET @Email_Address =Base64Encode(EmailAddress) SET @LPURL = Concat('http://example.com/page.aspx?EmailAddress=',@Email_Address,'&Member_Number=',@Member_Number)]%%

%%=RedirectTo(@LPURL)=%%

Email
%%[ VAR @Member_Number, @Email_Address,@LPURL 
SET @Member_Number = Base64Encode(MemberNumber) 
SET @Email_Address =Base64Encode(EmailAddress) 
SET @LPURL = Concat('http://example.com/page.aspx?EmailAddress=',@Email_Address,'&Member_Number=',@Member_Number)]%%
 
%%=RedirectTo(@LPURL)=%%

When someone clicks, on above following gets captured in landing page. I am using insertdata function to capture the subscribers details. However when I click on the records in DE, they are still coming as encrypted.

%%[

VAR @Member_Number, @Email_Address, @ClickDate /* Get Data From DE */ SET @Member_Number = RequestParameter("Member_Number") Set @Member_Number1 = Base64Decode(@Member_Number) SET @Email_Address = RequestParameter("EmailAddress") SET @Email_Address1 = Base64Decode(@Email_Address) SET @ClickDate = Format(SystemDateToLocalDate(NOW()),"yyyy-MM-dd HH:mm:ss") IF NOT EMPTY(@Member_Number) THEN

InsertData("LandingPageDE","MemberNumber", @Member_Number1, "EmailAddress", @Email_Address1, "ClickDate", @ClickDate)

ENDIF ]%%

Thank you for looking into this in advance.

%%[
 
VAR @Member_Number, @Email_Address, @ClickDate
/* Get Data From DE */
SET @Member_Number = RequestParameter("Member_Number")
Set @Member_Number1 = Base64Decode(@Member_Number)
SET @Email_Address = RequestParameter("EmailAddress")
SET @Email_Address1 = Base64Decode(@Email_Address)
SET @ClickDate = Format(SystemDateToLocalDate(NOW()),"yyyy-MM-dd HH:mm:ss")
IF NOT EMPTY(@Member_Number) THEN
 
InsertData("LandingPageDE","MemberNumber", @Member_Number1, "EmailAddress", @Email_Address1, "ClickDate", @ClickDate)
 
ENDIF
]%%

I have a question with basedecode64 function.

The following variables are not getting decoded when passed in the cloud pages. In email I am using following ampscript.

Email %%[ VAR @Member_Number, @Email_Address,@LPURL SET @Member_Number = Base64Encode(MemberNumber) SET @Email_Address =Base64Encode(EmailAddress) SET @LPURL = Concat('http://example.com/page.aspx?EmailAddress=',@Email_Address,'&Member_Number=',@Member_Number)]%%

%%=RedirectTo(@LPURL)=%%

When someone clicks, on above following gets captured in landing page. I am using insertdata function to capture the subscribers details. However when I click on the records in DE, they are still coming as encrypted.

%%[

VAR @Member_Number, @Email_Address, @ClickDate /* Get Data From DE */ SET @Member_Number = RequestParameter("Member_Number") Set @Member_Number1 = Base64Decode(@Member_Number) SET @Email_Address = RequestParameter("EmailAddress") SET @Email_Address1 = Base64Decode(@Email_Address) SET @ClickDate = Format(SystemDateToLocalDate(NOW()),"yyyy-MM-dd HH:mm:ss") IF NOT EMPTY(@Member_Number) THEN

InsertData("LandingPageDE","MemberNumber", @Member_Number1, "EmailAddress", @Email_Address1, "ClickDate", @ClickDate)

ENDIF ]%%

Thank you for looking into this in advance.

I have a question with basedecode64 function.

The following variables are not getting decoded when passed in the cloud pages. In email I am using following ampscript.

Email
%%[ VAR @Member_Number, @Email_Address,@LPURL 
SET @Member_Number = Base64Encode(MemberNumber) 
SET @Email_Address =Base64Encode(EmailAddress) 
SET @LPURL = Concat('http://example.com/page.aspx?EmailAddress=',@Email_Address,'&Member_Number=',@Member_Number)]%%
 
%%=RedirectTo(@LPURL)=%%

When someone clicks, on above following gets captured in landing page. I am using insertdata function to capture the subscribers details. However when I click on the records in DE, they are still coming as encrypted.

%%[
 
VAR @Member_Number, @Email_Address, @ClickDate
/* Get Data From DE */
SET @Member_Number = RequestParameter("Member_Number")
Set @Member_Number1 = Base64Decode(@Member_Number)
SET @Email_Address = RequestParameter("EmailAddress")
SET @Email_Address1 = Base64Decode(@Email_Address)
SET @ClickDate = Format(SystemDateToLocalDate(NOW()),"yyyy-MM-dd HH:mm:ss")
IF NOT EMPTY(@Member_Number) THEN
 
InsertData("LandingPageDE","MemberNumber", @Member_Number1, "EmailAddress", @Email_Address1, "ClickDate", @ClickDate)
 
ENDIF
]%%
Source Link
Chandan
  • 673
  • 1
  • 9
  • 31
Loading