DebateDrills LLC

An online coaching company

πŸ’¬ [Replied] ReferenceError: MemberStack is not defined

Hi all! I've been following a guide by ο»Ώ ChrisDrit ο»ΏΒ to redirect new signups to their member-specific page. I'm running into an issue with the custom code, and I have a feeling that WebFlow is not able to access MemberStack's API.

Here is ο»Ώ ChrisDrit ο»Ώ's custom code:
<script>
var Webflow = Webflow || [];
Webflow.push(function() {
MemberStack.onReady.then(function(member) {
  if(member.memberPage){
  window.location.replace(member.memberPage);
  }else{
  setTimeout(function() { location.reload(true); }, 3000);
    }
  })
});
</script>

After signing up, the member is supposed to be redirected to their member-specific page, but I am getting stuck on the "creating your account" page. Here is the error I see from Google Console:
jQuery.Deferred exception: MemberStack is not defined ReferenceError: MemberStack is not defined
This error happens on this line of the code:
MemberStack.onReady.then(function(member) {
Here is a read-only link for the project and the actual website can be accessed here.

Thank you for any help! This community is awesome! Cheers to my first post :)