moving analytics include to header

Signed-off-by: scottpatrickwright <scottpatrickwright@gmail.com>