knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet
TRANSCRIPT
![Page 1: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/1.jpg)
BI 104 – How to use Google Analytics with Power BI to get Usage statistics from an
Intranet
Knut Relbe-Moe, Product Evangelist & Partner Manager
![Page 2: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/2.jpg)
Office Server & Services MVP
Nintex vTE (Virtual Technical Evangelist)
SharePoint evangelist, mentor, speakerMigration ExpertEducator for GlasspaperMicrosoft Certified Trainer
Product Evangelist & Partner Manager ValoIntranet Box
Knut Relbe-Moe
https://linkedin.com/in/shareptkarm@shareptkarm
![Page 3: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/3.jpg)
Goal with today’s session
• Why do we want to measure
• Learn how to set up Google Analytics inside SharePoint
• Learn how to use Power BI Content Pack for Google Analytics
• TIPS and Tricks/Lessons learned
![Page 4: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/4.jpg)
Why Measure
• Intranet is often a source for frustration
• We want to know if people read ourinformation
• Pages are viewed on different devices and browser
• You can’t improve your Intranet if youdon’t know what is working
• Surveys are often not replied.
![Page 5: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/5.jpg)
Free dashboard for Google Analytics from Bananatag
![Page 6: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/6.jpg)
Power BI - Google Analytics Integration
![Page 7: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/7.jpg)
Power BI + Google Analytics = Custom reporting for your web data• Get deeper answers to data questions
• By amplifying your web data in Power BI, you can uncover hidden relationships or patterns that point to completely new opportunities. Ask different questions of your data to discover innovative marketing ideas and ways to attract new customers.
![Page 8: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/8.jpg)
Power BI + Google Analytics = Custom reporting for your web data• Explore your data in new ways
• Correlate your GA data with external data trends that are influencing the marketplace. You can connect marketing data to data from other parts of the company, or import data from external sources and evaluate your web performance against industry trends.
![Page 9: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/9.jpg)
Power BI + Google Analytics = Custom reporting for your web data• Expand your business insights
• Tracking site visitor behavior is only the beginning of measuring business and brand performance. Put Power BI to work on your Google Analytics data to help take business insights to a higher level.
![Page 10: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/10.jpg)
Step 1
![Page 11: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/11.jpg)
Get Google Analytics
![Page 12: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/12.jpg)
Step 2
![Page 13: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/13.jpg)
Add Google JS to SharePoint – Plain 365
• Tool created from Adrian Fiechter
• Allows to add this to SharePoint withoutchanging themasterpage.
![Page 14: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/14.jpg)
Step 3
![Page 15: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/15.jpg)
Google Analytics content pack for Power BI
![Page 16: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/16.jpg)
Google Analytics content pack for Power BI
![Page 17: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/17.jpg)
Google Analytics content pack for Power BI
![Page 18: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/18.jpg)
Google Analytics content pack for Power BI
![Page 19: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/19.jpg)
Google Analytics content pack for Power BI
![Page 20: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/20.jpg)
Step 4
21
![Page 21: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/21.jpg)
Take this to next level
![Page 22: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/22.jpg)
The steps here dependson your Intranet deployment
![Page 23: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/23.jpg)
Add Custom Dimensions to Google Analytics
https://allcloud.com/blog/optimizing-google-analytics-for-sharepoint-and-office-365/
![Page 24: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/24.jpg)
Add Custom Dimensions to Google Analytics
• To add these dimensions, first log into your account.
• Browse to the property specific to your SharePoint or Office 365 environment. If you don’t have a property already, create one.
• Once that’s in place, click “Admin”.
• Under the “Property” menu, click “Custom Definitions”, then select “Custom Dimensions”.
• Click ”New Custom Dimension”, then add each of the twelve dimensions below.
![Page 25: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/25.jpg)
Update SharePoint to Populate Dimensionsvar clientContext = new SP.ClientContext();
var site = clientContext.get_site();
var rootWeb = site.get_rootWeb();
var web = clientContext.get_web();
var user = web.get_currentUser();
clientContext.load(site);
clientContext.load(rootWeb);
clientContext.load(web);
clientContext.load(user);
var listId = _spPageContextInfo.pageListId;
var itemId = _spPageContextInfo.pageItemId;
var list = null;
var item = null;
if (listId != null){list = web.get_lists().getById(listId);
clientContext.load(list, 'Title', 'DefaultViewUrl');
if (itemId != null){
item = list.getItemById(itemId);
clientContext.load(item, 'Id', 'DisplayName');
}
}
![Page 26: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/26.jpg)
Update SharePoint to Populate Dimensions
ga('send', 'pageview', {
'dimension1': rootWeb.get_title(),
'dimension2': site.get_url(),
'dimension3': web.get_title(),
'dimension4': web.get_url(),
'dimension5': listId,
'dimension6': (list ? list.get_title() : ''),
'dimension7': (list ? list.get_defaultViewUrl() : ''),
'dimension8': itemId,
'dimension9': (item ? item.get_displayName() : ''),
'dimension10': (item ? (list.get_defaultViewUrl() + '?ID=' + item.get_id()) : ''),
'dimension11': user.get_title(),
'dimension12': userNameParts[userNameParts.length - 1]
});
![Page 27: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/27.jpg)
Lessons learned
![Page 28: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/28.jpg)
Secure Environments
• If the client is in a secure network where Internet access is blocked, or if the browser/OS blocks GA tracking code, you won't see the visit in Google Analytics.
![Page 29: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/29.jpg)
Document Tracking
• The only way Google Analytics is able to "see" the document is via a JavaScript tag. Documents that are accessed directly, like via a bookmark or a history link, won't appear in Google Analytics reports.
![Page 30: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/30.jpg)
Visitor Details
• Google Analytics reports don't show you individual visitor details, like a complete list of logins by date and time and pages/documents accessed for a specific user. You also won't see IP addresses, usernames, or direct file downloads.
![Page 31: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/31.jpg)
Data Security
• Does your company policy accept that data is sent to Google?
• Because: Google Analytics stores data in datacenters all over the world. When data is stored outside your network, it's no longer secure.
![Page 32: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/32.jpg)
That brings us to other options…
![Page 33: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/33.jpg)
Other Options
• Azure + Application insights
• Reports from Office 365
• Webtrends
• Delve
• Cardiolog Analytics
• Smart Analytics (BA Insights)
• Tryane SharePoint Analytics
![Page 34: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/34.jpg)
Surveys
Feedback Please!
Session Surveys via Event AppSelect “Schedule” -> Select Session -> Scroll to “Session Survey”
Download the App:Event URL https://crowd.cc/spfdc17Your App URL https://crowd.cc/s/zN7KOr search for “SharePoint Fest” in App Store
Learn from the Top SharePoint Experts
SharePoint FestDC 2017
WWW.SHAREPOINTFEST.COM
![Page 35: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/35.jpg)
Next steps
Sign up for Power BIhttps://powerbi.microsoft.com
Descriptionhttps://goo.gl/dbG2IC
![Page 36: Knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet](https://reader034.vdocuments.mx/reader034/viewer/2022042707/5a64f52b7f8b9abd5b8b4753/html5/thumbnails/36.jpg)
Questions?
@shareptkarmOffice Server & Services