added analytics to each post