Usage of the attribute: data-ms-plan Answered

Post author
Damon Delgado

Hello Memberstack Team! I am building a product/service utilizing Webflow + Memberstack. A little background:

Rakoon empowers homeowners and renters to make accurate buying decisions about trash collection services by providing trustworthy information, reliable consumer reviews, cost awareness, and a better user experience.

We’re considering starting a digital ad buy to promote the product, but we would like to send the user directly to the form where they can begin filling out their information and registering (https://www.askrakoon.com/app/register).

However based on the documentation I need them first to click on a button with a custom attribute: data-ms-plan:add, which I have across CTA buttons on the homepage: https://www.askrakoon.com/.

Is there a way around this? Do I have to add a plan? What is this actually doing after clicking through? Can this action be instantiated programmatically on document.ready() or the equivalent call via the Webflow JS?

Thanks in advance,
Damon

Comments

5 comments

  • Comment author
    Josh Lopez

    Hey Damon Delgado!

    Great question and awesome service. Memberstack is pretty flexible. What would be your optimal member journey?

    The data-ms-plan data attribute can be used on signup buttons that take a member to a signup page, added to the signup form itself, or you can leave it out and have members without a plan on signup so they can choose later.

    0
  • Comment author
    Damon Delgado

    Hi Josh-Lopez, so maybe I should not use plans at all for the moment?

    One issue, if I go directly to the registration page and sign-up, upon completion I get sent to /app/create-account, but the member is already created

    0
  • Comment author
    Duncan Hamra

    Hey Damon 👋 You can change the default redirect for new members without plans on this page. https://app.memberstack.com/plans/redirects

    0
  • Comment author
    Damon Delgado

    Hi Duncan-Hamra Easy enough. Thanks. Is there a way to add a plan after signup programmatically? It’s the assignment of the attribute to a button click that we’re trying to get around.

    0
  • Comment author
    Duncan Hamra

    Hey Damon 👋 Great question and yes. You can do it via the DOM package in the frontend or Admin package in the backend.

    0

Please sign in to leave a comment.