GainsightPX 1.3.14

dotnet add package GainsightPX --version 1.3.14
                    
NuGet\Install-Package GainsightPX -Version 1.3.14
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GainsightPX" Version="1.3.14" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GainsightPX" Version="1.3.14" />
                    
Directory.Packages.props
<PackageReference Include="GainsightPX" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GainsightPX --version 1.3.14
                    
#r "nuget: GainsightPX, 1.3.14"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GainsightPX@1.3.14
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GainsightPX&version=1.3.14
                    
Install as a Cake Addin
#tool nuget:?package=GainsightPX&version=1.3.14
                    
Install as a Cake Tool

GainsightPX.NET

Gainsight.NET is a .NET / C# client for GainsightPX.

GainsightPX helps you measure your users, product, and business. It unlocks insights into your app's funnel, core business metrics, and whether you have product-market fit.

UI Platforms

There are also libraries to support UI Platforms:

How to get started

Initialize

Create an instance of the Gainsight.Client with your API key and Configuration to start sending events data.

Config config = new Config(host: "https://esp-dev.aptrinsic.com");
Gainsight.Initialize(_gainsightPxProductKey, config);

You should save the config.VisitorId for next initialization you perform to keep together all events related to that user.

Identify

Identify the user with information you know of.

Gainsight.Client.Identify(
    new User("IdentifyId") {
        Email = "user@email.com",
        FirstName = "User",
        AccountId = "account" },
    new Account("account") {
        Name = "GainsightPX",
        WebSite = "https://www.gainsight.com/"
    });
Custom Events

Send custom events with information on what happened on your app.

Gainsight.Client.Custom("Item Sold", new Dictionary<string, object> { 
    { "title", "Software" }, 
    { "name", "PX" }, 
    { "users", 9000 }, 
    { "purchased", new DateTime(2002, 7, 7, 9, 30, 50) } 
    });
Global Context

Set up information for all events regarding the state the state of your app, you user or anything else needed.

Gainsight.Client.Context = new Dict
    {
        { "boolParameter", true },
        { "lang", "EN" },
        { "num", 10 },
        { "releasedate", new DateTime(2020, 02, 02, 7, 30, 40) }
    };

Dependencies

For all versions:

  • Newtonsoft.Json - 13.0.2v
  1. For netstandard1.3:
    • System.Threading.Thread - 4.3.0v
    • System.Text.RegularExpressions - 4.3.1v
  2. For net35:
    • AsyncBridge.Net35 - 0.2.0v
    • jnm2.ReferenceAssemblies.net35 - 1.0.0v
  3. For net45:
    • System.Net.Http - 4.3.4v
    • Microsoft.NETFramework.ReferenceAssemblies - 1.0.0v
  4. For net461:
    • System.Net.Http - 4.3.4v
    • Microsoft.NETFramework.ReferenceAssemblies - 1.0.0v
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on GainsightPX:

Package Downloads
GainsightPX.WPF

UI support for engagements on Gainsight

GainsightPX.WinForms

UI support for engagements on Gainsight

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.14 309 9/18/2025
1.3.13 191 9/5/2025
1.3.11 745 7/1/2025
1.3.10 484 3/27/2025
1.3.9 243 3/19/2025