How to Track Google Spreadsheet Views with Google Analytics

How to Track Google Spreadsheet Views with Google Analytics - Hallo NewsOfTech Maniac !!! News of Technology, In this article you can read by title How to Track Google Spreadsheet Views with Google Analytics, We are prepared this article very well to you, so you can read and retrieve information on it. Hopefully the contents of the post Article HOW TO, What we write can you understand. Okay, happy reading NewsOfTech Maniac.


Title : How to Track Google Spreadsheet Views with Google Analytics
link : How to Track Google Spreadsheet Views with Google Analytics


How to Track Google Spreadsheet Views with Google Analytics :

You have been using Google Analytics to track visitors (or page views) on your website but did you know that the same analytics service can also be used for tracking views inside Google Spreadsheets. You insert a little snippet of tracking code inside your spreadsheet and when someone opens the sheet, that visit will be recorded permanently in your Google Analytics account.


Google Analytics provides a JavaScript snippet that can be inserted into web templates for tracking visits. You cannot insert JavaScript inside the cells of a Google Spreadsheet but we can use the IMAGE function combined with some Apps Script to enable tracking inside spreadsheet. The visit is recorded as an �event� and not a �page view� and thus your spreadsheet opens will not artificially inflate your Google Analytics reports.

To get started, go to your Google Analytics dashboard and make a note of the Google Analytics tracking ID which is a string like UA-12345-67. This web tutorial explains how you can locate the ID inside your Analytics dashboard.

Now open any Google Spreadsheet that you wish to track and go to Tools, Script Editor and copy-paste the following code. This is a custom Google Spreadsheet function that will embed the 1�1 tracking GIF image in our spreadsheets.


Save the code, close the Apps Script editor window and return to the spreadsheet.

Click an empty cell and insert the following formula. The cell will be blank but it contains an embedded image. You may want to change the background color so it is easy to figure out which cell in the spreadsheet contains the tracking formula.


The GOOGLEANALYTICS() formula takes 3 parameters � the analytics ID, the spreadsheet name and the sheet name. This helps if you would like to separately track individual sheets inside a spreadsheet.

Now open the spreadsheet in a new browser window and go to Google Analytics, Real Time, Overview to test if the tracking is working. It may sometimes take a minute to record the visit. If you would like to see all the visits, go to Behavior � Events � Overview and click on the Google Spreadsheets category.


The tracking would work even if the user has enabled ad blocking and that�s because Google Spreadsheets, like Gmail, serves images through a proxy server. The downside is that you will never know the location of the visitor since all visits will be show up as United States (the location of Google servers).

Don�t forget to share this post with your friends !!!


That's an article How to Track Google Spreadsheet Views with Google Analytics

Fine for NewsOfTech Article How to Track Google Spreadsheet Views with Google Analytics This time, hopefully can benefit for you and any people all. Well, see you in other article from NewsOfTech postings.

Subscribe to receive free email updates:

AdBlock Detected!

Suka dengan blog ini? Silahkan matikan ad blocker browser anda.

Like this blog? Keep us running by whitelisting this blog in your ad blocker.

Thank you!

×