cal.com
cal.com copied to clipboard
feat: posthog app added
This PR is to add Posthog analytics in the app store
fixes: #13546
loom video: https://www.loom.com/share/a7e6dc1389c54886b9bc627440d463bb
Type of change
- New feature (non-breaking change which adds functionality)
How should this be tested?
- Add Posthog analytics application to an event type.
- Open up the event page and it should automatically track it.
Mandatory Tasks
- [x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.
@vikaspatil0021 is attempting to deploy a commit to the cal Team on Vercel.
A member of the Team first needs to authorize it.
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎
This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.
Graphite Automations
"Add community label" took an action on this PR • (04/29/24)
1 label was added to this PR based on Keith Williams's automation.
"Add consumer team as reviewer" took an action on this PR • (04/29/24)
1 reviewer was added to this PR based on Keith Williams's automation.
📦 Next.js Bundle Analysis for @calcom/web
This analysis was generated by the Next.js Bundle Analysis action. 🤖
Eighty-one Pages Changed Size
The following pages changed size from the code in this PR compared to its base branch:
Page | Size (compressed) | First Load | % of Budget (350 KB ) |
---|---|---|---|
/[user]/[type] |
411.88 KB |
640.46 KB | 182.99% (🟡 +0.14%) |
/[user]/[type]/embed |
411.88 KB |
640.46 KB | 182.99% (🟡 +0.15%) |
/apps |
278.6 KB |
507.19 KB | 144.91% (🟡 +0.33%) |
/apps/[slug] |
296.1 KB |
524.68 KB | 149.91% (🟡 +0.33%) |
/apps/[slug]/[...pages] |
586.85 KB |
815.43 KB | 232.98% (🟡 +0.35%) |
/apps/categories |
256.33 KB |
484.92 KB | 138.55% (🟡 +0.32%) |
/apps/categories/[category] |
260.68 KB |
489.26 KB | 139.79% (🟡 +0.33%) |
/apps/installed/[category] |
279.87 KB |
508.45 KB | 145.27% (🟡 +0.34%) |
/availability |
464.63 KB |
693.21 KB | 198.06% (🟡 +0.34%) |
/availability/[schedule] |
411 KB |
639.58 KB | 182.74% (🟡 +0.34%) |
/booking/[uid] |
226.17 KB |
454.75 KB | 129.93% (🟡 +0.16%) |
/booking/[uid]/embed |
226.17 KB |
454.75 KB | 129.93% (🟡 +0.16%) |
/bookings/[status] |
324.15 KB |
552.73 KB | 157.92% (🟡 +0.35%) |
/d/[link]/[slug] |
411.69 KB |
640.27 KB | 182.93% (🟡 +0.15%) |
/enterprise |
256.39 KB |
484.97 KB | 138.56% (🟡 +0.33%) |
/event-types |
556.09 KB |
784.67 KB | 224.19% (🟡 +0.35%) |
/event-types/[type] |
435.5 KB |
664.08 KB | 189.74% (🟡 +0.34%) |
/insights |
475.3 KB |
703.88 KB | 201.11% (🟡 +0.32%) |
/more |
255.9 KB |
484.48 KB | 138.42% (🟡 +0.33%) |
/org/[orgSlug]/[user]/[type] |
412.08 KB |
640.66 KB | 183.05% (🟡 +0.14%) |
/org/[orgSlug]/[user]/[type]/embed |
412.1 KB |
640.68 KB | 183.05% (🟡 +0.15%) |
/org/[orgSlug]/instant-meeting/team/[slug]/[type] |
411.7 KB |
640.29 KB | 182.94% (🟡 +0.14%) |
/org/[orgSlug]/team/[slug]/[type] |
411.9 KB |
640.48 KB | 182.99% (🟡 +0.15%) |
/payment/[uid] |
119.68 KB |
348.26 KB | 99.50% (🟡 +0.19%) |
/settings/admin |
261.98 KB |
490.56 KB | 140.16% (🟡 +0.33%) |
/settings/admin/apps |
275.11 KB |
503.7 KB | 143.91% (🟡 +0.34%) |
/settings/admin/apps/[category] |
275.09 KB |
503.68 KB | 143.91% (🟡 +0.34%) |
/settings/admin/flags |
266.09 KB |
494.67 KB | 141.34% (🟡 +0.32%) |
/settings/admin/impersonation |
262.34 KB |
490.92 KB | 140.26% (🟡 +0.33%) |
/settings/admin/lockedSMS |
283.11 KB |
511.7 KB | 146.20% (🟡 +0.32%) |
/settings/admin/oAuth |
274.14 KB |
502.72 KB | 143.64% (🟡 +0.32%) |
/settings/admin/orgMigrations/_OrgMigrationLayout |
250.49 KB |
479.08 KB | 136.88% (🟡 +0.32%) |
/settings/admin/orgMigrations/moveTeamToOrg |
300.04 KB |
528.63 KB | 151.04% (🟡 +0.33%) |
/settings/admin/orgMigrations/moveUserToOrg |
319.43 KB |
548.01 KB | 156.57% (🟡 +0.34%) |
/settings/admin/orgMigrations/removeTeamFromOrg |
299.79 KB |
528.37 KB | 150.96% (🟡 +0.34%) |
/settings/admin/orgMigrations/removeUserFromOrg |
299.8 KB |
528.39 KB | 150.97% (🟡 +0.34%) |
/settings/admin/organizations |
263.55 KB |
492.13 KB | 140.61% (🟡 +0.32%) |
/settings/admin/organizations/[id]/edit |
262.36 KB |
490.95 KB | 140.27% (🟡 +0.33%) |
/settings/admin/users |
264.23 KB |
492.81 KB | 140.80% (🟡 +0.33%) |
/settings/admin/users/[id]/edit |
392.9 KB |
621.49 KB | 177.57% (🟡 +0.34%) |
/settings/admin/users/add |
392.63 KB |
621.22 KB | 177.49% (🟡 +0.34%) |
/settings/billing |
262.08 KB |
490.67 KB | 140.19% (🟡 +0.33%) |
/settings/developer/api-keys |
266.14 KB |
494.72 KB | 141.35% (🟡 +0.32%) |
/settings/developer/webhooks |
266.22 KB |
494.8 KB | 141.37% (🟡 +0.33%) |
/settings/developer/webhooks/[id] |
267.23 KB |
495.81 KB | 141.66% (🟡 +0.33%) |
/settings/developer/webhooks/new |
267.23 KB |
495.81 KB | 141.66% (🟡 +0.33%) |
/settings/my-account/appearance |
314.94 KB |
543.52 KB | 155.29% (🟡 +0.34%) |
/settings/my-account/calendars |
272.66 KB |
501.24 KB | 143.21% (🟡 +0.33%) |
/settings/my-account/conferencing |
273.93 KB |
502.51 KB | 143.58% (🟡 +0.33%) |
/settings/my-account/general |
377.86 KB |
606.45 KB | 173.27% (🟡 +0.33%) |
/settings/my-account/out-of-office |
266.76 KB |
495.35 KB | 141.53% (🟡 +0.32%) |
/settings/my-account/profile |
405.39 KB |
633.97 KB | 181.13% (🟡 +0.33%) |
/settings/organizations/appearance |
286.04 KB |
514.63 KB | 147.04% (🟡 +0.32%) |
/settings/organizations/billing |
262.17 KB |
490.75 KB | 140.21% (🟡 +0.33%) |
/settings/organizations/dsync |
331.38 KB |
559.96 KB | 159.99% (🟡 +0.32%) |
/settings/organizations/general |
349.83 KB |
578.42 KB | 165.26% (🟡 +0.33%) |
/settings/organizations/members |
430.47 KB |
659.05 KB | 188.30% (🟡 +0.33%) |
/settings/organizations/platform/oauth-clients |
264.66 KB |
493.24 KB | 140.93% (🟡 +0.32%) |
/settings/organizations/platform/oauth-clients/create |
264.84 KB |
493.42 KB | 140.98% (🟡 +0.32%) |
/settings/organizations/privacy |
267.75 KB |
496.34 KB | 141.81% (🟡 +0.33%) |
/settings/organizations/profile |
398.16 KB |
626.74 KB | 179.07% (🟡 +0.32%) |
/settings/organizations/sso |
272.83 KB |
501.41 KB | 143.26% (🟡 +0.33%) |
/settings/organizations/teams/other |
262.74 KB |
491.32 KB | 140.38% (🟡 +0.32%) |
/settings/organizations/teams/other/[id]/appearance |
274.88 KB |
503.46 KB | 143.85% (🟡 +0.32%) |
/settings/organizations/teams/other/[id]/members |
269.83 KB |
498.41 KB | 142.40% (🟡 +0.33%) |
/settings/organizations/teams/other/[id]/profile |
468.56 KB |
697.14 KB | 199.18% (🟡 +0.33%) |
/settings/security/impersonation |
266.99 KB |
495.57 KB | 141.59% (🟡 +0.33%) |
/settings/security/password |
304.55 KB |
533.13 KB | 152.32% (🟡 +0.34%) |
/settings/security/sso |
272.16 KB |
500.74 KB | 143.07% (🟡 +0.32%) |
/settings/security/two-factor-auth |
270.42 KB |
499 KB | 142.57% (🟡 +0.33%) |
/settings/teams |
261.65 KB |
490.23 KB | 140.07% (🟡 +0.32%) |
/settings/teams/[id]/appearance |
274.86 KB |
503.45 KB | 143.84% (🟡 +0.33%) |
/settings/teams/[id]/billing |
262.17 KB |
490.75 KB | 140.21% (🟡 +0.33%) |
/settings/teams/[id]/members |
379.86 KB |
608.45 KB | 173.84% (🟡 +0.33%) |
/settings/teams/[id]/profile |
469.39 KB |
697.97 KB | 199.42% (🟡 +0.33%) |
/team/[slug]/[type] |
411.87 KB |
640.45 KB | 182.99% (🟡 +0.14%) |
/team/[slug]/[type]/embed |
411.9 KB |
640.48 KB | 182.99% (🟡 +0.15%) |
/teams |
256.12 KB |
484.71 KB | 138.49% (🟡 +0.32%) |
/upgrade |
256.25 KB |
484.83 KB | 138.52% (🟡 +0.33%) |
/workflows |
287.57 KB |
516.15 KB | 147.47% (🟡 +0.33%) |
/workflows/[workflow] |
409.99 KB |
638.58 KB | 182.45% (🟡 +0.34%) |
Details
Only the gzipped size is provided here based on an expert tip.
First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link
is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.
Any third party scripts you have added directly to your app using the <script>
tag are not accounted for in this analysis
The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/-
@joeauyeung Thanks for the review. Please check the changes
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@types/[email protected], npm/@types/[email protected], npm/[email protected], npm/[email protected]