add google analytics to view layout