ICampaignScheduleServiceLaunch Method |
The method launches the specified campaign (campaign).
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 10.0.0
Syntax bool Launch(
CampaignInfo campaign,
int siteID
)
Parameters
- campaign
- Type: CMS.WebAnalyticsCampaignInfo
Campaign which is launched. - siteID
- Type: SystemInt32
ID of the site on which the campaign is launched.
Return Value
Type:
BooleanTrue if the campaign has been launched.
Remarks
Launching a campaign includes the following steps:
- The campaign starts tracking data.
- All linked page assets are published.
- All linked email assets are sent.
Does not launch an already launched campaign or a campaign from a different site.
When pages are published,
DocumentPublishFrom is set to
Now.
DocumentPublishTo is reset if the date is set to past.
Pages under workflow are left untouched and all culture variants are published.
See Also