Using custom member field personalization tags in URL's

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered
  • (Edited)

Is it possible to use the personalization fields to populate data to a URL? Let's say I have three fields for a contact; Name, Account ID, and Contact ID, all of which come from Salesforce syncing. I would like for each of these unique values to populate a portion of a URL for one of our sites so that we can tie the information back to the respective account and contact in Salesforce. The portion that it would populate would be the corresponding merge field from Salesforce.

So if I have it listed as "Johnny Test, 123456, 7890" respectively for each of the fields, can I embed a hyperlink into the email that would direct the user to the site for their account and contact information? The URL would look similar to this, " ID&Results__Contact__c=Contact ID"
Where the italicized portion is static and specific to the site name and the bold portion would be dynamic and normally just be a merge field from Salesforce, such as {!Account.Id} and {!Contact.Id}. I know by inserting personalization you can get data to populate in the email itself, such as [% member:company_name default="" %], but you cannot use that in HTML.

Any help or guidance would be greatly appreciated!

*Edit: I've preemptively granted a week of support access to Emma.
Photo of Legal Intake Professionals

Legal Intake Professionals

  • 15 Posts
  • 4 Reply Likes

Posted 4 years ago

  • 0
  • 1
Photo of Emily Hollingsworth

Emily Hollingsworth, Alum

  • 2203 Posts
  • 158 Reply Likes
Official Response
Hi there -- You can create PURL's by grabbing the shortcut name from your custom fields and adding them to the URL. There are more detailed instructions on that here in our Resource Center. You'll just want to be sure that those Salesforce fields are syncable through the integration.

I'm not familiar with the Salesforce merge field and how it relates to our integration. If those fields sync up with your Emma account, then they should be fair game for PURL's!