You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to show examples of how to use bog analytics API + npm package in different scenarios so it is easier for developers at bog to leverage bog analytics
Acceptance Criteria
Ask Samrat for the API keys for the Bits of Good Example project to use with the bog-analytics package
Create an example of using the npm package to log events client-side in a sample nextjs app (examples/next-app)
Create a few buttons to log click events
Create an input to log input events
Log a visit event when the web app is loaded
Create a dropdown to switch environments
You can do all of the logging through the analytics-logger module
Add a README for each example explaining how it works and the primary components of it (i.e., what each file does and/or which file to pay attention to)
In the main bog-analytics README, briefly mention the examples projects and what each one does
Overview
We want to show examples of how to use bog analytics API + npm package in different scenarios so it is easier for developers at bog to leverage bog analytics
Acceptance Criteria
examples/next-app
)analytics-logger
moduleTesting
Notes
The text was updated successfully, but these errors were encountered: