Writing memberdata for embedded code

Hey! I’d like to embed a Google Drive folder that is shared between us and a user. I can add a unique reference to the users memberstack account but I’m unsure how to write this into the embedded link. The embedded link is:

<iframe src="https://drive.google.com/embeddedfolderview?id=FOLDER-ID#list" style="width:100%; height:600px; border:0;"></iframe>

Had a quick go trying to write something for this but thought you could help speed things up! Could you help with the written embed code below?

<script> 
MemberStack.onReady.then(function(member) {

var drive = member["folder-id"]

document.write("<iframe src=""https://drive.google.com/embeddedfolderview?id=" + drive +"#list" "style="width:100%; height:600px; border:0;"></iframe>");
}
</script>

Hey Charlie :wave:

Welcome, and thank you for posting in the forum! :partying_face:

Ah, that’s an interesting use-case. Unfortunately, we’ve not come across this specific implementation before and don’t have a clear idea on how to help execute it, so this is slightly out of scope for us. :frowning:

We do have Memberstack experts who might be able to work with you to dive deeper into this and help you implement a solution specific to your use-case. Would that be helpful? http://bit.ly/msfreelancer-spec

Let me know if you have other questions. :pray: