Click or drag to resize
AnalyticsHelperCurrentCampaign Method

Note: This API is now obsolete.

Returns the name of the current campaign.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 9.0.0
Syntax
C#
[ObsoleteAttribute("Access query string parameter utm_campaign directly.")]
public static string CurrentCampaign()

Return Value

Type: String
Name of the campaign or null when campaign parameter is not present in query string
Remarks
Name of current campaign is obtained from query string.
See Also