Implementing Site Catalyst
SiteCatalyst implementation is a simple process. A full implementation involves adding two components to a site: the SiteCatalyst HTML code and a JavaScript include file. Deploying SiteCatalyst involves pasting HTML code onto each page in a site. This HTML code contains variables and other identifiers that facilitate the data collection process. The code snippet also calls the JavaScript include file, which contains SiteCatalyst-specific JavaScript functions used during metrics collection. Clients cache this file after the first request, resulting in virtually no incremental server load for your site.
How SiteCatalyst Works
SiteCatalyst is a completely hosted web analytics solution. When a visitor downloads a web page from a SiteCatalyst-enabled site, the browser executes the SiteCatalyst code while rendering the page. The code collects data about the page view (including any custom variables defined) and initiates an image request to the SiteCatalyst data collection servers. The data is passed in to the server as part of the request, and the data collection servers return a 1 x 1 pixel transparent image. SiteCatalyst processes and displays the data through online reports immediately after the transaction.
Installing SiteCatalyst
Three SiteCatalyst Code Parts
s_config.js file – A server-side include file that contains some configuration
settings specific to your site. This file should be included in the page after the
opening body tag and before the HTML page code.
Page Code HTML file – A file containing a few short lines of customizable JavaScript code to be inserted into every page to be tracked.
s_code.js file – A base JavaScript file containing some of the tracking code,
referenced by the include file.
Where to place the code
The SiteCatalyst code can be placed anywhere inside the Body tags (<body></body>) of a well-formed HTML page. Browsers do not interpret image requests placed inside HEAD tags (<head></head>) correctly, which can cause the code to function incorrectly. Its recommended to place the code in an s_config.js file, however the code can be placed anywhere on the page. Please be consistent with code placement on each page.
thanks alot for this info..helped me alot to knw abt the sitecatalyst..
ReplyDelete