C# Class ConstructorIO.Tracker

Afficher le fichier Open project: Constructor-io/constructorio-csharp Class Usage Examples

Méthodes publiques

Méthode Description
TrackClickThrough ( string Term, string AutocompleteSection, HashArgs ExtraParams = null ) : bool

Tracks the fact that someone clicked through a search result on the site.

TrackClickThroughAsync ( string Term, string AutocompleteSection, HashArgs ExtraParams = null ) : Task

Tracks the fact that someone clicked through a search result on the site.

TrackConversion ( string Term, string AutocompleteSection, string ItemName = null, HashArgs ExtraParams = null ) : bool

Tracks the fact that someone converted on your site. Can be for any definition of conversion, whether someone buys a product or signs up or does something important to your site.

TrackConversionAsync ( string Term, string AutocompleteSection, string ItemName = null, HashArgs ExtraParams = null ) : Task

Tracks the fact that someone converted on your site. Can be for any definition of conversion, whether someone buys a product or signs up or does something important to your site.

TrackSearch ( string Term, HashArgs ExtraParams = null ) : bool

Tracks the fact that someone searched on your site. There's no autocompleteSection parameter because if you're searching, you aren't using an autocomplete.

TrackSearchAsync ( string Term, HashArgs ExtraParams = null ) : Task

Tracks the fact that someone searched on your site. There's no autocompleteSection parameter because if you're searching, you aren't using an autocomplete.

Private Methods

Méthode Description
CreateTrackingRequest ( APIRequestType APIPath, string Method, HashArgs ExtraArgs ) : ConstructorIORequest
Tracker ( ConstructorIOAPI ParentAPI ) : System

Method Details

TrackClickThrough() public méthode

Tracks the fact that someone clicked through a search result on the site.
public TrackClickThrough ( string Term, string AutocompleteSection, HashArgs ExtraParams = null ) : bool
Term string
AutocompleteSection string
ExtraParams HashArgs Any extra parameters to be included in the body of the
Résultat bool

TrackClickThroughAsync() public méthode

Tracks the fact that someone clicked through a search result on the site.
public TrackClickThroughAsync ( string Term, string AutocompleteSection, HashArgs ExtraParams = null ) : Task
Term string
AutocompleteSection string
ExtraParams HashArgs
Résultat Task

TrackConversion() public méthode

Tracks the fact that someone converted on your site. Can be for any definition of conversion, whether someone buys a product or signs up or does something important to your site.
public TrackConversion ( string Term, string AutocompleteSection, string ItemName = null, HashArgs ExtraParams = null ) : bool
Term string
AutocompleteSection string
ItemName string
ExtraParams HashArgs
Résultat bool

TrackConversionAsync() public méthode

Tracks the fact that someone converted on your site. Can be for any definition of conversion, whether someone buys a product or signs up or does something important to your site.
public TrackConversionAsync ( string Term, string AutocompleteSection, string ItemName = null, HashArgs ExtraParams = null ) : Task
Term string
AutocompleteSection string
ItemName string
ExtraParams HashArgs
Résultat Task

TrackSearch() public méthode

Tracks the fact that someone searched on your site. There's no autocompleteSection parameter because if you're searching, you aren't using an autocomplete.
public TrackSearch ( string Term, HashArgs ExtraParams = null ) : bool
Term string the term that someone searched.
ExtraParams HashArgs
Résultat bool

TrackSearchAsync() public méthode

Tracks the fact that someone searched on your site. There's no autocompleteSection parameter because if you're searching, you aren't using an autocomplete.
public TrackSearchAsync ( string Term, HashArgs ExtraParams = null ) : Task
Term string the term that someone searched.
ExtraParams HashArgs
Résultat Task