Click or drag to resize
IWebAnalyticsServiceScriptsGeneratorGetLogHitsScriptWithSubstitute Method
Returns script which logs page views and other hits asynchronously. The script does not contain the actual parameters. There is a placeholder at the location where parameters would be and this placeholder should be replaced by the actual parameters before sending page output to the client browser. This two-step rendering is required, because of the output cache mechanism. At first, there is a universal script rendered and saved into cache. This universal script is then updated with values specific for the current request before sending HTTP response back to the client browser.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 11.0.0
Syntax
C#
string GetLogHitsScriptWithSubstitute(
	string substitute
)

Parameters

substitute
Type: SystemString
String which will be placed at the location where parameters would normally be

Return Value

Type: String
See Also