putting the analytics in the head