Add analytcs method for google analytics in production?