upgraded analytics plugin