Skip to main content

Personalize Text with Member Data

Duncan from Memberstack
Duncan from Memberstack

You can use data-ms-member="FIELD_ID" attributes to personalize your site with data stored in Memberstack. This means that you can use Memberstack as a secure content management system (CMS) and use data attributes to tell Memberstack where to display content.

This feature also works with images, select inputs, checkboxes, radio buttons, and more. 

 

Update_your_UI_with_member_data_and_data-ms-member_attributes..gif

How?

Step 1

  • In MemberstackEdit a custom field to copy its data attribute.

Step 2

  • On your website → Select the element you want to personalize and give it an attribute of data-ms-member="fieldID". The text you want to override us considered a placeholder. If no value is set in Memberstack, your member will see whatever you typed into Webflow. 

Step 3

  • When you log in or refresh the page, Memberstack will swap the original text with the text stored in Memberstack. If the field is empty, the element will revert to its original state.

 

Keywords: text, personalize text, personalization, data, members, users, customers

Was this article helpful?

Didn’t find your answer?

Get an instant answer from Rey, or reach a human. Either way, we’re happy to help.

Comments

2 comments

  • Scott Green
    Scott Green Edited

    Is there a way to pull initials only? Is there an attribute to display the members initials, by leveraging the stored first and last name?

    1
  • Duncan from Memberstack
    Duncan from Memberstack Author

    Scott Green Check this out! Magnaem created a custom script which should do what you need.  https://www.memberstack.com/scripts/initial-based-avatar

    0

Please sign in to leave a comment.

Sitemap