tweaking the analytics api