AMPScript Social Links

Need to share content in your Salesforce Marketing Cloud email? Here are some methods of building social sharing links using AMPScript inside the Salesforce Marketing Cloud platform. The link structure can be used in plain ole HTML and JavaScript also.

Facebook

NOTE: The https://www.facebook.com/sharer.php link doesn’t work on mobile devices. Let me know in the comments if you find a good solution for Facebook sharing on mobile without JavaScript.

Twitter

Pinterest

Google Plus

For further reference:
concat
urlencode
redirectto
Google Developer – Share links
Google Developer – Available languages

Leave a Reply

2 Comments on "AMPScript Social Links"

Notify of
avatar
Sort by:   newest | oldest | most voted
Vic Dinovici
Guest

I used to think the same and use concatenation to build the sharing links until after so many frequent updates from these social websites I gave up an use the URLs they provide – each social website is providing the snippet to use into your code so why not just using it?

wpDiscuz