CampaignService Class |
Namespace: CMS.WebAnalytics
public class CampaignService : ICampaignService
The CampaignService type exposes the following members.
Name | Description | |
---|---|---|
CampaignService |
Creates new instance of CampaignService.
|
Name | Description | |
---|---|---|
CampaignCode |
Gets/sets the visitor's campaign from/to a persistent storage.
| |
CampaignSourceName |
Gets/sets the visitor's source from/to a cookie.
|
Name | Description | |
---|---|---|
SetCampaign |
If CampaignInfo with given campaignCode exists and is running, sets both campaignCode and source to their
properties (CampaignCode or CampaignSourceName respectively).
Additionally performs logging of campaign hit to the analytics.
|