changes google and chartbeat analytics code over to the new shared code with npr