Adds  tracking code to config