We have 6 different blocks of code (that we are putting into personalization blocks) that a recipient could receive. How would I code an if/else statement for these (including the 1 generic version = else?). Would it be something like below?
<% if ( targetData.segmentCode == "A" ) { %>
<%@ include view='A' %>
<% if ( targetData.segmentCode == "B" ) { %>
<%@ include view='B' %>
<% } else { %>
<%@ include view='C' %>
<% } %>