move analytics into an include