Once you have installed the CardioLog Engage add-in for SharePoint from the Microsoft Office Store, you will then be redirected to a configuration screen.

The configuration contains a few simple steps that walk you through setting up CardioLog Engage.


CardioLog Engage Configuration Screen

Step 1: Choose Sites to Integrate with

In order to use the In-App Messages channel (pop-up messages in SharePoint) and target users based on their past behavior (such as pages they've visited), select which site collections you would like to integrate with. Sites are only available for use once the tracking code is deployed for them in the "Add the CardioLog Tracking Code to your Sites" step.

  1. With this section expanded, you should see all of your available SharePoint Online site collections.
  2. Select all the sites you would like to integrate with.
  3. You can also search for site collections by typing in their name in the search bar.
  4. Select the button next to each site you would like to integrate with.

  5. In order to stop integrating with a specific site, but keep history data for it in usage reports, click on the folder icon next to it in order to archive it. 

  6. Click Save to confirm your selection.

You can go back and add more sites or remove sites from your selection at any point.

Please note that the integration process for large site collections may take a few hours up to a few weeks, depending on the environment size.


CardioLog Engage Configuration Screen: Step 1



Step 2: Choose User Attributes

In order to send campaigns to specific user segments based on their organizational information (department, office, etc.), select which user profile attributes you would like to target users by. This information will be taken from SharePoint user profiles. If you have created custom profile properties you can also use them.
It is recommended to select the following basic attributes - department, office, country, title. 

(question) What are SharePoint Profiles?

  1. Using the search bar, enter the name of any attribute you would like to find and include.

  2. Select the button next to each user attribute you would like to include.

  3. In case Personal Identifiable Information (PII) Concealment is enabled, click on the eye icon next to each user attribute you would like to conceal. 

  4. Click Save to confirm your selection.

Attributes may be added or removed at any time to accommodate your needs.

CardioLog Engage Configuration Screen: Step 2


CardioLog Engage Configuration Screen: Step 2 - Choose User Attributes with PII Concealment Enabled


Step 3: Add The CardioLog Tracking Code To Your Sites

This step allows you to add the JavaScript tracking code to each of your sites. 

You can add the tracking code to specific sites or deploy it on all selected site collections automatically.


CardioLog Engage Configuration Screen: Step 3

Deploying the Tracking Code to all Selected Site Collections Automatically

  1. Download the automatic deployment Package from the "Add the CardioLog Tracking Code to your Sites" step in the Configuration page.
    The package includes a PowerShell script that deploys the tracking agent wsp solution, modern sites integration app and the Java Script tracking code on all selected site collections.
  2. Right click the downloaded package zip file, select Properties > General and click on "Unblock" before unzipping it.
  3. Execute the Run_Script.ps1 script in Windows PowerShell (do not use Windows PowerShell ISE version). Make sure to close all browser windows on your machine before executing the script.
    Note: You must have the MS Online module installed and the credentials of the SharePoint Online global administrator.

Add the Tracking Code to a Site Collection Manually

  1. Browse to your SharePoint Online site Solution Gallery. The gallery should be found at this address by replacing the website root URL with yours: https://company.sharepoint.com/_catalogs/solutions/forms/allitems.aspx
  2. From your Solution Gallery, click Upload Solution > Choose File. Then select CardioLog Analytics Integration.wsp and click Activate.
  3. If you are presented with a request for access, go to the Admin Center, found under the Office 365 Admin menu.
    1. From the SharePoint Admin Center select Settings.
    2. Choose Custom Script.
    3. Select Allow for both options. (Allow users to run custom script on personal sites & Allow users to run custom script on self-service created sites)
    4. Allow custom scripts on all site collections you wish to monitor:
      1. The preference change may take up to 24 hours. In order to force the change to take place immediately, you may download and run the SharePoint Online Management Shell.
      2. Follow Microsoft's instructions for connecting it to your SharePoint Online tenant
      3. For classic sites, execute the following shell command:

         

        Set-SPOsite <SiteURL> -DenyAddAndCustomizePages 0
      4. For modern sites, execute the following shell command (edit the #parameters section):

        #Parameters
        $TenantAdminURL= "https://company-admin.sharepoint.com"
        $SiteURL= "https://company.sharepoint.com/sites/site"
        
        #Connect to Tenant Admin
        Connect-PnPOnline $TenantAdminURL -UseWebLogin
        
        #Get the Tenant Site Object
        $Site = Get-PnPTenantSite -Url $SiteURL
        
        #Enable Custom Scripting by turning OFF Deny Flag
        $Site.DenyAddAndCustomizePages = "Disabled"
        $Site.Update()
        $Site.Context.ExecuteQuery()
        
        
  4. Once the solution is installed, return to the CardioLog Analytics configuration screen and copy the JavaScript tracking code.

  5. Browse to CardioLog Analytics Integration solution configuration page. The page should be found at this address by replacing the website root URL with yours: https://company.sharepoint.com/CardioLogAnalytics/Configuration.2.0.8.0.aspx

  6. Paste the tracking code copied from the "Add the CardioLog Tracking Code to your Sites" step and click OK.

  7. To enable support for tracking SharePoint Online modern sites and pages, install the Tracking Agent App:

    1. Download the automatic deployment package from the "Add the CardioLog Tracking Code to your Sites" step in the configuration page.

    2. Upload CardioLogTrackingAgentAddin.sppkg app to the SharePoint Admin apps > App Catalog > Apps for SharePoint > New:

    3. Click Deploy (do NOT select "Make this Solution available to all sites in the organization")

    4. Go to the tracked Site Collection > Site Contents > New App

    5. Click on Apps from your organization and click CardioLog Tracking Agent (it will be installed automatically)

Note: The tracking code contains links to the Events Listener web application in Azure.

Step 4: Choose User Attribute that Contains User Phone Numbers

In order to use the Phone Call, Text Messages (SMS) and Mobile Notifications channels, select the user profile attribute that contains user phone numbers and click Save. This information will be taken from SharePoint user profiles.


CardioLog Engage Configuration Screen: Step 4

Step 5: Sign in to CardioLog Engage with your Power BI Account

In this step, connect to Power BI in order to gain access to the CardioLog Engage user interface and create campaigns, and to your CardioLog Engage reports in Power BI to analyze user responses to your campaigns.

  1. Click Connect to Power BI and enter the Username and Password of a user with Power BI Pro or Power BI Premium Per User (PPU) license and click Save. This user will be the owner of the CardioLog Analytics app workspace in Power BI and will be able to share it with others in the organization.


    CardioLog Engage Configuration Screen: Step 5

  2. Go to the Power BI interface.

    1. Login with the credentials you entered in the "Sign in to CardioLog Engage with your Power BI" Account step.

    2. Create a Power BI app workspace for the CardioLog Engage reports. Learn more about Power BI app workspaces.

      1. Select Workspaces Create a workspace

      2. Enter the following details:
        Name - CardioLog Analytics
        Privacy - Private - Only approved members can see what's inside
        Permissions - Members can edit Power BI content

      3. Add email addresses of people you want to have access to the workspace, and select Add. Note that you can't add group aliases, just individuals.

      4. Decide whether each person is a member or an admin (admins can edit the workspace itself, including adding other members, members can edit the content in the workspace) and click Save.

  3. CardioLog Engage reports will be available in your app workspace within a few business days. You will receive an email notification as soon as all the data has been processed and your reports are ready to use.

  4. When the reports are ready, share them with your colleagues:
    1. Sign in to Power BI with the credentials you entered in the "Connect to Power BI" step.
    2. Select Workspaces > CardioLog Analytics > select the Create app button in the upper right to start the process of sharing all the content in that workspace.
    3. First, on Setup tab, enter the following details:
      App name - CardioLog Analytics
      Description - Analytics for SharePoint and Office 365

    4. Next, on Navigationyou see the reports that's going to be published as part of the app and organize the navigation pane.
    5. Last, on Permissions, decide who has access to the app: either everyone in your organization, or specific people or email distribution lists and click Publish app.

 

Step 6: Choose User Groups to Opt-out

In this step you can select which user groups you would like to opt-out of data collection.

The user group information will be taken from Azure Active Directory. It may take up to 24 hours for changes to take effect.

  1. Connect to Azure Active Directory with an account that is a global administrator in your Office 365 tenant. This account will be used in order to approve the required permissions for CardioLog Analytics SaaS to connect to Azure Active Directory.



  2.  Click Accept to approve the required permissions.



  3.  Select the user groups you would like to opt-out of data collection and click Save.


     
  4. Click Confirm to acknowledge that:
    1. Data for opted out users, including user profile information and usage data, will be: 
      1. Permanently deleted 
      2. No longer collected
      3. No longer available in reports
    2. Data for opted in users, including user profile information and usage data, will be collected and available in reports, however any data that was deleted/not collected during the time period they were opted out will not be recovered.
    3. Using this functionality may result in data discrepancies in some reports.