change embed analytic tracking to events