Impact of GDPR on lead capture at trade shows

If you’re using smart badges where attendees tap exchange contact details with an exhibitor, how do you go about obtaining consent? Does anyone have any experience of this post-May 25?