Google analytics reporting using api

411 views
361 views

Published on

Published in: Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
411
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Google analytics reporting using api

  1. 1. Creating Google Analytics Dashboard using Google Apps Magic ScriptToday I am going to show you, how to create Google Analytics reports usingGoogle 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 AnalyticsRequirements: • GA (Free version) • Spreedsheet (Free) • App Script & API Key (free) • Google Site (Free)Example:Dashboard showing visitsProcedure:Step 1: Go to Google Drive and create a New SpreadsheetStep 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
  2. 2. Step 4: After installing the Script go tools  script editor Resources use Google API (allow script to use google analytics)
  3. 3. Step 5: Under General Api’s section: Allow Google Analytics APIStep 6: Now we need a Google Analytics API Key. Click the Google API’sConsole link.Step 7: Create new project
  4. 4. Step 8: Under services enable analytics APIStep 10: Finally your API key will be found under API access tab.
  5. 5. Step 11: Go back to tools  script editor  Resource  use Google API’s andpaste the API key Step 12: Allow the script to run and in 2 mins you will see Google Analytics Tab in Google Spreadsheet.
  6. 6. Step 13: Go to Google analytics tab Find Profile ids and click your Google Account, that you wish to track. Step: 14Metrics and Dimensions complete list can be found here:https://developers.google.com/analytics/devguides/reporting/core/dimsmetsStep 15: Sheet-name, metrics, dimensions are required fields. Also select the date rangeaccordingly.
  7. 7. Step 16: Now go to Google Analytics Get dataStep 17: Dates will be populated in new tab within the spreadsheet as shown below.

×