Added analytics call, still working