Skip to content

Instantly share code, notes, and snippets.

@MyCueCards
Created April 27, 2024 15:41
Show Gist options
  • Save MyCueCards/665fd91ea09a1984237e4bd4d407ab8a to your computer and use it in GitHub Desktop.
Save MyCueCards/665fd91ea09a1984237e4bd4d407ab8a to your computer and use it in GitHub Desktop.
For instances where the parameter is not generating correctly, add CONCAT and SUBSTRING to alter.
/*
One use, if your system snippet is directed to a custom cloud page, use the below instead
of [%%=RedirectTo(CloudPagesURL(##))=%%]. Without, there may be an error when using
parameter manager. This will avoid generating two question marks in the URL.
*/
%%=RedirectTo(Concat(CloudPagesURL(##),SUBSTRING('?',1,0)))=%%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment