Core analytic update for header and footer tracking code.