A small wrapper around analytics APIs