add analytics module and example