Abstraction for an SPA's Analytics Library