add function to parse analytic content