1

Based on Markus Slabina's great article I set up a send log for my Marketing Cloud. To enrich the standard send log data, I have added a snippet of AMP script to all my emails which allows me to bring in additional info such as subscriber key, email address, email name and timestamp.

%%[VAR @DataExtension, @EmailName SET @DataExtension = _DataSourceName
 SET @EmailName = emailname_ SET @SubscriberKey = _subscriberkey SET 
@EmailAddress = emailaddr Set @EventDate = Now() ]%% 

Everything works as expected when emails are sent successfully but when any of them errors the only info which seems to get logged is the ErrorCode and TriggeredSendID. Obviously, none of these two data points are recipient specific which means that I am left in the dark about which user is affected by the error.

I know that I can always check the timestamp of a record before and after to narrow down the time frame and combining it with TrigeredSendID most of the time would be enough to pin point the recipient, but I was wondering whether anyone can suggest more scalable way of going about it?

1 Answer 1

0

Based on your description and official documentation I can assume that values are not get logged into the SendLogin data extension because they don't have values at the time error occurs (or they are not counted in the internal error handling routine). Therefore, there is nothing to write into the respective fields except ErrorCode and TriggerSendID at that time. Since SendLogging is an internal feature of SFMC, its hard to say how exactly it handles exceptions. I am not sure that it is even feasible what you want with AMPscript, but you might want to check this out with Support.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .