added analytics snippet
Merge pull request #794 from waterbearlang/705_add_analytics

added analytics snippet
resolve merge conflict in generated files
add planning doc