feat(caramel-app): PostHog analytics + favicon redesign#112
Open
AminDhouib wants to merge 2 commits into
Open
Conversation
- Add posthog-js and wire PostHogProvider in providers.tsx. No-op unless NEXT_PUBLIC_POSTHOG_KEY is set (safe for local/preview). Existing GA (gtag) and Hotjar are untouched. - Redesign favicon: full-bleed rounded transparent tile (was a padded/soft rounded .ico). Crisp multi-res favicon.ico + scalable icon.svg + apple-touch-icon, wired in layout metadata. - Add favicon-redesign/ (OLD vs NEW assets + COMPARISON.md). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Dokploy Preview Deployment
|
Resolve conflicts keeping both sides: - package.json: take dev's dependency pins/bumps, add posthog-js - pnpm-lock.yaml: regenerate to include posthog-js PostHog analytics + GA + favicon redesign preserved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
apps/caramel-appviaposthog-js+PostHogProviderinproviders.tsx. It is a no-op unlessNEXT_PUBLIC_POSTHOG_KEYis set, so preview/local builds are unaffected. Existing GA (gtag) and Hotjar are untouched.favicon.icowas a padded/soft rounded tile (mark too small at tab sizes). Replaced with a full-bleed rounded tile with transparent corners, regenerated crisp from vector: multi-resfavicon.ico+ scalableicon.svg+apple-touch-icon.png, wired inlayout.tsxmetadata. Before/after assets + writeup infavicon-redesign/.Env to set in Dokploy (dev + prod)
NEXT_PUBLIC_POSTHOG_KEY= (Caramel PostHog project key)NEXT_PUBLIC_POSTHOG_HOST=https://posthog.devino.caNEXT_PUBLIC_GOOGLE_ANALYTICS_ID=G-2SF4DZSBLR(already receiving traffic)Test plan
🤖 Generated with Claude Code