Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wvpv/a2e1bfdf1d403258ecbd to your computer and use it in GitHub Desktop.
Save wvpv/a2e1bfdf1d403258ecbd to your computer and use it in GitHub Desktop.
SFMC AMPScript Flexible Content Areas with XML Interfaces 2
%%[ set @productPos = 1 ]%%
%%=TreatAsContent(ContentAreaByName("My Contents\ProductDisplay"))=%%
%%[ set @productPos = 2 ]%%
%%=TreatAsContent(ContentAreaByName("My Contents\ProductDisplay"))=%%
%%[ set @productPos = 3 ]%%
%%=TreatAsContent(ContentAreaByName("My Contents\ProductDisplay"))=%%
<a href="%%profile_center_url%%">Profile/Preference Center</a>
<a href="%%subscription_center_url%%">Subscription Center</a>
<a href="%%unsub_center_url%%">One-Click Unsubscribe</a>
This email was sent by:
<b>%%Member_Busname%%</b>
%%Member_Addr%% %%Member_City%%, %%Member_State%%, %%Member_PostalCode%%, %%Member_Country%%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment