Contents

Configuration Prerequisites 

CardioLog Analytics allows you to easily integrate with Microsoft's SharePoint Online for both intranet and public internet SharePoint sites.

By default, the CardioLog Analytics tracking code is hosted on the CardioLog application on-premise server. You can also host it on a dedicated tracking server (web server) in the DMZ.

Configuring the CardioLog Analytics Tracking Agent on the CardioLog Application Server

Following the product installation and before running the Configuration Wizard, please do the following:

  1. Configure a public DNS name for the CardioLog application server.
  2. If you have a secured SharePoint Online site, create a certificate (Requires purchase of an SSL certificate from a certificate authority) for the CardioLog application server and configure SSL for the CardioLog web application in IIS.
  3. Click the CardioLogAgent web application in IIS, choose Authentication, enable Anonymous Authentication and disable Windows Authentication.
  4. In [CardioLog Installation Folder]\CardioLogAgent\Web.config, update the following key values (edit the CardioLog application server public DNS name): 

    <add key="overwriteConnectedUser" value="true" />
    <add key="UseSPAuth" value="true" />
    <add key="CardioLogAgentRoot" value="https://cardiologserverdnsname" /> 

  5. Verify that the CardioLog Tracking Agent web application is accessible over the internet by browsing to https://cardiologserverdnsname/CardioLogAgent/ca.aspx (edit the CardioLog application server public DNS name).
  6. Verify that you have a Microsoft Live ID user account with the SharePoint Administrator role in Office 365 Admin Center.

    Note
    : The CardioLog application server public DNS name must be accessible over the internet.

Configuring the CardioLog Analytics Tracking Agent on a Dedicated Tracking Server in the DMZ

Following the product installation and before running the Configuration Wizard, please do the following:

  1. Create a new CardioLogAgent web application in IIS on the CardioLog tracking server (web server). For the new web application, create a dedicated application pool and set ASP.NET version to 4.0. Set the authentication method of the web application to Anonymous access (disable Windows Authentication).
  2. Copy the files from the CardioLog application server [CardioLog Installation Directory]\CardioLogAgent to the new directory.

  3. Configure a public DNS name for the CardioLog tracking server.
  4. If you have a secured SharePoint Online site, create a certificate (Requires purchase of an SSL certificate from a certificate authority) for the CardioLog tracking server and configure SSL for the CardioLogAgent web application in IIS.
  5. In [CardioLog Tracking Agent Installation Folder]\CardioLogAgent\Web.config, update the following key values (edit the CardioLog tracking server public DNS name): 

    <add key="overwriteConnectedUser" value="true" />
    <add key="UseSPAuth" value="true" />
    <add key="CardioLogAgentRoot" value="https://cardiologtrackingserverdnsname" /> 

  6. Verify that the CardioLog Tracking Agent web application is accessible over the internet by browsing to https://cardiologtrackingserverdnsname/CardioLogAgent/ca.aspx (edit the CardioLog tracking server public DNS name).
  7. Verify that you have a Microsoft Live ID user account with the SharePoint Administrator role in Office 365 Admin Center.

    Note
    : The CardioLog tracking server public DNS name must be accessible over the internet.

Running the Configuration Wizard

