Skip to main content

TrackingService

A list of all methods in the TrackingService service. Click on the method name to view detailed information about that method.

MethodsDescription
CartRegisterCartAsyncRegister an update to a specific cart for a given contact. Should be the latest update of the cart. Request model: - CartReference: Unique identifier of the cart. Links the update to a specific cart. Ex: "006788ba-9f65-49c6-b3a0-2315d1854728" - Time: Time of the cart update. ISO8601 with Time Zone Designators. Ex: "2021-09-22T11:00:00+02:00" - ContactId: Contact id of the cart owner. GUID or short GUID. Ex: "ae16a9b4-f581-4568-8948-a96100b2afd4" - Language: Culture code of the cart. A corresponding product feed should be configured. Ex: "sv-SE" - Url: Url to the cart. Ex: "https://www.store.se/cart?id=006788ba-9f65-49c6-b3a0-2315d1854728" - Items: Collection of cart items. Ex: [{"Sku":"90183744","Quantity":1},{"Sku":"90156607","Quantity":1}]
CartRegisterCartsAsyncRegister a batch of cart updates. Cart updates are processed according to update time. If multiple cart updates are registered with the same identifier only the latest update (according to update time) is considered. Request model: - CartReference: Unique identifier of the cart. Links the update to a specific cart. Ex: "006788ba-9f65-49c6-b3a0-2315d1854728" - Time: Time of the cart update. ISO8601 with Time Zone Designators. Ex: "2021-09-22T11:00:00+02:00" - ContactId: Contact id of the cart owner. GUID or short GUID. Ex: "ae16a9b4-f581-4568-8948-a96100b2afd4" - Language: Culture code of the cart. A corresponding product feed should be configured. Ex: "sv-SE" - Url: Url to the cart. Ex: "https://www.store.se/cart?id=006788ba-9f65-49c6-b3a0-2315d1854728" - Items: Collection of cart items. Ex: [{"Sku":"90183744","Quantity":1},{"Sku":"90156607","Quantity":1}]
ProductViewVRegisterProductViewAsyncRegister a view of a specific product for a given contact. Request model: - ItemId: Unique SKU/Article Id/Item Id of the viewed product. Will be matched against SKU on the imported articles in Voyado. Ex: "123XYZ" - Category: Category of the product on the website. Will be used for filtering. Ex: "novels > cormac mccarthy > the road" - Time: Time of the product view. ISO8601 with Time Zone Designators. Ex: "2021-09-22T11:00:00+02:00". - ContactId: Contact id of the viewer. GUID or short GUID. Ex: "FF9FD9AF-6778-4714-B0FE-F6E6612840C8" - SessionId: Unique identifier of the session. Ex: "3b7e493b-5dfe-4b98-b6cf-049f2ea4309d" - NewSession: Boolean value that indicates that new session. - Language: Culture code of the cart. A corresponding product feed should be configured. Ex: "sv-SE" - Url: Url of the productview. Ex: "https://www.voyado.com?sku=eu901-011-v10" - ExternalReferrer: The external site that the user came from (clicked a link) Ex: "https://www.google.com"
ProductViewVRegisterProductViewsAsyncRegister a collection of views to specific products for given contacts. Request model: - ItemId: Unique SKU/Article Id/Item Id of the viewed product. Will be matched against SKU on the imported articles in Voyado. Ex: "123XYZ" - Category: Category of the product on the website. Will be used for filtering. Ex: "novels > cormac mccarthy > the road" - Time: Time of the product view. ISO8601 with Time Zone Designators. Ex: "2021-09-22T11:00:00+02:00" - ContactId: Contact id of the viewer. GUID or short GUID. Ex: "FF9FD9AF-6778-4714-B0FE-F6E6612840C8" - SessionId: Unique identifier of the session. Ex: "3b7e493b-5dfe-4b98-b6cf-049f2ea4309d" - NewSession: Boolean value that indicates that new session. - Language: Culture code of the cart. A corresponding product feed should be configured. Ex: "sv-SE" - Url: Url of the productview. Ex: "https://www.voyado.com?sku=eu901-011-v10" - ExternalReferrer: The external site that the user came from (clicked a link) Ex: "https://www.google.com"

CartRegisterCartAsync

Register an update to a specific cart for a given contact. Should be the latest update of the cart. Request model: - CartReference: Unique identifier of the cart. Links the update to a specific cart. Ex: "006788ba-9f65-49c6-b3a0-2315d1854728" - Time: Time of the cart update. ISO8601 with Time Zone Designators. Ex: "2021-09-22T11:00:00+02:00" - ContactId: Contact id of the cart owner. GUID or short GUID. Ex: "ae16a9b4-f581-4568-8948-a96100b2afd4" - Language: Culture code of the cart. A corresponding product feed should be configured. Ex: "sv-SE" - Url: Url to the cart. Ex: "https://www.store.se/cart?id=006788ba-9f65-49c6-b3a0-2315d1854728" - Items: Collection of cart items. Ex: [{"Sku":"90183744","Quantity":1},{"Sku":"90156607","Quantity":1}]

  • HTTP Method: POST
  • Endpoint: /api/v2/tracking/carts

