DeduceIngest 1.0.0
See the version list below for details.
dotnet add package DeduceIngest --version 1.0.0
NuGet\Install-Package DeduceIngest -Version 1.0.0
<PackageReference Include="DeduceIngest" Version="1.0.0" />
paket add DeduceIngest --version 1.0.0
#r "nuget: DeduceIngest, 1.0.0"
// Install DeduceIngest as a Cake Addin #addin nuget:?package=DeduceIngest&version=1.0.0 // Install DeduceIngest as a Cake Tool #tool nuget:?package=DeduceIngest&version=1.0.0
Deduce Ingest
Deduce's data ingestion
Installation
use NuGet to search for DeduceIngest or install using NuGet commandline:
nuget install DeduceIngest
source for the library can be found on github
Usage
Configuration
Deduce Ingest requires a Site ID and apikey, provided by Deduce. If you have not been given one, please contact Deduce for more information.
.NET
using System.Json;
using Deduce;
Ingest dd = new Ingest("site id", "api key", true /* use for testmode */);
Sending Data to Deduce
Within your view, include the Javascript collection code. Generate it using "html":
String html = dd.html("user@example.com");
You may include options if you need to override any of the configuration options.
String html = dd.Html("user@example.com", use_ssl: true);
Sending Events to Deduce
Within your controller, use "Event" to notify Deduce of events.
JsonObject addtl = new JsonObject();
addtl.Add("name", User.name);
addtl.Add("phone", User.phone);
string err = dd.Event("a@a.com", "12.12.12.1", "login", additional: addtl, testmode: true);
if (err.Length > 0) {
Console.WriteLine("error: {0}", err);
} else {
Console.WriteLine("success");
}
Best Practices
Only pass information that you have already verified to be valid.
Work closely with your Deduce support representative.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- System.Json (>= 4.6.0)
- System.Text.RegularExpressions (>= 4.3.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.