integrating analytics API call