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

Preview:

Citation preview

BI 104 – How to use Google Analytics with Power BI to get Usage statistics from an

Intranet

Knut Relbe-Moe, Product Evangelist & Partner Manager

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

knut@valointranet.com

https://linkedin.com/in/shareptkarm@shareptkarm

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

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.

Power BI - Google Analytics Integration

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.

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.

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.

Step 1

Get Google Analytics

Step 2

Add Google JS to SharePoint – Plain 365

• Tool created from Adrian Fiechter

• Allows to add this to SharePoint withoutchanging themasterpage.

Step 3

Google Analytics content pack for Power BI

Google Analytics content pack for Power BI

Google Analytics content pack for Power BI

Google Analytics content pack for Power BI

Google Analytics content pack for Power BI

Step 4

21

Take this to next level

The steps here dependson your Intranet deployment

Add Custom Dimensions to Google Analytics

https://allcloud.com/blog/optimizing-google-analytics-for-sharepoint-and-office-365/

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.

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');

}

}

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]

});

Lessons learned

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.

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.

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.

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.

That brings us to other options…

Other Options

• Azure + Application insights

• Reports from Office 365

• Webtrends

• Delve

• Cardiolog Analytics

• Smart Analytics (BA Insights)

• Tryane SharePoint Analytics

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

Next steps

Sign up for Power BIhttps://powerbi.microsoft.com

Descriptionhttps://goo.gl/dbG2IC

Questions?

@shareptkarmOffice Server & Services

Knut Relbe-Moe

Product Evangelist & Partner Manager, Valo Intranet in a box

knut@valointranet.com

Recommended