How to add privacy-friendly analytics to NextTS