Have a cause? Socialize Your Cause exists to help educate nonprofit and charity orgs on how to leverage the power of the social web to further their cause.
๐จ The DynamoDB Book is now available ๐จ
Learn how to use one of the fastest growing databases around.
450 pages of tips, strategies, and more.
https://t.co/Tg6JJ18JNF
How does analytics library abstraction work?
1. User activity triggers analytics.track()
2. Events run through plugins
3. Data is validated, redacted, enriched, or even cancelled
4. Data is then sent to your own backend or any third party provider โจ
https://t.co/QMk4pIUEEa
๐ Analytics is designed to work with any third party analytics tool via plugins.
Plugins are just plain javascript objects that expose methods for analytics to register and call.
This is the signature of a typical analytics provider plugin:
https://t.co/rop0IOGuWw
The analytics library comes with a large variety of event listeners ๐
`analytics.on` & `analytics.once` can be used to fire custom functionality when a specific lifecycle event occurs.
๐ Examples in the docs:
https://t.co/qTxol3c58t
A huge focus of the `analytics` package is an improved developer experience ๐
Adding `debug: true` will enable time travel debugging for all analytic events flowing through your app.
This makes troubleshooting & app telemetry easy ๐
https://t.co/Xxl7gwEc9k
Identifying a new user with `analytics`
All tracking is fully customization via plugins ๐
For example, you can allow visitors to opt out of analytics completely and all tracking will noOp.
See the "Do Not Track" plugin for an example of this:
https://t.co/q3fwneY9Xp