adds new tracking/analytics code to layout.html