Returns a CloudPages URL with an encrypted query string. Use this function to link to landing pages from emails. Because this function encrypts your query parameters, you can use it to avoid submitting customer data as plain text.
CloudPagesURL() function has three parameters:
pageId(number): Required. The page identifier of a CloudPages landing page.
parameterName1(string): Required. The name of the item that you want to include as an encrypted query parameter.
parameterValue2(string): Required. The value of the item that you want to include as an encrypted query parameter.
You can pass multiple query string parameters by appending their names and values to the end of the function. You can include as many query string parameters as necessary.
To use this function, pass it the ID of the landing page that you want to link to, and the names and values of the items that you want to include in the URL query string. You can find the landing page ID on the content details page of the landing page.
This example shows how to include multiple name-value pairs in a URL query string that links to a landing page.
You can use the
RequestParameter() functions on the landing page to retrieve the values of parameters that you pass using this function.