Lambda-based tracking code support