Personalize text with members' data

Article author
Josh Lopez
  • Updated

How to personalize your site with data submitted by your members or by admin.

About this article

  • Difficulty level: Easy

  • Technical background needed: Beginner

  • Estimated time required to complete: 2 mins

What and Why?

You can use data-ms-member="fieldID" attributes to personalize your site with data submitted by your members or by admin. 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.

 

Update_your_UI_with_member_data_and_data-ms-member_attributes..gif

How?

Step 1

In Memberstack → Create or click a custom field to open the settings drawer and copy the value.

 

Where_to_find_field_values-min.gif

 

Step 2

On your website → Select the element you want to personalize and give it an attribute of data-ms-member="fieldID

 

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.

 

Note: You currently can't add numbers into fields. As a workaround, numbers will need to be entered as words; 1 = One.

 

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

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.