Skip to content

Instantly share code, notes, and snippets.

View luctus's full-sized avatar
🤓

Gustavo Garcia luctus

🤓
View GitHub Profile
@luctus
luctus / AnalyticsMailer.gs
Last active August 29, 2015 13:58
Google Script to send a daily report email with Google Analytics data
function mailer() {
// This function is from the 'Google Analytics Report Automation (Magic)' script
// (search for it at the scripts gallery)
getData();
try
{
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheetByName('total');
var range = sheet.getRange("A13:E20");