fbpx

Install the Google Analytics code on all sites inside a SharePoint 2013 / Office 365 site collection

Home / Blog / Install the Google Analytics code on all sites inside a SharePoint 2013 / Office 365 site collection

Installation:

1-Open your SharePoint 2013 site collection or your public website

2-Rename the URL in the browser (Login as needed with a site collection administrator / your admin account):
Current URL: https://srkk.sharepoint.com/sites/ePortal/
Rename to: https://srkk.sharepoint.com/sites/ePortal/_catalogs/solutions

3-Select Upload Solution
b-m-1

4-Select Browse…
Step4
5-Click Open and OK to upload the solution.
Step5
6-Select Activate to install the solution.
Step6
7-Now, verify the activation was successfully.
Step7
8-Finally you have to add your Google Analytics code. For that you can open Site Settings.
Step8
9-There is a new menu entry point under Site Collection Administration which is called Google Analytics.
Step9
10-Paste the google analytics code into the red square and press OK.
Step10
Step10b
Step10b
11-Activate the SharePoint Server Publishing
Step11
12-It will reflect to your google analytics account as shown below
Step12