Skip to content

feat: integrate analytics tracking#21

Merged
Methika1234 merged 5 commits intomainfrom
init-website-sdk
Jan 29, 2026
Merged

feat: integrate analytics tracking#21
Methika1234 merged 5 commits intomainfrom
init-website-sdk

Conversation

@Methika1234
Copy link
Contributor

@Methika1234 Methika1234 commented Jan 17, 2026

  • Add analytics tracking library
  • Link local website-hook-sdk for development
  • Add interaction tracker component

Summary by CodeRabbit

  • New Features

    • Added interaction tracking integration to the application.
  • Chores

    • Updated analytics SDK dependency to version 0.0.23.

✏️ Tip: You can customize this high-level summary in your review settings.

- Add analytics tracking library
- Link local website-hook-sdk for development
- Add interaction tracker component
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 17, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Introduces the Crow SDK integration by adding a new InteractionTracker component that initializes the Crow SDK on application mount with a test project ID, alongside a dependency version bump to support the integration.

Changes

Cohort / File(s) Summary
SDK Initialization
components/interaction-tracker.tsx, app/layout.tsx
New client-side component that initializes and manages Crow SDK lifecycle via useEffect hooks; component is imported and rendered in RootLayout with null output.
Dependencies
package.json
Bumped "@b3-crow/website-hook-sdk" version from 0.0.19 to 0.0.23.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • prdai

Poem

🐰 A tracker hops into the layout with grace,
Crow SDK runs at a steady pace,
On mount it awakens, on unmount it sleeps,
The interaction data that the system keeps! 📊✨

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cloudflare-workers-and-pages
Copy link
Contributor

cloudflare-workers-and-pages bot commented Jan 17, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
crow-rogue-store-dev 59f8594 Jan 29 2026, 04:41 PM

- Replace old analytics initialization with InteractionTracker component
- Update SDK initialization to use createCrowSDK with proper cleanup
- Remove deprecated lib/analytics.ts file
- Add InteractionTracker to root layout
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove all comments and remove the project id as we will not use it in the future

@Methika1234 Methika1234 marked this pull request as ready for review January 29, 2026 16:41
@Methika1234 Methika1234 merged commit 7179eca into main Jan 29, 2026
3 of 4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants