Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PMT] - Bog Analytics Example Project - Next.js App #81

Open
9 tasks
SamratSahoo opened this issue Aug 19, 2024 · 0 comments
Open
9 tasks

[PMT] - Bog Analytics Example Project - Next.js App #81

SamratSahoo opened this issue Aug 19, 2024 · 0 comments

Comments

@SamratSahoo
Copy link
Member

SamratSahoo commented Aug 19, 2024

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

  • 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

Testing

Notes

  • Let me know if you have any questions 🐱 <3
@SamratSahoo SamratSahoo changed the title [PMT] - Bog Analytics Example Projects [PMT] - Bog Analytics Example Project - Next.js App Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant