Skip to content

Instantly share code, notes, and snippets.

View mackenziechild's full-sized avatar
😎

Mackenzie Child mackenziechild

😎
View GitHub Profile
@mackenziechild
mackenziechild / No Code Membership Demo Mark As Complete
Last active October 10, 2020 03:11
This will add meta data to the member profile in Memberstack which allows us to hide or show the mark as complete form.
<script src="https://api.memberstack.io/static/memberstack.js?webflow" data-memberstack-id="[GET FROM MEMBERSTACK]"></script>
<script>
MemberStack.onReady.then(async function(member) {
// Checks if member is logged in
if(member.loggedIn){
const metadata = await member.getMetaData();
@mackenziechild
mackenziechild / No Code Membership Demo Hidden Fields
Created February 27, 2020 23:00
These are the hidden inputs you'll need to pass along to Zapier for the mark as complete functionality to work.
<input type="hidden" value="[PULL FROM WEBFLOW CMS]" data-name="Video Name" />
<input type="hidden" value="[PULL FROM WEBFLOW CMS]" data-name="Video ID" />
<input type="hidden" ms-data="webflow-member-id" data-name="Webflow Member ID" />