feat: posthog version upgrade and added trackings (#24401)
* posthog version upgrade and calai banner tracking * disable posthog for EU * bunch more posthog tracking * Revert yarn.lock changes * add posthog package yarn changes * fix: add missing posthog import and fix lint warning in MemberInvitationModal Co-Authored-By: [email protected] <[email protected]> * fix: type check * cubic fixes * refactor * remove ui playground --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
42 files changed
+570
-271
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { useSession } from "next-auth/react";
|
||||
import { useState, useEffect } from "react";
|
||||
import { useForm } from "react-hook-form";
|
||||
import posthog from "posthog-js";
|
||||
|
||||
import { checkAdminOrOwner } from "@calcom/features/auth/lib/checkAdminOrOwner";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
@@ -171,6 +172,7 @@ export function SaveFilterSegmentButton() {
|
||||
<Button
|
||||
StartIcon="bookmark"
|
||||
color="secondary"
|
||||
onClick={() => posthog.capture("insights_routing_save_filter_clicked")}
|
||||
disabled={!canSaveSegment}
|
||||
data-testid="save-filter-segment-button">
|
||||
{t("save")}
|
||||
|
||||
Reference in new issue
Block a user