Add script to migrate google analytics code from legacy