mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Add accounts count to Intercom
This commit is contained in:
@@ -82,6 +82,9 @@ if ENV["INTERCOM_APP_ID"].present? && ENV["INTERCOM_IDENTITY_VERIFICATION_KEY"].
|
||||
# :number_of_messages => Proc.new { |app| app.messages.count },
|
||||
# :is_interesting => :is_interesting?
|
||||
# }
|
||||
config.company.custom_data = {
|
||||
accounts_count: Proc.new { |family| family.accounts.count }
|
||||
}
|
||||
|
||||
# == Company Plan name
|
||||
# This is the name of the plan a company is currently paying (or not paying) for.
|
||||
|
||||
Reference in New Issue
Block a user