Executing a request
Version:
All requests are executed asynchronously by the ISitecoreUTSession interface instance. The Universal Tracker SDK contains the corresponding class, but it should not be instantiated directly.
ISitecoreUTSession provides methods that process the appropriate events objects. For example:
If you cannot use the async keyword with your method, use the Task.WaitAll() method instead:
To track different types of events, use the following session methods:
-
TrackEventAsync
-
TrackGoalAsync
-
TrackCampaignEventAsync
-
TrackDownloadEventAsync
-
TrackPageViewEventAsync
-
TrackSearchEventAsync
-
TrackOutcomeEventAsync
-
TrackLocationEventAsync
-
TrackErrorEventAsync
-
TrackInteractionAsync