How to auto-populate member-specific links in Webflow using Memberstack 2.0 profile URLs without manual slug entry? Answered

Hey guys! I have ran into a slight problem.

So I have a Webflow/Memberstack website with dashboards for every member. Each member has a hidden field of profile-url which is populated with the right link and member-specific slug. Now, I've added the code that I always used, but apparently it doesn't work with MS 2.0!

Does anyone know a workaround/different code that will allow to auto-populate links with that profile-url?

Comments

8 comments

  • Comment author
    Josh Lopez

    Hey Valeriya Ensenat 👋

    I think what you are looking for is our login redirect which is what 2.0 uses instead of member specific pages. You can read more about it here https://docs.memberstack.com/hc/en-us/articles/7385311945499-Member-specific-Pages-and-Login-Redirects

    0
  • Comment author
    Valeriya Ensenat

    Oh, thanks! The only thing is that I don't want to manually add slugs to members, I want the link to be automatically populated based on the profile-url that I set up. Like it has to change automatically for every member

    0
  • Comment author
    Jayess

    Hello Valeriya Ensenat 👋

    No problem! You can either use our Zapier, Make or Webhooks to help you with that 💪

    If you have anymore questions don’t hesitate to reach out 😄

    0
  • Comment author
    Valeriya Ensenat

    Jayess Thanks! So now I have the link in the hidden fields, but I have no idea how to put that link from the hidden field to the button. Any suggestions? Probably would involve some attributes and code, but I have no idea which ones lol

    0
  • Comment author
    Jayess

    Hello Valeriya Ensenat hm, is the link the member-specific url? I’m not sure I understand completely. A loom.com would be super helpful and I can quickly give you a solution!

    0
  • Comment author
    Valeriya Ensenat

    Hi! Here's a loom, I hope that this explains it better lol!
    https://www.loom.com/share/589751000a18415ea8b8b409a05b9074

    By the way, the same info with the profile-url link is stored in airtable, so if anyone knows how to do it through connective AT with WF that would be super helpful also!

    I know that Connor has a fantastic video about it, but that only works with V1:(

    0
  • Comment author
    Jayess

    Hello Valeriya 👋

    ah! Okay, I think you might have done this the workaround way, which is cool and you figured it out! You are correct, v1.0 code doesn’t work with v2.0 anymore. But we have an article to convert code from 1.0 to 2.0

    But an easier way to do this without code is using login re-directs/member-specific page or adding a button with the attribute data-ms-action=“login-redirect” and adding the member.id to the login-redirect via Zapier

    Either way works, but you won’t need a new profile-url column unless you’re planning on creating more than one url link 😄

    Let me know if that works for you!

    0
  • Comment author
    Valeriya Ensenat

    Thank you! I will check it out and let you know if it works!

    0

Please sign in to leave a comment.