Skip to content

Add Analytics Hooks#28

Open
angelawu236 wants to merge 1 commit into
mainfrom
angela/analytics
Open

Add Analytics Hooks#28
angelawu236 wants to merge 1 commit into
mainfrom
angela/analytics

Conversation

@angelawu236
Copy link
Copy Markdown
Collaborator

Summary

Use time tracking functions from hooks.

Code Changes

useTrackPage (page view tracking):

  • used in the page.tsx for home, about, blog, contact, and learn-more

useTimeTracker (section visibility duration):

  • title.tsx, features.tsx, previewSection in homepage
  • AboutSection.tsx
  • ValueBarItem.tsx in about

useTrackHover (hover duration tracking):

  • LearnMoreCard.tsx
  • VendorInquiries.tsx, PressInquiries.tsx, GeneralSupport.tsx, ContactScrollSection.tsx in contact

Type of Change

  • [x ] New Feature
  • Bug Fix
  • Documentation
  • Other: (Fill In)

Checklist

  • I have reviewed my own code.
  • I have removed unnecessary comments and print statements from my code.
  • I have tested my code.

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.

1 participant