Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

release-app ph install

Louis Beaumont242cfc27c79c
diff --git a/screenpipe-app-tauri/components/pipe-store/pipe-card.tsx b/screenpipe-app-tauri/components/pipe-store/pipe-card.tsx
index 8d9f76f3d..411ebf09e 100644
--- a/screenpipe-app-tauri/components/pipe-store/pipe-card.tsx
+++ b/screenpipe-app-tauri/components/pipe-store/pipe-card.tsx
@@ -14,6 +14,7 @@ import { PipeWithStatus } from "./types";
import { invoke } from "@tauri-apps/api/core";
import { toast } from "@/components/ui/use-toast";
import { motion } from "framer-motion";
+import posthog from "posthog-js";
interface PipeCardProps {
pipe: PipeWithStatus;
@@ -120,9 +121,15 @@ export const PipeCard: React.FC<PipeCardProps> = ({
if (pipe.is_paid && !pipe.has_purchased) {
setIsLoading(true);
onPurchase(pipe, () => setIsLoading(false));
+ posthog.capture("pipe_purchase", {
+ pipe_id: pipe.id,
+ });
} else {
setIsLoading(true);
onInstall(pipe, () => setIsLoading(false));
+ posthog.capture("pipe_install", {
+ pipe_id: pipe.id,
+ });
}
}}
className="font-medium no-card-hover"
diff --git a/screenpipe-app-tauri/components/settings/account-section.tsx b/screenpipe-app-tauri/components/settings/account-section.tsx
index 72d0b8e83..98205e426 100644
--- a/screenpipe-app-tauri/components/settings/account-section.tsx
+++ b/screenpipe-app-tauri/components/settings/account-section.tsx
@@ -338,6 +338,7 @@ export function AccountSection() {
features={plan.features}
onSelect={async () => {
if (plan.title.toLowerCase() === "enterprise") {
+ posthog.capture("enterprise_plan_selected");
openUrl(plan.url);
return;
}
@@ -351,6 +352,7 @@ export function AccountSection() {
return;
}
if (!settings.user?.cloud_subscribed) {
+ posthog.capture("cloud_plan_selected");
openUrl(plan.url);
}
}}
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index d3aa65015..ed704be9e 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.29.3"
+version = "0.29.4"
description = ""
authors = ["you"]
license = ""