I am developing a web app which has users include a javascript snippet on their site, I want to track analytics related to that widget e.g. how often did I user click a button on that widget.

Now, I could just ping back to my server, dump all that data in a Redis and synchronize that data with my sql database at regular intervals. However, I am wondering whether there is some service out there where I can simply dump events in different buckets and read from it through their API. Thanks in advance.

1 Answer 1


You can integrate with Google Analytics.

Many websites already use it, so they will have an account and your users will have to configure your snippet to use their details.

You can track specific events and then embed dashboards within other webpages or use the custom reporting api. See GA documentation for developers.

If it's relevant for you, consider using GA integration for independent software vendors, or GA Technology Partner Program


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.