GA Shim is an open source shim library that intercepts Classic Google Analytics (ga.js) API calls, and call the appropriate API in the new Google Universal Analytics (analytics.js).