adding analytics - seems to be broken