Skip to content

Install Novus#39

Open
novus-by-dhruv[bot] wants to merge 1 commit into
masterfrom
novus-installation-4nd15
Open

Install Novus#39
novus-by-dhruv[bot] wants to merge 1 commit into
masterfrom
novus-installation-4nd15

Conversation

@novus-by-dhruv

Copy link
Copy Markdown

Summary

Install the Novus by Pendo SDK into the CourseHive Angular application. The SDK is loaded via a script tag in index.html, initialized anonymously on app load, and then identifies visitors with their full profile metadata after login, sign-up, or auto-login via Firebase auth.

Changes

  • Added Pendo install script tag to the section of src/index.html with API key 0d5595d3-51ae-485c-a8a6-1d154c256718
  • Added anonymous pendo.initialize() call in AppComponent.ngOnInit (src/app/app.component.ts) to start tracking on app load
  • Added pendo.identify() call after successful login in LoginComponent.Login() with full visitor metadata (fId, name, rollNo, karmaPoints, phone, myNewNotificationNumber)
  • Added pendo.identify() call after successful sign-up in LoginComponent.signUpUsingEmailAndPassword() with new profile data
  • Added pendo.identify() call in LoginComponent.ngOnInit() auto-login flow for returning authenticated users
  • Added 'declare var pendo: any' TypeScript declarations in app.component.ts and login.component.ts

Notes

  • No account metadata is included as this is a B2C application (student platform) with no multi-tenant account structure
  • The visitor.id is mapped to the Firebase UID (fId) which is the unique identifier for each user
  • All six visitor metadata fields from the analysis are included: fId (as id), name (as full_name), rollNo, karmaPoints, phone, myNewNotificationNumber

Generated by Novus.

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.

0 participants