0

I have a link in my email.

Link works in Classic Content HTML Paste email whereas same code does not work in Content Builder version. tried

href="%%[RedirectTo(CloudPagesURL(123))]%%
href="%%=RedirectTo(CloudPagesURL(123))=%%

both render as

http://cl.***.exct.net/%%[%20CloudPagesURL(123)]%%

Where as in Classic I am using this

href="%%=RedirectTo(CloudPagesURL(123))=%%

and it works fine.

Any advise how I can make this to work in Content Builder.

2 Answers 2

1

Contrary to the part of the documentation, I don't think you need the redirectto() on the CloudPagesURL() function. It should wrap the links properly without it:

<a href="%%=CloudPagesURL(163)=%%">link</a>

1
  • I think you're correct. Surplus to requirement.
    – Macca
    Commented Jul 11, 2017 at 11:47
0

You may have clipped something when pasting your examples into StackExchange as there doesn't look like too much wrong with your examples. Here's an example tracked URL to a Cloud Page working in Content Builder...

<a href="%%=RedirectTo(CloudPagesURL(163))=%%" alias="Update Preferences">Update Preferences</a>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .