Skip to content
This repository was archived by the owner on May 21, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ To aggregate data other than tags, add a new method to `app/helpers/intercom_hel
By default, your Google Sheets document will be updated every week on Monday. To change how often or which day your Sheet is updated, edit `lib/tasks/scheduler.rake`. Note that you may also have to edit `app/jobs/sync_intercom_tag_data.rb` if you make your Sheet update more often than weekly, because the columns display "Week of <week>" for each update by default.
### Sheet Layout
The layout of the Google Sheets document can be customized by editing `app/jobs/sync_intercom_tag_data.rb`. This Sidekiq job uses the [google-drive-ruby gem](https://github.com/gimite/google-drive-ruby) to edit the Sheets document. Read [here](http://www.rubydoc.info/gems/google_drive/GoogleDrive/Worksheet) for the full documentation for the relevant part of that gem. **NOTE: If you have formulas or color-coding in ANY of your cells, DO NOT use the `delete_rows` or `insert_rows` methods. These will delete any formulas and mess up cell colors for your entire Sheet!** Color-coding of cells is not supported by this gem, so an alternate way to automatically color code your data in Sheets is via [conditional formatting](https://support.google.com/docs/answer/78413?co=GENIE.Platform%3DDesktop&hl=en).

## License
The MIT License - see License File