adding google analytics to api app