![]() |
VOOZH | about |
dotnet add package PostHog --version 2.0.1
NuGet\Install-Package PostHog -Version 2.0.1
<PackageReference Include="PostHog" Version="2.0.1" />
<PackageVersion Include="PostHog" Version="2.0.1" />Directory.Packages.props
<PackageReference Include="PostHog" />Project file
paket add PostHog --version 2.0.1
#r "nuget: PostHog, 2.0.1"
#:package PostHog@2.0.1
#addin nuget:?package=PostHog&version=2.0.1Install as a Cake Addin
#tool nuget:?package=PostHog&version=2.0.1Install as a Cake Tool
This is a client SDK for the PostHog API written in C#. This is the core implementation of PostHog.
This package is currently in a pre-release stage. We're making it available publicly to solicit feedback. While we always strive to maintain a high level of quality, use this package at your own risk. There will be many breaking changes until we reach a stable release.
The goal of this package is to be usable in multiple .NET environments. At this moment, we are far short of that goal. We only support ASP.NET Core via .
More detailed docs for using this library can be found at PostHog Docs for the .NET Client SDK.
To use this package, you need to create an instance of PostHogClient and call the appropriate methods. Here's an example:
using PostHog;
var client = new PostHogClient(new PostHogOptions { ProjectApiKey = "YOUR_PROJECT_API_KEY" });
client.Capture("user-123", "Test Event");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 netstandard2.1 is compatible. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 2 NuGet packages that depend on PostHog:
| Package | Downloads |
|---|---|
|
PostHog.AspNetCore
Package Description |
|
|
PostHog.AI
AI Observability for .NET applications using PostHog. Intercepts and traces OpenAI and Azure OpenAI requests. |
Showing the top 1 popular GitHub repositories that depend on PostHog:
| Repository | Stars |
|---|---|
|
Ivy-Interactive/Ivy-Tendril
Agent agnostic coding orchestration
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.8.1 | 1,835 | 6/22/2026 |
| 2.8.0 | 1,362 | 6/22/2026 |
| 2.7.1 | 62,193 | 5/11/2026 |
| 2.7.0 | 2,389 | 5/7/2026 |
| 2.6.2 | 28,456 | 5/6/2026 |
| 2.6.1 | 2,521 | 5/5/2026 |
| 2.6.0 | 5,887 | 5/1/2026 |
| 2.5.0 | 44,341 | 4/23/2026 |
| 2.4.3 | 11,424 | 4/21/2026 |
| 2.4.2 | 232 | 4/21/2026 |
| 2.4.1 | 55,147 | 3/19/2026 |
| 2.4.0 | 40,798 | 3/5/2026 |
| 2.3.2 | 9,625 | 2/27/2026 |
| 2.3.1 | 237 | 2/27/2026 |
| 2.3.0 | 4,191 | 2/26/2026 |
| 2.2.2 | 223,281 | 11/21/2025 |
| 2.2.1 | 62,898 | 10/22/2025 |
| 2.2.0 | 3,964 | 10/17/2025 |
| 2.1.0 | 3,735 | 10/14/2025 |
| 2.0.1 | 26,443 | 9/28/2025 |