add analytics to layout