Soenneker.Instantly.Analytics 4.0.1623

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Instantly.Analytics --version 4.0.1623
                    
NuGet\Install-Package Soenneker.Instantly.Analytics -Version 4.0.1623
                    
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="Soenneker.Instantly.Analytics" Version="4.0.1623" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Instantly.Analytics" Version="4.0.1623" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Instantly.Analytics" />
                    
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 Soenneker.Instantly.Analytics --version 4.0.1623
                    
#r "nuget: Soenneker.Instantly.Analytics, 4.0.1623"
                    
#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 Soenneker.Instantly.Analytics@4.0.1623
                    
#: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=Soenneker.Instantly.Analytics&version=4.0.1623
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Instantly.Analytics&version=4.0.1623
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Instantly.Analytics

Retrieve campaign metrics for one campaign or the entire Instantly workspace, plus a campaign overview.

Install

dotnet add package Soenneker.Instantly.Analytics

Configure and register

{
  "Instantly": {
    "ApiKey": "<API key>"
  }
}
using Soenneker.Instantly.Analytics.Registrars;

services.AddInstantlyAnalyticsUtilAsScoped();

The scoped analytics service deliberately uses the singleton generated-client provider. Use AddInstantlyAnalyticsUtilAsSingleton() when the operation layer should also live for the application lifetime.

Campaign metrics

using Soenneker.Instantly.Analytics.Abstract;
using Soenneker.Instantly.OpenApiClient.Models;

GetCampaignAnalytics200ResponseSchemaItem? metrics =
    await analytics.GetCampaignCount(
        campaignId,
        startAt: new DateTimeOffset(2026, 8, 1, 0, 0, 0, TimeSpan.Zero),
        endAt: new DateTimeOffset(2026, 8, 31, 0, 0, 0, TimeSpan.Zero),
        cancellationToken: cancellationToken);

Dates are sent as yyyy-MM-dd. GetCampaignCount returns the first analytics row for the requested campaign, or null when the API returns no rows.

All campaign metrics

List<GetCampaignAnalytics200ResponseSchemaItem>? metrics =
    await analytics.GetCampaignsCounts(
        startAt,
        endAt,
        cancellationToken);

Omit endAt to let Instantly use its current-date behavior.

Campaign overview

GetCampaignAnalyticsOverview200Response? overview =
    await analytics.GetCampaignSummary(
        campaignId,
        cancellationToken);

API and deserialization failures are surfaced to the caller; nullable results indicate that Instantly returned no response body or no analytics row.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Instantly.Analytics:

Package Downloads
Soenneker.Instantly.Suite

Registers Instantly account, analytics, DFY, lead, Unibox, and email-verification operations together

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.1648 0 9/24/2026
4.0.1647 41 9/23/2026
4.0.1646 99 9/22/2026
4.0.1645 126 9/20/2026
4.0.1644 114 9/19/2026
4.0.1643 103 9/18/2026
4.0.1642 110 9/17/2026
4.0.1641 119 9/16/2026
4.0.1640 101 9/16/2026
4.0.1639 107 9/16/2026
4.0.1638 88 9/16/2026
4.0.1637 87 9/16/2026
4.0.1636 135 9/15/2026
4.0.1635 129 9/13/2026
4.0.1634 99 9/13/2026
4.0.1633 131 9/13/2026
4.0.1632 106 9/12/2026
4.0.1631 127 9/12/2026
4.0.1630 103 9/12/2026
4.0.1623 159 9/9/2026
Loading failed

Update dependency Soenneker.Instantly.ClientUtil to 4.0.644 (#2158)