Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: You can use the SharePoint WFEs or dedicated servers to host the EventCollector and CardioLogAgent web applications. When deploying the CardioLog Analytics SharePoint feature for usage tracking, the CardioLogAgent web application is automatically installed on your SharePoint WFEs under each SharePoint web application _layouts folder. You can install the EventCollector web application in the same location.

Anchor
install data collection
install data collection
How to Install the CardioLog Data Collection Web Applications on a Web Front End (WFE)

  1. Create a new EventCollector web application on the your WFE. For the new web application, create a dedicated application pool, set . Set ASP.NET version to 2.0 and grant the application pool account the "db_owner" role on the CardioLog database. Set the web application authentication method of the web application to Anonymous access (disable Windows Authentication). 
  2. Copy the files from the CardioLog server [CardioLog Installation Directory]\EventCollector to the new directory.
  3. Create a new CardioLogAgent web application on the WFE. For the new web application, create a dedicated application pool and set ASP.NET version to 2.0. Set the authentication method of the web application to Windows Authentication (disable Anonymous access).
  4. Copy the files from the CardioLog server [CardioLog Installation Directory]\CardioLogAgent to the new directory.
    Note
    : When deploying the 
    CardioLog Analytics SharePoint feature for usage tracking, there is no need to create a new CardioLogAgent web application.
  5. Edit the following keys in the CardioLogAgent\web.config file, located in the <appSettings> section and enter the NLB FQDN -

<add key="EventCollectorPath" value="http[s]://[domain name]/EventCollector/monitor.aspx" />
<add key="CardioLogAgentRoot" value="http[s]://[domain name]"/> 

Where [domain name]

...

is the NLB FQDN for the web applications.

Note: When the EventCollector and CardioLogAgent web applications are installed on your SharePoint WFEs under each SharePoint web application "_layouts" folder folder, edit the following keys in the CardioLogAgent\web.config file, located in the <appSettings> section, as follows:

<add key="EventCollectorPath" value="http[s]://[domain name]/_layouts/EventCollector/monitor.aspx" />

<add key="CardioLogAgentRoot" value="/_layouts"/> 

Where [domain name] 

...

is the SharePoint web application FQDN.

  1. Edit the following keys in the Java Script tracking code.

var bodycssurl = 'http[s]://[domain name]/CardioLogAgent/GetBodyStyle.aspx?rc=true'
var bodycssurl = 'http[s]://[domain name]/CardioLogAgent/GetBodyStyle.aspx?u=' + window.location + '&env=[SharePoint version]&_random='+Math.random()*100000;
ca.src = 'http[s]://[domain name]/CardioLogAgent/ca.aspx?_random='+Math.random();
tt.src = 'http[s]://[domain name]/CardioLogAgent/AgentEmbed.aspx?env=[SharePoint version]&r='+Math.random()*100000;

Note: When deploying the CardioLog Analytics SharePoint feature for usage tracking, there is no need to update the tracking code.

By default, the Java Script tracking code is embedded within a common Java Script file on your SharePoint WFEs -


For MOSS 2007 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\1033\core.js

For SharePoint 2010 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033\init.js

For SharePoint 2013 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\init.js

For MOSS 2007 with "CardioLog Analytics" SharePoint Feature only
:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\CardioLogAgent\CardioLogAgent.js

For SharePoint 2010 with "CardioLog Analytics" SharePoint Feature only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\CardioLogAgent\CardioLogAgent.js

For SharePoint 2013 with "CardioLog Analytics" SharePoint Feature only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\CardioLogAgent\CardioLogAgent.js
OR
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\CardioLogAgent\CardioLogAgent.js
  
 

The code is located at the end of the file, between these comments: "//Intlock tracking code start", "and //Intlock tracking code end".


[domain name]
 - the NLB FQDN for the web application. When deploying the CardioLog Analytics SharePoint feature for usage tracking, there is no need to edit these keys (the default value is "/_layouts").
[SharePoint version] - MOSS2007, SP2010 or  SP2013

...