Skip to content

Update PostHog Version + Config#200

Merged
bryantgillespie merged 3 commits intomainfrom
connorwinston/dat-65-website
Aug 20, 2025
Merged

Update PostHog Version + Config#200
bryantgillespie merged 3 commits intomainfrom
connorwinston/dat-65-website

Conversation

@connorwinston
Copy link
Member

@connorwinston connorwinston commented Aug 20, 2025

This pull request updates the configuration and dependencies for PostHog analytics in the project. The main changes include upgrading the PostHog libraries and adjusting the client options to always include person profiles.

PostHog integration updates:

  • Upgraded posthog-js from version 1.231.3 to 1.260.1 and posthog-node from 4.10.1 to 5.7.0 in package.json to ensure compatibility with the latest features and bug fixes.
  • Added clientOptions to the PostHog configuration in nuxt.config.ts, specifically setting person_profiles to 'always' to ensure person profile data is consistently included in analytics events.

@linear
Copy link

linear bot commented Aug 20, 2025

DAT-65 Website

@netlify
Copy link

netlify bot commented Aug 20, 2025

Deploy Preview for directus-website ready!

Name Link
🔨 Latest commit 7edfa13
🔍 Latest deploy log https://app.netlify.com/projects/directus-website/deploys/68a603eea63a5900081eb283
😎 Deploy Preview https://deploy-preview-200--directus-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request updates PostHog analytics integration by upgrading the PostHog libraries to their latest versions and configuring the client to always include person profiles in analytics events.

  • Upgraded PostHog dependencies to latest versions for improved features and bug fixes
  • Added client configuration to ensure consistent person profile data collection
  • Enhanced analytics tracking capabilities through updated PostHog integration

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
package.json Updated posthog-js and posthog-node to latest versions
nuxt.config.ts Added clientOptions configuration to always include person profiles

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@connorwinston connorwinston marked this pull request as ready for review August 20, 2025 18:20
Copy link
Member

@bryantgillespie bryantgillespie left a comment

Choose a reason for hiding this comment

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

LGTM

@bryantgillespie bryantgillespie merged commit 95e3cce into main Aug 20, 2025
6 checks passed
@bryantgillespie bryantgillespie deleted the connorwinston/dat-65-website branch August 20, 2025 18:52
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

Comments