Since the Google Analytics tracking code is a snippet of JavaScript, it also works with different libraries. Since 2009, these libraries have changed 4 times:
- urchin.js (before 2009)
- ga.js (before 2013)
- analytics.js (since 2013)
- gtag.js (since 2017)
More details can be found on developers.google.com