Google Analytics and Google Apps Script

Google Apps Script Patterns: Google Analytics in Google Add-ons and Apps Script projects

In this post I’ll show you some patterns you can use for using Google Analytics client side in HTMLService and server side with any Google Apps Script code you are running backend. As part of this I include GATrack, a Google Analytics tracking helper class for Google Apps Script

Google Apps Script Patterns: Writing rows of data to Google Sheets

In the previous post in the Google Apps Script Pattern series we looked at selectively updating rows of data in a Google Sheet. For this post we will look at a couple of patterns for inserting multiple rows of data into Google Sheets.

Google Apps Script Patterns: Conditionally updating rows of Google Sheet data by reading and writing data once

In the previous post in this Google Apps Script Patterns series we finished with an example of how you can read and use row data from a Google Sheet. In this post we are going to extend this pattern so that as well as reading the data we also update rows.

Google Apps Script Patterns: Using the destructuring assignment syntax and object arrays to process Google Sheet rows

In my last post I shared a Google Apps Script Pattern for getting a Google Sheet header row. In this post we are going to extend this to look at some patterns for processing rows of data from Google Sheets

Google Apps Script Patterns: Getting a Google Sheet header row

Often in Google Sheets you want to grab the header row, this might be in preparation to read/write data, to populate some UI, or something else. Here are some Google Apps Script patterns for doing this