Click or drag to resize
ICampaignService Interface
Provides access to the campaign related to the current request via the implementation of ICampaignPersistentStorage.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 10.0.0
Syntax
C#
public interface ICampaignService

The ICampaignService type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleCampaignCode
Gets/sets the visitor's campaign from/to a persistent storage.
Public propertyCode exampleCampaignSourceName
Gets/sets the visitor's source from/to a cookie.
Top
Methods
  NameDescription
Public methodCode exampleSetCampaign
If CampaignInfo with given campaignCode exists and is running, sets both campaignCode and source to their properties (CampaignCode or CampaignSourceName respectively).
Top
See Also