8
Creating Google Analytics Dashboard using Google Apps Magic Script Today I am going to show you, how to create Google Analytics reports using Google Apps Magic script: Advantages: Manipulate Google Analytics Data daily, or may be hourly basis Create new visualizations Create customized dashboards Share with People, without providing access to Goggle Analytics Requirements: GA (Free version) Spreedsheet (Free) App Script & API Key (free) Google Site (Free) Example: Dashboard showing visits Procedure: Step 1: Go to Google Drive and create a New Spreadsheet Step 2: Inside the spreadsheet go to tool --> scrip gallery --> and search for “google analytics report magic script” Step 3: Authorize the Script and install it

Google analytics reporting using api

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Google analytics reporting using api

Creating Google Analytics Dashboard using Google Apps Magic Script Today I am going to show you, how to create Google Analytics reports using Google Apps Magic script: Advantages:

• Manipulate Google Analytics Data daily, or may be hourly basis • Create new visualizations • Create customized dashboards • Share with People, without providing access to Goggle Analytics

Requirements:

• GA (Free version) • Spreedsheet (Free) • App Script & API Key (free) • Google Site (Free)

Example: Dashboard showing visits

Procedure: Step 1: Go to Google Drive and create a New Spreadsheet Step 2: Inside the spreadsheet go to tool --> scrip gallery --> and search for “google analytics report magic script” Step 3: Authorize the Script and install it

Page 2: Google analytics reporting using api

Step 4: After installing the Script go tools script editor Resources use Google API (allow script to use google analytics)

Page 3: Google analytics reporting using api

Step 5: Under General Api’s section: Allow Google Analytics API

Step 6: Now we need a Google Analytics API Key. Click the Google API’s Console link. Step 7: Create new project

Page 4: Google analytics reporting using api

Step 8: Under services enable analytics API

Step 10: Finally your API key will be found under API access tab.

Page 5: Google analytics reporting using api

Step 11: Go back to tools script editor Resource use Google API’s and paste the API key

Step 12: Allow the script to run and in 2 mins you will see Google Analytics Tab in Google Spreadsheet.

Page 6: Google analytics reporting using api

Step 13: Go to Google analytics tab Find Profile ids and click your Google Account, that you wish to track.

Step: 14 Metrics and Dimensions complete list can be found here: https://developers.google.com/analytics/devguides/reporting/core/dimsmets Step 15: Sheet-name, metrics, dimensions are required fields. Also select the date range accordingly.

Page 7: Google analytics reporting using api

Step 16: Now go to Google Analytics Get data

Step 17: Dates will be populated in new tab within the spreadsheet as shown below.

Page 8: Google analytics reporting using api