adds new tracking/analytics code to base.html