knut bi 104 how to use google analytics with power bi to get usage statistics from an intranet

37
BI 104 – How to use Google Analytics with Power BI to get Usage statistics from an Intranet Knut Relbe-Moe, Product Evangelist & Partner Manager

Upload: knut-relbe-moe-mvp-mct

Post on 22-Jan-2018

145 views

Category:

Presentations & Public Speaking


2 download

TRANSCRIPT

Page 1: Knut bi 104   how to use google analytics with power bi to get usage statistics from an intranet

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

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

[email protected]

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

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

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 6: Knut bi 104   how to use google analytics with power bi to get usage statistics from an intranet

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

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

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

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

Step 1

Page 11: Knut bi 104   how to use google analytics with power bi to get usage statistics from an intranet

Get Google Analytics

Page 12: Knut bi 104   how to use google analytics with power bi to get usage statistics from an intranet

Step 2

Page 13: Knut bi 104   how to use google analytics with power bi to get usage statistics from an intranet

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

Step 3

Page 15: Knut bi 104   how to use google analytics with power bi to get usage statistics from an intranet

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

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

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

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

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

Step 4

21

Page 21: Knut bi 104   how to use google analytics with power bi to get usage statistics from an intranet

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

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

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

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

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

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

Lessons learned

Page 28: Knut bi 104   how to use google analytics with power bi to get usage statistics from an intranet

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

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

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

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

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

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

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

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

Questions?

@shareptkarmOffice Server & Services

Page 37: Knut bi 104   how to use google analytics with power bi to get usage statistics from an intranet

Knut Relbe-Moe

Product Evangelist & Partner Manager, Valo Intranet in a box

[email protected]