VOOZH about

URL: https://www.nuget.org/packages/Insightdive/

⇱ NuGet Gallery | Insightdive 1.4.0




Insightdive 1.4.0

dotnet add package Insightdive --version 1.4.0
 
 
NuGet\Install-Package Insightdive -Version 1.4.0
 
 
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="Insightdive" Version="1.4.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Insightdive" Version="1.4.0" />
 
Directory.Packages.props
<PackageReference Include="Insightdive" />
 
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 Insightdive --version 1.4.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Insightdive, 1.4.0"
 
 
#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 Insightdive@1.4.0
 
 
#: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=Insightdive&version=1.4.0
 
Install as a Cake Addin
#tool nuget:?package=Insightdive&version=1.4.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Insightdive .NET / Avalonia SDK

Official .NET SDK for Insightdive — anonymous in-app feedback surveys.

Installation

dotnet add package Insightdive

Quick start (Avalonia)

// App.axaml.cs — configure once at startup
InsightdiveSDK.Configure(new InsightdiveOptions
{
 Tenant = "acme",
 Survey = "nps-q1",
 ApiKey = "your-api-key",
 ProductVersion = Assembly.GetEntryAssembly()?.GetName().Version?.ToString(),
 ProductIdentifier = "desktop",
 Locale = CultureInfo.CurrentCulture.Name,
 Theme = "light",
});

// Any Window — show as a modal dialog
if (await InsightdiveSDK.Instance.IsAvailableAsync())
{
 var result = await InsightdiveSDK.Instance.ShowAsync(this); // 'this' = Avalonia Window
 if (result?.Status == FeedbackStatus.Completed)
 Console.WriteLine($"Submitted: {result.SubmissionId}");
}

Event-based triggering

// Show only when a specific SDK event fires
if (await InsightdiveSDK.Instance.TriggerAsync("onboarding_completed"))
 await InsightdiveSDK.Instance.ShowAsync(this);

Lifecycle events

InsightdiveSDK.Instance.FeedbackEventOccurred += (_, e) =>
{
 switch (e)
 {
 case FeedbackViewedEvent v: Console.WriteLine($"Viewed session={v.SessionId}"); break;
 case FeedbackCompletedEvent c: Console.WriteLine($"Done sub={c.SubmissionId}"); break;
 case FeedbackDismissedEvent d: Console.WriteLine($"Closed after={d.Result.Duration}"); break;
 }
};

Inline view

// Embed the survey directly in your layout instead of a modal
using Insightdive.Avalonia_;

var opts = InsightdiveSDK.Instance.Options;
var token = await InsightdiveSDK.Instance.FetchEmbedTokenAsync();
var url = UrlBuilder.SurveyUrl(opts, token);
var survey = new InsightdiveSurveyControl(InsightdiveSDK.Instance, url);
survey.EventOccurred += (_, e) => { /* handle events */ };
myPanel.Children.Add(survey);

Pure .NET (no UI)

The netstandard2.0 target exposes the status-checking API without any UI dependency:

InsightdiveSDK.Configure(new InsightdiveOptions
{
 Tenant = "acme",
 Survey = "nps-q1",
 ApiKey = "your-api-key",
});

bool available = await InsightdiveSDK.Instance.IsAvailableAsync();
bool match = await InsightdiveSDK.Instance.TriggerAsync("app_launched");

Screenshot capture

When an insight has screenshot collection enabled (Admin → Insight → Settings → Delivery), ShowAsync(ownerWindow) renders the owner window to a PNG just before the modal opens and attaches it to the response. The screenshot is of the UI — never the user.

  • No setup required beyond the existing ShowAsync(this) call — the net8.0 Avalonia target captures the owner window automatically.
  • The flag is read from the status endpoint, so call IsAvailableAsync() / TriggerAsync() before ShowAsync().
  • Capture is best-effort and size-capped; failures are swallowed and the survey still opens.
  • Only available on the net8.0 Avalonia target (the netstandard2.0 status-only target has no UI to capture).

