SharePoint integration
When you want to track SharePoint users in your company, you need to integrate Piwik PRO with SharePoint and set up tracking. Integration is necessary because Piwik PRO needs to load the tracking code on SharePoint pages, but it can’t do it like on a regular website. After that Piwik PRO is ready to collect and report data.

Integrate with SharePoint
To integrate with SharePoint, follow these steps:
- Contact us at support@piwik.pro.
- You’ll need an admin account to SharePoint or team up with a colleague who has an admin account.
- Pick the model of integration:
- WSP: using WSP file extension.
- APP: using APP file extension.
- We’ll prepare and send you an installation package with instructions.
- You’ll need to follow the instructions, and we’ll assist you in the process.
- You’ll need to turn SharePoint reports on in Analytics — we’ll describe it later in this article. SharePoint reports is an additional section dedicated to analyze SharePoint data.
- Based on your tracking plan, we’ll help you set up tracking.
- After the integration is ready, you’ll see the collected data in Piwik PRO.
- After this integration, if you ever need to track another site collection, look at the instructions at the end of this article.

All versions of Piwik PRO can be connected to various versions of SharePoint. Here’s a table that briefly explains which ones can be integrated.
SharePoint | Piwik PRO | Method of integration |
---|---|---|
SharePoint Online | Piwik PRO Analytics Suite | APP package |
SharePoint 2019 | Piwik PRO Analytics Suite | APP and WSP package |
SharePoint 2016 | Piwik PRO Analytics Suite | APP and WSP package |
SharePoint 2013 | Piwik PRO Analytics Suite | APP and WSP package |
SharePoint 2013 | Piwik PRO Standalone | WSP package |
SharePoint 2010 | Piwik PRO Standalone | WSP package |
Turn SharePoint reports on
To turn SharePoint reports on in Analytics, follow these steps:
- Go to Menu > Administration.
- Select a website you want to work with.
- Navigate to Settings.
- In Integrations, toggle SharePoint reports.
- After doing that, you will see the SharePoint section in Analytics. Reports in this section will fill up with data as soon as you integrate with SharePoint and set up tracking.
Set up tracking for a site collection
If you need to set up tracking by yourself at some point, these guidelines will help you out. Before you begin, we’ll explain some basics.
A site collection is SharePoint’s name for something similar to a website. It’s a group of sites that have the same owner and share administrative settings. When you track SharePoint with Piwik PRO, you first switch on site collection tracking in SharePoint. The tracked site collection will then appear as a website in Piwik PRO. As the last step, you’ll need to import a container dedicated to SharePoint tracking to this website.
To turn tracking on for a site collection in SharePoint, follow these steps:
- Log in to SharePoint.
- Navigate to the site collection that you want to work with.
- Click on the settings wheel in the menu bar.
- Choose Piwik PRO settings.
- In Site collection settings, mark Enable tracking.
Note:
It may take up to 30 minutes for tracking to start off because SharePoint’s search crawl needs to notice changes in settings. Also you may need to empty a browser cache because it stores tracker settings for 1 hour, or you can wait for it to refresh. - To check if tracking for a site collection is active, look for User information under Piwik PRO Settings. This section will only appear if tracking has started.
- Also you can check the tracking status on SharePoint’s administration site: <your SharePoint URL>/sites/PiwikAdmin > Site contents > Piwik PRO site directory.
Note:
Active means that Piwik PRO tracks the site collection. - The tracked site collection will be automatically added as a new website to Piwik PRO.
Create a container for SharePoint tracking
In most cases, you’ll have a container for SharePoint tracking on your account. We set it up for you as a website called “Piwik PRO Container Snapshot Source” during the first integration with SharePoint. But it may happen that you can’t find it, and you’ll need to create it by yourself.
To create a container for SharePoint tracking, follow these steps:
- Contact us at suppor@piwik.pro to get the file with container settings.
- Log in to Piwik PRO.
- Go to Menu > Administration.
- Navigate to Websites & apps.
- Click Add new website or app.
- Enter the following details:
- Name: Piwik PRO Container Snapshot Source
- URLs: https://example
- Click OK.
- Go to Menu > Tag Manager.
- Navigate to Settings.
- In Import settings from file, click Add file.
- Upload the file you received from us.
- Click Publish.
Import a container for SharePoint tracking
For each site collection that you start tracking, you’ll need to import a container dedicated for SharePoint tracking.
To import a container for SharePoint tracking, follow these steps:
- Log in to Piwik PRO.
- Choose the website (a site collection) that you want to set up.
- Go to Menu > Tag Manager.
- Navigate to Settings.
- In Import settings from another website, choose Piwik PRO Container Snapshot Source.
- Click Import.
- Click Publish.
- Now tracking for your site collection is all set, and you can see reporting under Analytics > SharePoint.