add analytics to interceptor.js