Skip to content

Commit c4a02de

Browse files
authored
Merge branch 'main' into feat/dashboards-feature
2 parents 7d3520c + 4395b28 commit c4a02de

3 files changed

Lines changed: 328 additions & 4 deletions

File tree

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"ngx-stripe": "^19.0.0",
6060
"pluralize": "^8.0.0",
6161
"postgres-interval": "^4.0.2",
62+
"posthog-js": "^1.341.0",
6263
"private-ip": "^3.0.2",
6364
"puppeteer": "^24.29.1",
6465
"rxjs": "^7.4.0",

frontend/src/main.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { provideCharts, withDefaultRegisterables } from 'ng2-charts';
1616
import { CookieService } from 'ngx-cookie-service';
1717
import { MarkdownModule, provideMarkdown } from 'ngx-markdown';
1818
import { NgxStripeModule } from 'ngx-stripe';
19+
import posthog from 'posthog-js';
1920
import { AppComponent } from './app/app.component';
2021
import { AppRoutingModule } from './app/app-routing.module';
2122
import { ConfigModule } from './app/modules/config.module';
@@ -83,6 +84,11 @@ if ((environment as any).saas) {
8384
});
8485
}
8586

87+
posthog.init('phc_VPnWHIMj9UjhRLPr7shATjgL0J4KrWWOHkK3JwZbnkw', {
88+
api_host: 'https://us.i.posthog.com',
89+
defaults: '2025-11-30',
90+
});
91+
8692
bootstrapApplication(AppComponent, {
8793
providers: [
8894
importProvidersFrom(

0 commit comments

Comments
 (0)