update base template analytics