Upon activating CardioLog Analytics, the Configuration Wizard will be displayed. This wizard will help you configure the SharePoint Tracking Agent, which is a tool designed to monitor visitor behavior in SharePoint, and the SharePoint Adaptor, which provides the structure of your SharePoint Online tenant. Login to the CardioLog server with the CardioLog service account and verify that it has the required permissions before running the wizard.

  1. Launch CardioLog. If the Configuration Wizard doesn't launch automatically, you can run it manually by clicking on Administration in the Navigation pane and then selecting System Configuration. Click Configuration Wizard to restart CardioLog and begin the configuration process.
  2. In the Welcome dialog, select the desired UI language and date format. Under SharePoint Version, select SharePoint Online and then click Next.


    Configuration Wizard

  3. You can add the tracking code by either deploying the CardioLog tracking code through a SharePoint solution, OR manually adding the JavaScript tracking code to your master pages.

    Note: You may select only one option to add the tracking code.


    Configuration Wizard Step 2a: SharePoint Online Usage Tracking 

    Deploy the CardioLog tracking code through a SharePoint solution

    1. Browse to your SharePoint Online site Solution Gallery (Replace the website root URL with yours): [https://intlock.sharepoint.com]/_catalogs/solutions/forms/allitems.aspx

      solution.JPG
      'SharePoint Online' Site Solution Gallery

    2. Click Upload Solution > Choose File > select [CardioLog Installation Folder]\CardioLog\Configuration\AgentFeature\Online\Resources\CardioLog Analytics Integration.wsp > Activate
    3. Browse to CardioLog Analytics Integration solution configuration page (Replace the website root URL with yours): [https://intlock.sharepoint.com]/CardioLogAnalytics/Configuration.2.0.8.0.aspx

      configuration.JPG
      CardioLog Analytics Integration Solution Configuration Page

    4. Copy the code from the Tracking Code box in Step 2 of the Configuration Wizard.
    5. Edit the tracking code and verify that the all URLs contained in the tracking code that redirect to the CardioLog application/tracking server have the public DNS name and appropriate protocol. The URLs should be accessible over the internet. Use HTTPS if you are tracking secured SharePoint Online site collections. You may choose to use HTTP for public websites.
    6. Add the JavaScript tracking code and click OK.

    Uninstalling the CardioLog Analytics Tracking Agent Feature

    You can choose between pausing and uninstalling the tracking code from your SharePoint online sites:

    1. To pause the tracking code, browse to your SharePoint Online site Solution Gallery (edit the website root URL): [https://intlock.sharepoint.com]/_catalogs/solutions/forms/allitems.aspx and deactivate the CardioLog Analytics Integration solution.
    2. To uninstall the tracking code, deactivate the CardioLog Analytics Integration solution and then delete the solution.


    Manually Add the JavaScript Tracking Code to Your Master Pages

    1. Open SharePoint Designer and add the SharePoint Online website: Go to Site Templates > Open Site > Enter website root URL (eg., - https://intlock.sharepoint.com/).
    2. Open Site Objects > Master Pages > *.master (we suggest the seattle.master page) and add the JavaScript tracking code in the <head> tag.
    3. Verify that all URLs contained in the tracking code that redirect to the CardioLog application/tracking server have the public DNS name and appropriate protocol. The URLs should be accessible over the internet. Use HTTPS if you are tracking secured SharePoint Online site collections. You may choose to use HTTP for public websites.

  4. In order to verify that your SharePoint Online pages are tracked, follow these steps:
    1. Open a new browser window and click Next Step.
    2. Delete your browser temporary internet files and click Next Step.
    3. Browse 3 pages on your SharePoint Online website and click Next Step.
    4. Click Test Event Collection. The Wizard will now verify usage events tracking.


    Step 2 - Usage Tracking


    Otherwise,

    1. Navigate to your SharePoint Online site homepage with Internet Explorer, Chrome, or FireFox.
    2. Press Ctrl+F5 to clear the cache and reload the page.
    3. While on the SharePoint website page, click Ctrl+F12. The tracking agent console should pop-up, displaying the ID number for the most recent monitored action (event). To close the console, press Ctrl+F12.
  5. In the SharePoint Adaptor dialog, enter a title and root URL of your SharePoint Online Admin Center. Specify the authentication details used to connect to it, then click Next. Loading your SharePoint Online tree structure may take several minutes to a few hours, depending on the number of items in the selected websites.

    Note: 
    Confirm that the CardioLog service account has the SharePoint Administrator role enabled in Office 365 Admin Center, under Customized Administrator.




    Configuration Wizard Step 3 - SharePoint Adaptor

  6. In the SharePoint Adaptor dialog, select the SharePoint website(s) you would like to report on, then click Next.



    Configuration Wizard Step 3 - SharePoint Adaptor Web Site Selection
     
  7. In the Usage Data Processing dialog, click Next.


    Configuration Wizard Step 4 - Usage Data Processing

  8. In the Finish dialog, click Finish. Click Show Raw Usage Data to view the usage events collected thus far. The data will be available in reports in the next hour.


    Configuration Wizard - Finish

  • No labels