adding analytics code
Merge branch 'staging'