Adding event tracking script