add api tracking to cdb