Supported targets

Target framework Notes
net8.0 Full Avalonia UI (modal + inline WebView + screenshot capture)
netstandard2.0 Status-check API only, no UI

Operator context fields

Stamp arbitrary application context on every submission — plan tier, feature flags, active surface, A/B cohort — without collecting any user identity. The admin can filter, segment, and run AI analysis per context dimension.

InsightdiveSDK.Configure(new InsightdiveOptions
{
 Tenant = "acme",
 Survey = "nps-q1",
 ApiKey = "ik_abc123...",
 Context = new Dictionary<string, object>
 {
 ["plan"] = "enterprise",
 ["trial_days_remaining"] = 12,
 ["feature_export_v2"] = true,
 ["surface"] = "settings",
 },
});

Constraints (enforced server-side; invalid entries are silently dropped):

  • Max 20 keys per dictionary
  • Key format: [a-z0-9_], max 64 characters
  • Values: string, numeric (int, long, double), or bool — no nested objects
  • String values: max 255 characters
  • Total JSON payload: max 4 KB

Context values are visible in Admin → Responses (detail view) and included in CSV exports as context.<key> columns.


Respondent token

Let the operator correlate responses with their own user records — without ever exposing a user identity to Insightdive. Compute an opaque hash server-side and pass it as RespondentToken:

using System.Security.Cryptography;
using System.Text;

static string ComputeToken(string userId, string workspaceSalt)
{
 var data = Encoding.UTF8.GetBytes(userId + workspaceSalt);
 var hash = SHA256.HashData(data);
 return Convert.ToHexString(hash).ToLowerInvariant();
}

InsightdiveSDK.Configure(new InsightdiveOptions
{
 Tenant = "acme",
 Survey = "nps-q1",
 ApiKey = "ik_abc123...",
 RespondentToken = ComputeToken(currentUser.Id, "my-secret-salt"),
});

What Insightdive stores: the hash only — no ability to reverse it to a user.
What the operator can do: compute the same hash from their own database and look up all responses for that hash in Admin → Responses.
GDPR note: Insightdive is a processor with no identification capability. The operator (controller) owns the correlation.

Tip: rotate workspaceSalt if you want to "forget" historical correlations without deleting data.

Constraints: max 128 characters, characters [a-zA-Z0-9-_] only.


Options reference

Property Required Description
Tenant Yes Workspace slug (e.g. "acme")
Survey Yes Survey slug (e.g. "nps-q1")
ApiKey Yes Tenant API key from admin settings
BaseUrl No Override for self-hosted / staging
ProductVersion No Semver string forwarded to targeting rules
ProductIdentifier No Surface identifier forwarded to targeting rules
Locale No BCP 47 locale (e.g. "fr-CA")
Theme No "light" or "dark"
Scale No Content zoom factor (CSS zoom), clamped to [0.5, 2.0]. Default 1.0. Shrinks/enlarges the survey content so it fits your WebView instead of being clipped. Applies to both ShowAsync and the inline InsightdiveSurveyControl.
WindowWidth No Modal width in DIPs (ShowAsync only). Default 480.
WindowHeight No Modal height in DIPs (ShowAsync only). Default 680.
AllowResize No Whether the user can resize the modal window (ShowAsync only). Default false.
Context No Dictionary<string, object> of operator metadata stamped on submissions. See Operator context fields.
RespondentToken No Opaque hash for operator-side cross-referencing. See Respondent token.
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 netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 was computed. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.0 36 6/17/2026
1.3.0 86 6/10/2026
1.2.9 95 6/3/2026
1.2.8 89 6/3/2026
1.2.7 105 6/3/2026
1.2.6 96 6/3/2026
1.2.5 90 6/3/2026
1.2.4 101 6/3/2026
1.2.3 93 6/3/2026
1.2.2 97 6/3/2026
1.2.1 97 6/3/2026
1.2.0 96 5/26/2026
1.1.0 98 5/25/2026
1.0.0 94 5/21/2026