%%[ var @email, @CCID, @SubmitDate, @Brand, @sendId, @q3_agerange SET @CCID = RequestParameter("CCID") SET @email = RequestParameter("email") SET @SubmitDate = now() SET @sendId = RequestParameter("SendId") SET @Brand = "Carnation" SET @q3_agerange = RequestParameter("q3_agerange") UpsertData("NUK1912743_Carnation_Christmas2023_Submissions",1,"CCID", @CCID,"email", @email, "Brand", @Brand,"SubmitDate", @SubmitDate, "sendId", @sendId, "q3_agerange", @q3_agerange) SET @firstDate = Lookup("NUK1912743_Carnation_Christmas2023_Submissions", "first_date", "CCID", "@CCID") IF NOT EMPTY(@firstDate) THEN SET @DATE_1 = DateParse(@firstDate) ENDIF SET @DATE_2 = DateParse("2023-10-19") IF @DATE_1 > @DATE_2 THEN SET @RESULT = "a" ELSE SET @RESULT = "b" ENDIF ]%%
Carnation logo
 
%%[ IF @RESULT=='a' THEN ]%%

Thank you for sharing your favourite bakes with us!



Carnation - The Recipe e-Book

Click here for your exclusive Christmas gift!

Don't forget your additional exclusive Christmas recipe too!

%%[ ELSE ]%%

Thank you for sharing your favourite bakes with us!



Carnation - 12 Days of Christmas Fudge

Click here for your exclusive Christmas gift!

Don't forget your additional exclusive Christmas recipe too!

%%[ ENDIF ]%%