🐞[Bug] Redirect for logged in member on specific pages

Heyo! On this article (https://help.memberstack.com/en/articles/3956725-redirect-logged-in-members) the replace() function calls for "/url" (double quotes) ... trying this out I could not get it to work, so I googled around a mozilla calls for '/url' (single quotes), so I changed it and the redirect worked perfect.

Can ya'll take a look and either 1. make sure the docs are up to date, or 2. help me figure out what went right for the single quotes to work and the double quotes to fail

Thank you!
Like Comment

🐞[Bug] Remove caching on specific pages/fields in Webflow

Hey All, 

So I have a use case where a user will update a profile field, but expect that field to be updated on the next page load.

Right now when the user updates the field, it requires an extra reload of the page for the FE to reflect the change.

I'm making an assumption that this is being caused by memberstack caching the results for a fast load time, but is there a piece of custom code that could prevent this caching for a specific page? or even better, a specific custom field?

Looking forward to learning more about how I might be able to reflect a change without an extra page load!

Thanks,

Jacob

CC:  ChrisDrit   Matthew Palmer   Tyler Bell   Duncan Hamra  
Like Comment

✅[Solution] Passing Memberstack data in Typeform POPUP

Hi all 👋 

I've seen some helpful tips for passing memberstack user data into typform embeds (the traditional embed) including this post in the help center. 

My issue is when you switch the embed style to the popup/slide in, typeform changes the embed code, and the current way the code is written in the help article doesn't seem to work for the alternate typeform embed code. 

Would anyone know how to alter this article's solution to account for the typeform popup embed code?

For reference, here is the alternate embed code for popups in typeform 👇
<a class="typeform-share button" href="https://form.typeform.com/to/xxxx?typeform-medium=embed-snippet#email=xxxx" data-mode="drawer_right" style="display:inline-block;text-decoration:none;background-color:#3A7685;color:white;cursor:pointer;font-family:Helvetica,Arial,sans-serif;font-size:20px;line-height:50px;text-align:center;margin:0;height:50px;padding:0px 33px;border-radius:25px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:bold;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;" target="_blank">Launch me </a> <script> (function() { var qs,js,q,s,d=document, gi=d.getElementById, ce=d.createElement, gt=d.getElementsByTagName, id="typef_orm_share", b="https://embed.typeform.com/"; if(!gi.call(d,id)){ js=ce.call(d,"script"); js.id=id; js.src=b+"embed.js"; q=gt.call(d,"script")[0]; q.parentNode.insertBefore(js,q) } })() </script>

Thank you :) 

✅[Solution] Passing unique user variables in html

Hi all 👋

I've seen this addressed a few times with html embeds, but I'm looking to create links that pass dynamic variables of that user within a certain part of a url destination. 

I'm a little stumped because what I've found from the community so far seems to be the solution for replacing an entire value, ex. value="{{member_id}}"

What I'm looking for: 

<a href="https://website.com?id={{member_id}}" class="button">Button Text</a>

As well as use the same 'merge tag' concept for injecting unique member data within the destination url

<a href="https://website.com/{{member_category}}/something" class="button">Button Text</a>

Thank you in advance for the custom code help!

CC  ChrisDrit ,  DuncanHamra ,  Tyler Bell  Josh Lopez