Created
December 11, 2015 18:14
-
-
Save wvpv/665bae36a57e055b9e1e to your computer and use it in GitHub Desktop.
SFMC AMPScript MicrositeBaseURL() 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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