Note: In order to ensure the continuity of usage data collection in repair/upgrade scenarios, the CardioLog installer does NOT remove the following components during uninstall. If you want to fully uninstall the product, please remove them manually.
The Tracking Agent JavaScript code is added to all SharePoint pages in one of the following ways:
The CardioLog Analytics Feature deployment process installs the following components on the SharePoint farm:
[LAYOUTS] - the default path is [sharepoint WFE server]\program files\common files\microsoft shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ (14 for all SharePoint versions)
In order to fully uninstall the CardioLog Tracking Agent, please do the following:
Remove the 'CardioLog Analytics' feature using SharePoint Central Administration or the command line:
1) Deactivate the CardioLog Analytics feature to stop data collection.
To deactivate the CardioLog Analytics feature in SharePoint 2013/SharePoint 2016/SharePoint 2019, go to Central Administration > System Settings > Manage farm features
SharePoint 2013 - Manage farm features
To deactivate the CardioLog Analytics feature in SharePoint 2010, go to Central Administration > System Settings > Manage farm features
SharePoint 2010 - Manage farm features
To deactivate the CardioLog Analytics feature in MOSS 2007, go to Central Administration > Operations > Manage farm features
MOSS 2007 - Manage farm features
2) Retract the solution and remove it.
For SharePoint 2013/SharePoint 2016 only - Go to Central Administration > System Settings > Manage farm solutions > Click cardiologtrackingagentfeature.wsp > Click Retract Solution.
For SharePoint 2010 only - Go to Central Administration > System Settings > Manage farm solutions > Click cardiologtrackingagentfeature.wsp > Click Retract Solution.
For MOSS 2007 only - Go to Central Administration > Operations > Solution Management > Click cardiologtrackingagentfeature.wsp > Click Retract Solution.
Once the solution status shows "Not Deployed", click Remove Solution in order to completely remove the solution.
Execute the following commands from command prompt on the SharePoint application server in order to deactivate the feature, retract and remove the solution from your SharePoint farm (edit the directory path: 1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013, 16 for SharePoint 2016 and SharePoint 2019):
cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1X\BIN stsadm -o deactivatefeature -force -name "CardioLogAnalytics" stsadm -o uninstallfeature -force -name "CardioLogAnalytics" stsadm -o retractsolution -immediate -name "CardioLogTrackingAgentFeature.wsp" stsadm -o execadmsvcjobs stsadm -o deletesolution -override -name "CardioLogTrackingAgentFeature.wsp" stsadm -o execadmsvcjobs |
By default, the JavaScript tracking code is embedded within a common JavaScript file on all of your SharePoint WFEs (Web Front Ends), which typically is one of the following locations relevant to your software versions:
For SharePoint 2016 and SharePoint 2019 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\TEMPLATE\LAYOUTS\init.js
For SharePoint 2013 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\init.js
For SharePoint 2010 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\[language code]\init.js
For MOSS 2007 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\[language code]\core.js
Delete your browser cache and verify that when you browse through your SharePoint website that you can no longer request the CardioLog tracking agent popup by clicking Ctrl+F12 on the keyboard.
In order to remove the tracking agent components from all selected site collections automatically, follow the below instructions:
Right click the WSP-Tracking-Install-Script.zip file, select Properties > General and click on "Unblock" before unzipping it.
Execute the RUN_UNINSTALL.ps1 script in PowerShell. Make sure the you have the following prerequisites before executing the PowerShell script:
In order to remove the tracking agent components from your site collections manually, follow the below instructions:
Uninstall the 'CardioLog Usage Reports' feature using SharePoint Central Administration or the command line:
Removing the 'CardioLog Usage Reports' SharePoint Feature by using SharePoint Central Administration
Perform the following steps based on the feature scope:
Feature Scope - Farm
Feature Scope - Site Collection
If you have selected a solution which is not automatically activated across the entire farm, deactivate the "CardioLog Usage Reports" feature on each site collection:
Removing the 'CardioLog Usage Reports' SharePoint Feature by using Command Line
Execute the following commands based on the feature scope from the command prompt on the SharePoint application server in order to deactivate the feature, retract and remove the solution from your SharePoint farm (edit the directory path: 1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013, 16 for SharePoint 2016 and SharePoint 2019):
Feature Scope - Farm
cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1X\BIN stsadm -o deactivatefeature -force -name "CardioLogUsageReports" stsadm -o uninstallfeature -force -name "CardioLogUsageReports" stsadm -o retractsolution -immediate -name "CardioLogUsageReportsSolution.wsp" stsadm -o execadmsvcjobs stsadm -o deletesolution -override -name "CardioLogUsageReportsSolution.wsp" stsadm -o execadmsvcjobs |
Feature Scope - Site Collection
Execute the deactivate feature command for each site collection (edit the site collection root URL) before uninstalling it:
cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1X\BIN stsadm -o deactivatefeature -force -name "CardioLogUsageReports" - url "http[s]://sitecollectionrooturl" stsadm -o uninstallfeature -force -name "CardioLogUsageReports" stsadm -o retractsolution -immediate -name "CardioLogUsageReportsSolution.wsp" stsadm -o execadmsvcjobs stsadm -o deletesolution -override -name "CardioLogUsageReportsSolution.wsp" stsadm -o execadmsvcjobs |
Uninstall the CardioLog Analytics Usage Reports SharePoint feature from your SharePoint online site collection/s:
In order to remove the Site Statistics feature from all selected site collections automatically, follow the below instructions:
Right click the WSP-Tracking-Install-Script.zip file, select Properties > General and click on "Unblock" before unzipping it.
Execute the DeactivateSiteStatisticsFeature.ps1 script in PowerShell. Make sure the you have the following prerequisites before executing the PowerShell script:
Uninstall the CardioLog Analytics HTTP Module for tracking SharePoint documents opened from within Office:
In your SharePoint server, modify the SharePoint Web.config file and remove the module registration for each web site:
For IIS 6.0 and IIS 7.0 running in Classic Mode:
<configuration> |
To register the module for IIS 7.0 running in Integrated Mode:
<configuration> |
Remove the following keys:
<configuration> <appSettings> <add key="CardioLog.Events.DocExtensions" value=".doc*.docx*.ppt*.pptx*.pps*.ppsx*.txt*.pdf*.xlr*.xls*.xlsx*.log*.msg*.odt*.rtf*.csv*"/> <add key="CardioLog.Events.ExcludeUserAgents" value="Microsoft Office Existence Discovery*"/> <add key="CardioLog.API.EventsServiceUrl" value="http://<CardioLog server>:<port>/CardioLogAPI/Events.asmx"/> <add key="CardioLog.Events.LogFile" value="C:\CardioLogHttpModule.log"/> <add key="CardioLog.Events.LogLevel" value="None"/><!--None,Error,Message--> <add key="CardioLog.Events.SharePointVersion" value="2013"/> <add key="CardioLog.Events.SupportClaimsAuth" value="true"/><!-- Support claims based authentication --> <add key="CardioLog.Events.ClaimsAuthRegex" value=""/> <add key="CardioLog.Events.ClaimsAuthRegexGroupMatch" value=""/> <add key="CardioLog.Events.CacheExpirationTimeoutInMs" value="1000"/> |
Open the following file for editing: [Installation directory]\CardioLogAgent\web.config
Set HandleFileExtension to true:
[Installation directory] - If the CardioLog Analytics SharePoint feature is installed, the CardioLogAgent folder is located on all SharePoint WFEs under the SharePoint website "_layouts" folder.