This function is commonly used in emails to direct subscribers to specific pages. This article will guide you through the use of CloudPageURL, its structure, and how to combine it with other functions to ensure it works seamlessly in Marketing Cloud.
Structure of the CloudPageURL Function
The CloudPageURL function is quite simple and takes only one mandatory parameter: the ID of the page you want to link to. This ID can be found in the parameters of each CloudPage.
It also has optional fields for passing multiple pairs of variables and values.
Here is the basic structure of the function:
Using RedirectTo and Concat
How to Retrieve Variables on the Destination Page
Sendable Data Extension Variables
Personalization String Variables in Marketing Cloud
Salesforce Marketing Cloud also provides Personalization Strings, which are predefined variables that you can use. For example, if you want to retrieve the recipient's name, you can use the %%First Name%% variable as follows:
Variables Included in CloudPageURL
The variables you've passed through CloudPageURL can also be retrieved on your destination page. Suppose you've passed a variable "Color" in your URL, you can retrieve it like this:
Download our ebook to support the online course here: