Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
SFMC AMPScript MicrositeBaseURL() 3
<script type="text/javascript" runat="server">
Platform.Load("core", "1.1.1");
</script>%%[set @subscriberMID = RequestParameter("subscriberMID")]%%<script type="text/javascript" runat="server">
if (Variable.GetValue("@subscriberMID") != "") {
memberid = Variable.GetValue("@subscriberMID");
} else {
memberid = Attribute.GetValue("memberid");
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment