I am struggling with ampscript. I am unable to use the built in dynamic content function to display the content in the email.
The scenario: I have an email which I am going to send to my master data extension. Within this email I have a content block, this specific content block (A) will be visible to the majority of my database (master list) but to a smaller group I want to display a different content clock (B). The subscribers supposed to get version B of the content block are present in a separate data extension.
The problem is that I can't create it as normal dynamic content within the email, since I don't have a attribute in either of the data extensions I can filter on. The subscribers in the DE who are supposed to get version b of the content are also in my Master DE
I have been told that I can do this using ampscript.
My thought is to use something:
%%[IF ??? == "" THEN ]%% %%=ContentBlockbyId("CONTENTB")=%%
%%[ ELSE ]%% %%=ContentBlockbyId("CONTENTA")=%%
But I am unsure how to write it exactly, and how to state that if you are in data extension B, you see version B and not version A, even though you are also in data extension A.
Any ideas/help?