You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Contents

Configuration Prerequisites 

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

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

  1. Configure a public DNS name for the CardioLog 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 server and configure SSL for the CardioLog web application.
  3. Verify that you have a user account with the Site Collection administrator permissions.
  4. Verify that the CardioLog Tracking Agent web application supports Anonymous Access by clicking the CardioLogAgent web application in IIS, choose Authentication, enable Anonymous Authentication and disable Windows Authentication.
  5. In [CardioLog Installation Folder]\CardioLogAgent\Web.config, set the "overwriteConnectedUser" parameter to true

    <add key="overwriteConnectedUser" value="true" />

  6. Verify that the CardioLog Tracking Agent web application is accessible over the internet.
  7. In [CardioLog Installation Folder]\CardioLogAgent\Web.config, set the "CardioLogAgentRoot" parameter to the public DNS name and appropriate protocol. For example:

    <add key="CardioLogAgentRoot" value="http[s]://cardiolog.mycompany.com" />

    Note: The URL should 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 site. 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: 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\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 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 site:

    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 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 (with Firebug)
    2. Press F12.
    3. Select the Network tab (named Net in FireFox).
    4. Press Ctrl+F5 to clear the cache and reload the page.
    5. Find the first entry for tunnel.aspx, and click to view details (response body)
    6. Verify that statusId is 0 (statusId:0)
  5. In the SharePoint Adaptor dialog, enter the name and root URL of your SharePoint Online site collection. Specify the authentication details used to connect to the website, then click Next. Loading your SharePoint Online tree structure may take several minutes, depending on the number of items in the selected website.

    Note: 
    Please confirm that the CardioLog service account has the Site Collection administrator permission.



    Configuration Wizard Step 3 - SharePoint Adaptor

  6. In the Usage Data Processing dialog, click Next.


    Configuration Wizard Step 4 - Usage Data Processing

  7. 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

 

Configuring Multiple Site Collections

In order to monitor additional site collections in your existing SharePoint Online environment, please do the following: 

  1. In the Administration pane, click System Configuration, and then select SharePoint Tree Adaptor.
  2. Click on your SharePoint Online website and select the site collection/s you want to monitor.
  3. You can load your site collections list from a csv file. In order to create the csv file, use the Windows PowerShell for SharePoint Online Get-SPOSite | Export-CSV command, and enter the csv file path in the Site Collection List File Path (.csv) field.
  4. Click Save.
  5. If you have many sites and would like to automate this process via a Power Shell script please see how to create a CSV file for your SharePoint Online site collections.           
  6. Restart the CardioLog Scheduling Service. The tree structure will be refreshed the next day.
  7. Configure event collection - deploy the CardioLog Analytics SharePoint solution on your site collection/s or insert the code manually (to your master page).

Configuring Multiple SharePoint Online Environments 

In order to monitor an additional SharePoint Online environment, please do the following:

  1. In the Administration pane, click System Configuration, and then select SharePoint Tree Adaptor.
  2. Click Add Farm, and then select SharePoint Online.
  3. In the SharePoint Tree Adaptor dialog, fill out the following fields:


    System Configuration - SharePoint Online Tree Adaptor

    1. Name - This is the title of the site collection folder which will be displayed in the CardioLog tree structure in the Analysis Center. Example: "SharePoint Online"
    2. SharePoint Admin Center URL (https://) - Enter the site collection URL in a secured format (https://). For public sites (http://) use the secured format and configure a URL Mapping. eg.: <https://intlock-public.sharepoint.com/> to http://www.intlock.com/.

      With URL mappings you can define modifications that should be made to the URL address while creating the tree structure for SharePoint Online public sites. For example: pattern - https://intlock-public.sharepoint.com/, action - http://www.intlock.com/ (The pattern is a regular expression search pattern, and the action is the replace expression).

    3. Authentication - Microsoft Live ID (Office 365). The selected account should have the Site Collection administrator permission.

  4. Click Apply.
  5. Select the site collection/s you want to monitor and click Save.
  6. Restart the CardioLog Scheduling Service. The tree structure will be refreshed the next day.
  7. Configure event collection - deploy the CardioLog Analytics SharePoint solution on your site collection/s or insert the code manually (to your master page).

Updating the CardioLog Tracking Code on Multiple Site Collections

In order to update the tracking code on all site collections in your SharePoint Online environment, please do the following:

  1. Copy the tracking code from the Tracking Code box in the Administration pane > System Configuration > Usage Tracking Code, and then select SharePoint Online.


    Usage Tracking Code

  2. Verify that the all URLs contained in the tracking code that redirect to the CardioLog application 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.
  3. In the Administration section of the Navigation pane, click System Configuration, and then select SharePoint Tree Adaptor.
  4. Click on your SharePoint Online website.
  5. Click on Publish Tracking Code next Additional Actions.
  6. Add the JavaScript tracking code and click Apply.
  • No labels