How to load AJAX content in Webflow without triggering Memberstack redirects?

Post author
Verena E

HELP!

I need to load content of 2 subpages within webflow to show content.

I also have Memberstack integrated (currently on Test mode).

I created a basic read-only-version for you guys in hope that you can help me solve the issue.

Here is my site Read-Only:
https://preview.webflow.com/preview/ajax-memberstack?utm_medium=preview_link&utm_source=designer&utm_content=ajax-memberstack&preview=0caeaff4e4e7c7c736bbd240f51e54e1&workflow=preview
(I’ve excluded the pages to sign in, sign up and component side menu for sign in to memberstack - as the error is still replicable without) - could this be an issue of test membership? On every other page this doesn’t happen.

Now having both implemented, after loading the AJAX content on Home the page redirects to the Memberstack homepage - I found some error on Dev Tools debugging but no idea how to fix them.
Strangely same errors appear when only loading 1 Ajax content but I won’t be redirected to memberstack.

Please help.

Comments

3 comments

  • Comment author
    Duncan from Memberstack
    • Official comment

    Hey Verena E

    I found the issue! There are 3 Memberstack headerscripts installed on your site. Once you reduce it down to just one, the issue will go away - Loom | Free Screen & Video Recording Software | Loom

    I'm guessing this is happening because both iframe pages also have the Memberstack script installed. 

    FYI - this issue also occurs if you attempt to delete or modify the test mode label. But I assume it’s just an issue with your header scripts at this point.

  • Comment author
    Verena E

    Duncan from Memberstack

    thanks so much - wasn't considering that at all.

    Since the header script gets installed via custom code for the entire Webflow project it's getting installed repetitive since the loaded content are pages of the same project.

    1
  • Comment author
    Duncan from Memberstack

    You're most welcome! 🙏 

    0

Please sign in to leave a comment.