crmTech/ November 23, 2018/ Cloud, CRM, Salesforce Marketing Cloud/ 0 comments

Currently Salesforce Marketing Cloud not supports QR Code hence I have created custom SSJS code using the Google QR API. Please find below same.

<script language="javascript" runat="server">
  Platform.Load("Core", "1");
  var emailId = Platform.Recipient.GetAttributeValue("emailaddr");
  var QRAPIURL = "http://www.google.com/chart?chs=200x200&chld=M&cht=qr&chl=";
  var imgURL = QRAPIURL+emailId;
   Write("<img src='" + imgURL + "'/>");
</script>
Advertisements
Share this Post

About crmTech

Sharad is working from more than 11 years in IT industry. He has giving his technical services in CRM for telecom, automobile, retail, finance industry in Sales, Service and Marketing. He has primary skill in Siebel and Salesforce Marketing Cloud. Apart from this he has worked in Google Cloud, Wordpress blogging, SEO optimization, Short film making, mobile apps creation,logo design creation for his own interest.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.