Fix tracking code in profiles