How to update Memberstack metadata on click without refreshing the page? Not planned

Post author
Salland SEO

Hi,

I'm currently trying to find a way to update metadata on click without refreshing the page.

This is the closest to it that I could find: https://www.memberstack.com/scripts/update-member-json-in-local-storage-on-click

Is there some kind of way to use Javascript request metadata and (re)print it on click?

If anyone knows a way on how to do this, it would solve so many problems for me.

Big thanks in forward!

Comments

4 comments

  • Comment author
    Salland SEO

    Or does anyone know how to delay the data request for the metadata? So that I can play with  timing the request right?

    To print the right text I simply use the ms-code-member-meta='md-name' attribute in Webflow. 

    Would anybody know how to delay the request to retrieve the metadata after a click on a button? Not a delay in showing it but a delay in really requesting the metadata so in the meantime it can update the metadata.

    0
  • Comment author
    Jacob Schlegel

    Is there a way to update Memberstack meta data on a member with wized? I'm not seeing it as an option

    0
  • Comment author
    Julian Galluzzo

    No because Metadata can't be updated from the front end!

    I believe you can using the admin API, and you can do that within Wized 🙂

    0
  • Comment author
    Jacob Schlegel

    got it working!

    0

Please sign in to leave a comment.