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.


NOTE: The 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.



Google Plus

For further reference:
Google Developer – Share links
Google Developer – Available languages

Leave a Reply

2 Comments on "AMPScript Social Links"

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

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?