I am hoping to get some help from you guys. We have a Scenario that we wan to send different content to people who attended our Web_Event. In this case, we have Event A, Event B, and Event C. For some reason that we have three data extensions for all the information. First Data extension (Send) contents Subscriber key, first name, and email address. The second one (Event) contains Event ID, Email address, and First name, Third one (Event detail) contains Event ID and Event Name. The issue we are facing is, we tried to show different content based on which event they attended, but for people that attended two or more events, we will send them combined content( Fro example, if a person watched Event A, show (1), Event B, show (2), or Event A and B, show 1 and 2.)
Here is the code we have but we are not able to combine IF statements, if there any other ways to do this?
%%[ var @Subkey, @EmailAddress, @FirstName, @Event_ID, @Event_Name Set @Subkey = Subscriberkey Set @EmailAddress = EmailAddress Set @FirstName = FirstName Set @Event_ID = Lookup('event','Event_ID','Email_address',@EmailAddress) Set @Event_name = Lookup('Event detail', 'Event_Name', 'Event_ID', @Event_ID) ]%% Hello %%= v(@FirstName)=%%<br> Thansk for watching %%= v(@Event_Name)=%%<br> Here are more content you might be interested in<br> %%[IF @Event_ID == '12345' THEN ]%% THANKS FOR WATCHING WEBINAR A %%[ELSEIF @Event_ID == '54321' THEN ]%% THANKS FOR WATCHING WEBINAR B %%[ELSE]%% THANKS FOR WATCHING WEBINAR C Thank you %%[ENDIF]%%