Skip to content

Install Novus#3

Open
lci-novus-dev[bot] wants to merge 2 commits into
mainfrom
novus/install-pendo-sdk
Open

Install Novus#3
lci-novus-dev[bot] wants to merge 2 commits into
mainfrom
novus/install-pendo-sdk

Conversation

@lci-novus-dev

@lci-novus-dev lci-novus-dev Bot commented Jun 2, 2026

Copy link
Copy Markdown

Summary

  • Added the Pendo install script to app/layout.tsx via next/script with strategy="beforeInteractive" and API key 8b882435-b83e-4e34-977e-d5c30bbaf603
  • Created app/PendoInitializer.tsx — a client component that calls pendo.initialize({ visitor: { id: '' } }) once on mount, allowing the SDK to resolve visitor identity from cookies/localStorage or fall back to anonymous
  • Added global.d.ts with a typed Pendo interface covering initialize, identify, updateOptions, track, pageLoad, and clearSession

Notes

  • No sign-in handler found: This codebase has no authentication flow. When auth is added, call pendo.identify({ visitor: { id: user.id, email: user.email, full_name: user.name } }) in the sign-in callback.
  • No sign-out handler found: When a logout flow is added, call pendo.clearSession() to reset to an anonymous visitor.
  • No visitor/account metadata available: The pendo.identify() call should be updated with visitor and account fields once authentication and user metadata are available.

Test plan

  • Verify the app builds without TypeScript errors
  • Confirm the Pendo agent script loads in the browser (check Network tab for pendo.js)
  • Confirm pendo.initialize() is called once on page load (check console or Pendo debugger)

tolson and others added 2 commits June 1, 2026 22:11
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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