0
Concat("https://www.facebook.com/sharer.php?u=", URLEncode(Concat("http://company.com/page?item=", itemid)))

The URLEncoded question mark is being replaced by an ampersand. Is there a way to stop that without rewriting our item page?

1

This seems to work:

<a href="https://www.facebook.com/sharer.php?u=http://company.com/page?item=%%=v(itemid)=%%">Facebook</a>
  • An alternative would be to break it down in several blocks: %%[ SET @Link1 = ...., SET @ Link2 = ...., SET @ EndLink = Concat(@ Link1, @ Link2) ]%% – Kenneth Wagner May 9 '17 at 6:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.