update analytics for iframe