Add script to migrate google analytics code from legacy

Effort points: 2