new analytics js code