add analytics code
add analytics service