only enable analytics in release mode