Added html safe to tracking code