adds analytics for related posts section