Add analytics lib based on Plex code.
Iterating analytics tracking.