Standardize formatting of tracking code