Adds the tracking code for Gauges.