Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Google Analytis Alerts Using Google Apps Scripts

10,802 views

Published on

In my timezone configuring daily alerts in Google Analytics is useless. We can use Google Apps Scripts to get daily or hourly alerts. Write your first google apps scripts.

title: Google Analytics Alerts using Google Apps Scripts
name: Jordi Rosell
Description: Enrich standard Google Analytics Alerts using Google Apps Scripts. Do your first google apps script.
Level: Intermediate
Type: Workshop
Focus: Technical
Language: English
Tags: alerts, scripts, automation

Published in: Data & Analytics

Google Analytis Alerts Using Google Apps Scripts

  1. 1. Google Analytics Alerts Using Google Apps Scripts Jordi Rosell Ecommerce Consultant and Digital Analyst #measurebcn @jrosell elnostreraco.com/blog
  2. 2. Reason we want alerts #measurebcn @jrosell elnostreraco.com/blog Correct bugs and improve “features” ASAP
  3. 3. We can set daily alerts in GA #measurebcn @jrosell elnostreraco.com/blog Before we start working, we want to recieve yesterday alerts
  4. 4. OMG #measurebcn @jrosell elnostreraco.com/blog For european users, yesterday data becomes the day before yesterday data
  5. 5. Recive an alert when needed #measurebcn @jrosell elnostreraco.com/blog We can extract to a google spreadsheet and compare hourly data using apps scripts
  6. 6. Your first Google Apps Script #measurebcn @jrosell elnostreraco.com/blog 404 using Google Analytics API
  7. 7. Your first Google Apps Script #measurebcn @jrosell elnostreraco.com/blog 404 using Google Analytics API 1. Make a copy http://j.mp/404-alert-script and configure it
  8. 8. Your first Google Apps Script #measurebcn @jrosell elnostreraco.com/blog 2. Enable Google Analytics API in your project 404 using Google Analytics API
  9. 9. Your first Google Apps Script #measurebcn @jrosell elnostreraco.com/blog 404 using Google Analytics API 3. Remove scripts you don't need or refractor it (avoid function name duplication) 4. First execution, Authorize & Debug
  10. 10. Your first Google Apps Script #measurebcn @jrosell elnostreraco.com/blog 404 using Google Analytics API 5. Remove scripts you don't need or refractor it (avoid function name duplication) 6. Trigger the function you want when you want
  11. 11. Your first Google Apps Script #measurebcn @jrosell elnostreraco.com/blog 404 using Google Analytics API Example of what we get if you open PDF or Spreadsheet
  12. 12. Feedback please :) Jordi Rosell Ecommerce Consultant and Digital Analyst #measurebcn @jrosell elnostreraco.com/blog Google Analytics en Apps Scripts https://developers.google.com/apps-script/advanced/analytics Example code http://j.mp/404-alert-script Pack de adwords scripts https://triggerbit.com/desarrollo-adwords-scripts.php Curso de adwords scripts http://bit.ly/curso-adwords-scripts-online

×