Adding Google Analytics to the whole API