Loading

CloudPages throws a "500 - Internal server error" with Web Analytics Connector active

Julkaisupäivä: Apr 23, 2024
Kuvaus
In your Email you want to redirect a Subscriber to a specific CloudPage of your choice after clicking on a Button.

When you configure a Button within your Email, you have the option to select the CloudPage directly.  After selecting the CloudPage, the Editor will automatically add the CloudPageURL function and PageID of the CloudPage.  Subscribers whom receive the Email will see this page when they click on the link.

With the Web Analytics Connector (WAC) enabled, Subscribers will click the button link and the WAC UTM Parameters will be appended onto the URL, prefixed by the ? character in the URL.

Following this process, you will see that the link will error because the URL will have two question marks (?), one that is added by the CloudPagesURL function and another one that is added by the WAC to include all the UTM parameters.
Ratkaisu
To make sure that Subscribers are seeing the correct URL with all the relevant parameters, instead of CloudPage you will need to make sure that you are wrapping the CloudPagesURL() function with the RedirectTo() function.

This workaround will make sure that the RedirectTo() function is taking care of building the correct URL and for the UTM parameters, this function will make sure that instead of adding one more question mark (?) at the end of the URL it is appending the UTM parameters with an "&".
Knowledge-artikkelin numero

000389955

 
Ladataan
Salesforce Help | Article