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: 12.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 exampleCampaignContent
Gets/sets the visitor's content from/to a cookie.
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 campaignCode, source and content to their properties (CampaignCode, CampaignSourceName or CampaignContent respectively).
Top
See Also