Adding analytics call