Skip to content

Instantly share code, notes, and snippets.

var ss = SpreadsheetApp.getActiveSpreadsheet()
function getSheets() {
var column_headers = []
var sheets = ss.getSheets();
for (i = 0; i < sheets.length; i++){
var sheet = sheets[i]
var name = sheet.getName()
if (name != 'setup'&& name != 'guide'){
var firstRow = 1;
<script>
var yourDomain = "insertyourdomainnamehere.com";
//scoring
var curRes = {{residential value}} || 0;
var curCom = {{commercial value}} || 0;
//set cookie expiration
//set now to current date
var now = new Date();
//set time using today's date from var now, get the full year associated with it ie: 2017
/**
* @license Angulartics
* (c) 2013 Luis Farzati http://luisfarzati.github.io/angulartics
* Google Tag Manager Plugin Contributed by http://github.com/danrowe49
* License: MIT
*/
(function(angular){
'use strict';