Dynamically choose analytics tracking ID for live and staging servers.