Change where the analytics tracker gets called

BUG=
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//197873007