Click or drag to resize
CampaignAssetUrlInfoHelperIsNormalizedUrlTarget Method
Returns true if url is AbsolutePath without scheme, port, domain, query strings, fragments and trailing slash at the end. If true, value of url is valid for setting in CampaignAssetUrlTarget.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 12.0.0
Syntax
C#
public static bool IsNormalizedUrlTarget(
	string url
)

Parameters

url
Type: SystemString
URL

Return Value

Type: Boolean
Examples

'http://your-domain.com/landing_page/' is not normalized.

String.Empty is not normalized.

'/' is normalized.

'landing/page' is not normalized.

'/landing/page' is normalized.

'/landing/page/' is not normalized.

See Also