This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // get time stamp of query run | |
| function setTimeStamp(sheetName) { | |
| SpreadsheetApp.getActive().getSheetByName(sheetName) | |
| .getRange('C2').setValue(new Date()) | |
| } | |
| // gaGet data | |
| function gaGet(tableId, metrics, options) { | |
| // Apply standard options | |
| options = options || {}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _satellite.logger.log("CHECKING JQUERY", $, jQuery); | |
| $(document).ready(function() { | |
| _satellite.logger.log("INSTALLING HANDLER"); | |
| $(document).ajaxSuccess(function(event, xhr, settings) { | |
| _satellite.logger.log("FIRING HANDLER", event, xhr, settings); | |
| var alreadyRun = false; | |
| console.log("already run false"); | |
| if ((settings.url.indexOf("/loadResults.jsp") > -1) && (alreadyRun = false)); { | |
| _satellite.logger.log("HANDLER CAUGHT loadResults.jsp", event, xhr, settings); | |
| alreadyRun = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try { | |
| $(document).ready(function() { | |
| if (typeof zE != 'undefined') { | |
| zE(function() { | |
| $zopim(function() { | |
| $zopim.livechat.setOnConnected(function() { | |
| //console.log("zendesk chat connected"); | |
| //trigger(); | |
| _satellite.track('zendeskChatConnected'); | |
| dataLayer.push({ |
OlderNewer