add analytics
add workaround for duplicate pageview reporting
Merge pull request #86 from ngoldman/analytics

add analytics