Memberstack should be able to work in any frontend. no matter if is just html, js frameworks, and some site generators.
For your particular case, you can verify it will work if you can add the script import (to enable it in your site), and also, either add custom attributes to html tags and/or add custom JS code (to create custom logic). If Duda allows to implement all those things, then it's compatible with MS 🙂
I’m trying to figure out where to place all the correct script stuff. I’ve tried to follow through the directions on MS website but I’m still having trouble.
I copy and pasted the code that member stack said to copy and I pasted it in the Head HTML for the entire site. And it just showed the code at the head of the site. But I’m not sure if that means it worked or what
You need to add the script to before the head tags closes. The script is found in Settings > Install code. Use the one that says Webflow (it will work for any html page)
Then publish your site and go to any page. If you view page source in your browser (On a Windows machine, press Ctrl + U. On a Mac, press Command + Option + U). Look for the script you pasted, you should be able to see the script before the head tag.
And finally to make sure it's actually functioning, in the page you opened (not the page source), open the console (Option + ⌘ + J (on macOS), or Shift + CTRL + J (on Windows/Linux). In there, you can write $memberstackDom and hit enter. If you get the same result as me it means its correctly installed.
If you find any issue with the steps above mentioned send me a screenshot of what you see to better assist you
Comments
3 comments
Hello,
Memberstack should be able to work in any frontend. no matter if is just html, js frameworks, and some site generators.
For your particular case, you can verify it will work if you can add the script import (to enable it in your site), and also, either add custom attributes to html tags and/or add custom JS code (to create custom logic). If Duda allows to implement all those things, then it's compatible with MS 🙂
Hey Rachel!
Thank you so much for this!
I’m trying to figure out where to place all the correct script stuff. I’ve tried to follow through the directions on MS website but I’m still having trouble.
I copy and pasted the code that member stack said to copy and I pasted it in the Head HTML for the entire site. And it just showed the code at the head of the site. But I’m not sure if that means it worked or what
You need to add the script to before the head tags closes. The script is found in Settings > Install code. Use the one that says Webflow (it will work for any html page)
You can find a tutorial for Duda here https://support.duda.co/hc/en-us/articles/4410652548759-How-to-Add-Code-in-the-Header
Then publish your site and go to any page. If you view page source in your browser (On a Windows machine, press Ctrl + U. On a Mac, press Command + Option + U). Look for the script you pasted, you should be able to see the script before the head tag.
And finally to make sure it's actually functioning, in the page you opened (not the page source), open the console (Option + ⌘ + J (on macOS), or Shift + CTRL + J (on Windows/Linux). In there, you can write $memberstackDom and hit enter. If you get the same result as me it means its correctly installed.
If you find any issue with the steps above mentioned send me a screenshot of what you see to better assist you
Please sign in to leave a comment.