Parameters

NameTypeRequiredDescription
inputCartApiModelThe request body.

Return Type

OkResult

Example Usage Code Snippet

using VoyadoEngage;
using VoyadoEngage.Models;

var client = new VoyadoEngageClient();

var input = new CartApiModel();

var response = await client.Tracking.CartRegisterCartAsync(input);

Console.WriteLine(response);

CartRegisterCartsAsync

Register a batch of cart updates. Cart updates are processed according to update time. If multiple cart updates are registered with the same identifier only the latest update (according to update time) is considered. Request model: - CartReference: Unique identifier of the cart. Links the update to a specific cart. Ex: "006788ba-9f65-49c6-b3a0-2315d1854728" - Time: Time of the cart update. ISO8601 with Time Zone Designators. Ex: "2021-09-22T11:00:00+02:00" - ContactId: Contact id of the cart owner. GUID or short GUID. Ex: "ae16a9b4-f581-4568-8948-a96100b2afd4" - Language: Culture code of the cart. A corresponding product feed should be configured. Ex: "sv-SE" - Url: Url to the cart. Ex: "https://www.store.se/cart?id=006788ba-9f65-49c6-b3a0-2315d1854728" - Items: Collection of cart items. Ex: [{"Sku":"90183744","Quantity":1},{"Sku":"90156607","Quantity":1}]

  • HTTP Method: POST
  • Endpoint: /api/v2/tracking/carts/batch

Parameters

NameTypeRequiredDescription
inputList<CartApiModel>The request body.

Return Type

OkResult

Example Usage Code Snippet

using VoyadoEngage;
using VoyadoEngage.Models;

var client = new VoyadoEngageClient();

var inputItem = new CartApiModel();
var input = new List<CartApiModel>() { inputItem };

var response = await client.Tracking.CartRegisterCartsAsync(input);

Console.WriteLine(response);

ProductViewVRegisterProductViewAsync

Register a view of a specific product for a given contact. Request model: - ItemId: Unique SKU/Article Id/Item Id of the viewed product. Will be matched against SKU on the imported articles in Voyado. Ex: "123XYZ" - Category: Category of the product on the website. Will be used for filtering. Ex: "novels > cormac mccarthy > the road" - Time: Time of the product view. ISO8601 with Time Zone Designators. Ex: "2021-09-22T11:00:00+02:00". - ContactId: Contact id of the viewer. GUID or short GUID. Ex: "FF9FD9AF-6778-4714-B0FE-F6E6612840C8" - SessionId: Unique identifier of the session. Ex: "3b7e493b-5dfe-4b98-b6cf-049f2ea4309d" - NewSession: Boolean value that indicates that new session. - Language: Culture code of the cart. A corresponding product feed should be configured. Ex: "sv-SE" - Url: Url of the productview. Ex: "https://www.voyado.com?sku=eu901-011-v10" - ExternalReferrer: The external site that the user came from (clicked a link) Ex: "https://www.google.com"

  • HTTP Method: POST
  • Endpoint: /api/v2/tracking/productview

Parameters

NameTypeRequiredDescription
inputProductViewApiModelThe request body.

Return Type

object

Example Usage Code Snippet

using VoyadoEngage;
using VoyadoEngage.Models;

var client = new VoyadoEngageClient();

var input = new ProductViewApiModel("itemId", "contactId");

var response = await client.Tracking.ProductViewVRegisterProductViewAsync(input);

Console.WriteLine(response);

ProductViewVRegisterProductViewsAsync

Register a collection of views to specific products for given contacts. Request model: - ItemId: Unique SKU/Article Id/Item Id of the viewed product. Will be matched against SKU on the imported articles in Voyado. Ex: "123XYZ" - Category: Category of the product on the website. Will be used for filtering. Ex: "novels > cormac mccarthy > the road" - Time: Time of the product view. ISO8601 with Time Zone Designators. Ex: "2021-09-22T11:00:00+02:00" - ContactId: Contact id of the viewer. GUID or short GUID. Ex: "FF9FD9AF-6778-4714-B0FE-F6E6612840C8" - SessionId: Unique identifier of the session. Ex: "3b7e493b-5dfe-4b98-b6cf-049f2ea4309d" - NewSession: Boolean value that indicates that new session. - Language: Culture code of the cart. A corresponding product feed should be configured. Ex: "sv-SE" - Url: Url of the productview. Ex: "https://www.voyado.com?sku=eu901-011-v10" - ExternalReferrer: The external site that the user came from (clicked a link) Ex: "https://www.google.com"

  • HTTP Method: POST
  • Endpoint: /api/v2/tracking/productviews

Parameters

NameTypeRequiredDescription
inputList<ProductViewApiModel>The request body.

Return Type

object

Example Usage Code Snippet

using VoyadoEngage;
using VoyadoEngage.Models;

var client = new VoyadoEngageClient();

var inputItem = new ProductViewApiModel("itemId", "contactId");
var input = new List`<ProductViewApiModel>`() { inputItem };

var response = await client.Tracking.ProductViewVRegisterProductViewsAsync(input);

Console.WriteLine(response);

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →