add analytics code
Merge pull request #4 from derwolfe/analytics

add analytics code